/* Modern Form Styling */
:root {
    --primary-color: #4e73df;
    --primary-hover: #2e59d9;
    --secondary-color: #6c757d;
    --light-gray: #f8f9fc;
    --border-color: #e3e6f0;
    --success-color: #1cc88a;
    --warning-color: #f6c23e;
    --danger-color: #e74a3b;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Base Styles */
body {
    font-family: var(--font-sans);
    background-color: #f8f9fc;
    color: #5a5c69;
}

/* Header */
.bg-primary {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

/* Steps */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.step-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: #eaecf4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    color: #b7b9cc;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #b7b9cc;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step.active .step-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0.5rem 1rem rgba(78, 115, 223, 0.3);
}

.step.active .step-label {
    color: var(--primary-color);
    font-weight: 700;
}

.step-connector {
    flex: 1;
    height: 2px;
    background-color: #eaecf4;
    margin: 0 0.5rem;
    position: relative;
    top: -1.5rem;
}

.step-connector.active {
    background-color: var(--primary-color);
}

/* Form Elements */
.form-control, .form-select {
    border: 1px solid #d1d3e2;
    border-radius: 0.35rem;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.form-control:focus, .form-select:focus {
    border-color: #bac8f3;
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #5a5c69;
}

/* Buttons */
.btn {
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 0.35rem;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

/* Card */
.card {
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

/* Icon Circle */
.icon-circle {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .steps-container {
        padding: 1rem 0;
    }
    
    .step-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
    
    .step-label {
        font-size: 0.65rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Form Group */
.form-group {
    margin-bottom: 1.5rem;
}

/* Text Helpers */
.text-muted {
    color: #858796 !important;
}

/* Shadow Utilities */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-content {
    animation: fadeIn 0.3s ease-out forwards;
}
