﻿.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.4rem 3.2rem 2rem;
    border-radius: 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: 0 1rem 0.8rem 1rem;
        padding-bottom: 0.8rem;

        border-bottom: 2px dotted gray;
    }

    .popup-dialog p {
        white-space: pre-wrap;
    }

.popup-button-row {
    display: flex;
    justify-content: center; /* center them horizontally */
    gap: 1rem; /* space between buttons */
    margin-top: 1rem;
}
.popup-button-row .button{
    width:6rem;
}

.bottom-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2b2b2b;
    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;
    }
}
