/* Insurance Acumen Premium Subscription Form Styles */
.ias-subscription-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.ias-form-wrapper {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 50px;
    border: 1px solid #e0e0e0;
}

.ias-header {
    text-align: center;
    margin-bottom: 40px;
}

.ias-header h2 {
    color: #1d1d1f;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.ias-header p {
    color: #86868b;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
}

.ias-premium-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.ias-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.ias-form-group {
    display: flex;
    flex-direction: column;
}

.ias-form-group label {
    color: #1d1d1f;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.ias-input, .ias-textarea {
    padding: 14px 16px;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #1d1d1f;
}

.ias-input:focus, .ias-textarea:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.ias-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.ias-form-group small {
    color: #86868b;
    font-size: 13px;
    margin-top: 6px;
    font-weight: 400;
}

/* File Upload Styles */
.ias-file-upload {
    position: relative;
}

.ias-file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.ias-file-dropzone {
    border: 2px dashed #d2d2d7;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    background: #fbfbfd;
}

.ias-file-dropzone:hover {
    border-color: #0071e3;
    background: #f8f9ff;
}

.ias-file-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}

.ias-file-text {
    color: #1d1d1f;
    font-size: 16px;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

/* Submit Button */
.ias-form-actions {
    margin-top: 20px;
}

.ias-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #0071e3 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 18px 32px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ias-submit-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004499 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 113, 227, 0.3);
}

.ias-submit-btn:active {
    transform: translateY(0);
}

.ias-btn-loader {
    display: none;
}

.ias-submit-btn.loading .ias-btn-text {
    display: none;
}

.ias-submit-btn.loading .ias-btn-loader {
    display: inline;
}

/* Form Notice */
.ias-form-notice {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 20px;
}

.ias-form-notice p {
    color: #86868b;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Messages */
.ias-message {
    padding: 16px 20px;
    border-radius: 12px;
    margin-top: 20px;
    font-weight: 500;
}

.ias-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ias-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ias-form-wrapper {
        padding: 30px 20px;
    }
    
    .ias-header h2 {
        font-size: 28px;
    }
    
    .ias-form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ias-subscription-container {
        padding: 20px 15px;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.ias-form-wrapper {
    animation: fadeIn 0.6s ease-out;
}
/* Add to existing CSS */
.ias-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: ias-spin 1s ease-in-out infinite;
    margin-right: 8px;
}

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

.ias-input.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

.ias-debug-info {
    background: #f8f9fa !important;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    font-size: 12px;
    color: #6c757d;
}

.ias-debug-info code {
    background: #e9ecef;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 11px;
}