/* Popup Form Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 20px 0;
}

.popup-content {
    background-color: #1a2838;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    padding: 20px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--brand-default);
    max-height: 90vh;
    overflow-y: auto;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: var(--brand-default);
}

.popup-header {
    margin-bottom: 15px;
    text-align: center;
}

.popup-header h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.popup-header p {
    color: #fff;
    font-size: 1rem;
    opacity: 0.8;
}

.popup-form .form-group {
    margin-bottom: 12px;
}

.popup-form label {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 500;
}

.popup-form input,
.popup-form select,
.popup-form textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 15px;
}

.popup-form input::placeholder,
.popup-form select::placeholder,
.popup-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.popup-form input:focus,
.popup-form select:focus,
.popup-form textarea:focus {
    outline: none;
    border-color: var(--brand-default);
    box-shadow: 0 0 5px rgba(255, 107, 0, 0.5);
}

.popup-form button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: var(--brand-gradient);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.form-note {
    margin-top: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        padding: 15px;
        max-height: 85vh;
    }
    
    .popup-header h2 {
        font-size: 1.4rem;
    }
    
    .popup-form label {
        margin-bottom: 3px;
        font-size: 14px;
    }
    
    .popup-form input,
    .popup-form select {
        padding: 7px;
        font-size: 14px;
    }
}
