/* Popup container */
.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation-duration: 0.3s;
    animation-fill-mode: forwards;
}

/* Popup content */
.popup {
    background: #003D99;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    color: white;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    animation: fade-in 0.3s;
}

.popup h2 {
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
    font-size: 25px;
    color: white;
}

.popup form input,
.popup form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.popup form textarea {
    height: 80px;
    resize: none;
}

.popup form button {
    width: 100%;
    padding: 10px;
    background-color: #0056cc;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.popup form button:hover {
    background-color: #003D99;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* Animation for fade-in and fade-out */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fade-out {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    .popup {
        width: 90%;
        font-size: 14px;
    }

    .popup h2 {
        font-size: 16px;
    }

    .popup form input,
    .popup form textarea,
    .popup form button {
        font-size: 14px;
    }
}
