﻿.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
    z-index: 1000;
}

.popup-dialog {
    background: #222220 url('../img/main_box_top.png') repeat-x top center;
    padding: 2.5rem 3.2rem 2rem;
    border-radius: 4px 4px 10px 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    max-width: 600px;
    text-align: center;
    animation: slideIn 0.25s ease-out;
    color: #ffffff;
}

    .popup-dialog h3 {
        margin-top: 0;
        margin-bottom: 0.5rem;
    }

.popup-button-row {
    display: flex;
    justify-content: center; /* center them horizontally */
    gap: 1rem; /* space between buttons */
    margin-top: 1rem;
}

.modal-btn {
    margin-top: 1rem;
    background-color: #b30000;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s ease;
}

    .modal-btn:hover {
        background-color: #8c0000;
    }


.bottom-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2b2b2b url('../img/main_box_top.png') repeat-x top center;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.0rem 1rem 0.75rem 1rem;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.2);
    font-size: 0.9rem;
    z-index: 2000;
    animation: slideUp 0.3s ease-out;
}

.banner-text {
    max-width: 80%;
}

.bottom-banner .buttonFrame {
    width: 200px;
    margin: 0;
}

    .banner-btn:hover {
        background: #3c8d41;
    }

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-15px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}