/* Popup Form Styles */
.popup-overlay {
    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: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.popup-form {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-form {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #292929;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.popup-close:hover {
    background: #f0f0f0;
}

.popup-title {
    font-size: 28px;
    font-weight: 600;
    color: #292929;
    margin-bottom: 10px;
    text-align: center;
}

.popup-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #292929;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #0F7F8B;
}

.form-input.error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 30px;
}

.checkbox-input {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: #0F7F8B;
}

.checkbox-label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-label a {
    color: #0F7F8B;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.submit-button {
    width: 100%;
    background: #0F7F8B;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-button:hover {
    background: #0a5d66;
}

.submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mobile Responsive */
@media screen and (max-width: 600px) {
    .popup-form {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .popup-title {
        font-size: 24px;
    }
    
    .popup-subtitle {
        font-size: 14px;
    }
    
    .form-input {
        padding: 12px;
        font-size: 16px;
    }
    
    .submit-button {
        padding: 12px;
        font-size: 14px;
    }
}

@media screen and (max-width: 460px) {
    .popup-form {
        padding: 25px 15px;
    }
    
    .popup-title {
        font-size: 22px;
    }
    
    .checkbox-label {
        font-size: 13px;
    }
} 