/* Popup Styles */
#futuro-ars-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#futuro-ars-popup-overlay.futuro-ars-popup-hidden {
    opacity: 0;
    visibility: hidden;
}

#futuro-ars-popup-overlay.futuro-ars-popup-visible {
    opacity: 1;
    visibility: visible;
}

.futuro-ars-popup-container {
    background: #ffffff;
    width: 90%;
    max-width: 420px;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#futuro-ars-popup-overlay.futuro-ars-popup-visible .futuro-ars-popup-container {
    transform: translateY(0) scale(1);
}

#futuro-ars-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f3f4f6;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#futuro-ars-popup-close:hover {
    color: #1f2937;
    background: #e5e7eb;
    transform: rotate(90deg);
}

.futuro-ars-popup-header {
    text-align: center;
    margin-bottom: 25px;
}

.futuro-ars-popup-header h2 {
    color: #0066B3;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.futuro-ars-popup-header p {
    color: #4b5563;
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}

.futuro-ars-form-group {
    margin-bottom: 18px;
    text-align: left;
}

.futuro-ars-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
}

.futuro-ars-form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    color: #1f2937;
    transition: all 0.2s ease;
    box-sizing: border-box;
    background-color: #f9fafb;
}

.futuro-ars-form-group input:focus {
    outline: none;
    border-color: #0066B3;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 102, 179, 0.1);
}

.futuro-ars-form-group input::placeholder {
    color: #9ca3af;
}

#fap-submit-btn {
    width: 100%;
    padding: 16px;
    background-color: #0066B3;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 102, 179, 0.2), 0 2px 4px -1px rgba(0, 102, 179, 0.1);
}

#fap-submit-btn:hover {
    background-color: #005494;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 102, 179, 0.25), 0 4px 6px -2px rgba(0, 102, 179, 0.15);
}

#fap-submit-btn:active {
    transform: translateY(0);
}

#fap-submit-btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
