#importivity-native-form {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.form-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 177, 226, 0.15);
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 4px;
    background: #f0f0f0;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00B1E2, #20BDE8);
    transition: width 0.5s ease;
    width: 25%;
}

.form-header {
    padding: 40px 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9ff, #fff);
}

.step-indicator {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.form-subtitle {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.form-content {
    padding: 0 40px 40px;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fafbfc;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00B1E2;
    box-shadow: 0 0 0 3px rgba(0, 177, 226, 0.1);
    background: white;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input[required] {
    border-left: 4px solid #00B1E2;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.option-cards {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.option-card {
    border: 2px solid #e1e5e9;
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafbfc;
    position: relative;
}

.option-card:hover {
    border-color: #00B1E2;
    background: white;
    box-shadow: 0 8px 25px rgba(0, 177, 226, 0.15);
}

.option-card.selected {
    border-color: #00B1E2;
    background: linear-gradient(135deg, #f0f9ff, #fff);
    box-shadow: 0 8px 25px rgba(0, 177, 226, 0.2);
}

.option-card.selected::after {
    content: '✓';
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    background: #00B1E2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.option-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.option-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.option-description {
    color: #666;
    line-height: 1.5;
    font-size: 14px;
}

.button-group {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, #00B1E2, #20BDE8);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 177, 226, 0.3);
}

.btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e1e5e9;
}

.btn-secondary:hover {
    background: white;
    border-color: #00B1E2;
    color: #00B1E2;
}

.success-screen {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 64px;
    color: #22c55e;
    margin-bottom: 20px;
}

.success-screen h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.success-screen p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 24px;
}

.backup-contact {
    background: #f8f9ff;
    border: 1px solid #e1e8ff;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    text-align: left;
}

.backup-contact h4 {
    color: #00B1E2;
    margin-bottom: 8px;
}

.backup-contact p {
    color: #666;
    font-size: 14px;
    margin-bottom: 4px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #importivity-native-form {
        padding: 10px;
    }
    
    .form-header, .form-content {
        padding: 30px 24px;
    }
    
    .option-cards {
        gap: 12px;
    }
    
    .option-card {
        padding: 20px;
    }
    
    .button-group {
        flex-direction: column;
    }
}

/* Save indicator */
#save-indicator {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}