/* Application Popup Styles */
.app-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.app-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.app-popup-content {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(50px);
    transition: all 0.5s ease;
    border-top: 5px solid var(--gold);
}

.app-popup-overlay.active .app-popup-content {
    transform: translateY(0);
}

.app-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s ease;
}

.app-popup-close:hover {
    color: var(--gold);
}

.app-popup-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.app-popup-content p {
    color: #444;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.app-popup-deadline {
    display: block;
    background-color: #fff9e6;
    padding: 0.75rem;
    border-radius: 4px;
    border: 1px dashed var(--gold);
    color: #b38f00;
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.app-popup-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1.1rem;
}

.app-popup-btn:hover {
    background-color: var(--gold);
    color: var(--primary-color);
    transform: scale(1.05);
}

@media (max-width: 480px) {
    .app-popup-content {
        padding: 2rem;
    }
    .app-popup-content h2 {
        font-size: 1.5rem;
    }
}
