﻿.announcement-popup {
    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;
    z-index: 100;
}

.popup-content {
    position: relative;
    width: 640px;
    height: 450px;
    background: rgba(255, 255, 255, 1);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 1);
    border: 2px solid #00447c;
    font-size: 18px;
    color: #00447c;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    padding: 0;
    transition: background 0.3s;
    font-weight: bold;
}

.popup-title {
    font-family: 'Lato', sans-serif;
    color: #00447c;
    font-weight: bold;
    font-size: 58px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.popup-subtitle {
    font-family: 'Lato', sans-serif;
    color: #00447c;
    font-size: 30px;
    margin-bottom: 5px;
}

.popup-logo {
    max-width: 80%;
    height: auto;
    margin: 5px 0 5px 0;
}

.popup-btn {
    background: #00447c;
    color: white;
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.popup-close:hover {
    color: #ec4424;
}

.popup-btn:hover {
    background: #2a6ba8;
}

/* Mobile responsive styles for announcement popup */
@media (max-width: 768px) {
    .popup-content {
        width: 90%;
        max-width: 620px;
        height: auto;
        min-height: 350px;
        padding: 40px 20px 30px;
        box-sizing: border-box;
    }

    .popup-title {
        font-size: 36px;
        margin-bottom: 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .popup-subtitle {
        font-size: 22px;
        margin-bottom: 5px;
    }

    .popup-logo {
        max-width: 70%;
        margin: 10px 0;
    }

    .popup-btn {
        padding: 10px 30px;
        font-size: 14px;
    }

    .popup-close {
        top: 10px;
        right: 10px;
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .popup-content {
        width: 95%;
        padding: 35px 15px 25px;
        min-height: 300px;
    }

    .popup-title {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .popup-subtitle {
        font-size: 18px;
    }

    .popup-logo {
        max-width: 60%;
    }

    .popup-btn {
        padding: 8px 25px;
        font-size: 13px;
    }
}