:root {
    --primary-color: #0056D2;      /* InPhase Blue */
    --secondary-color: #3BA3FF;    /* Light Blue */
    --accent-color: #FF6A00;       /* InPhase Orange */
    --success-color: #38ef7d;
    --danger-color: #FF6A00;
    --warning-color: #FF9F00;
    --info-color: #3BA3FF;

    --gradient-primary: linear-gradient(135deg,#0056D2,#3BA3FF);
    --card-bg: #ffffff;
    --text-dark: #003366;
    --text-muted: #6c757d;
    --border-light: #e9ecef;
    --sidebar-bg: #ffffff;
    --sidebar-hover: rgba(0,86,210,0.12);
    --sidebar-active: rgba(0,86,210,0.18);
}


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header Section */
.header-section {
    background: var(--gradient-primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

/* Section Title */
.section-title {
    color: #003366;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.form-label.required::after {
    content: " *";
    color: var(--danger-color);
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0;
}

.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.progress-step::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -50%;
    right: 50%;
    height: 3px;
    background: #dee2e6;
    z-index: -1;
}

.progress-step:first-child::before {
    display: none;
}

.progress-step.active .step-number {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 86, 210, 0.4);
}

.progress-step.active ~ .progress-step .step-number {
    background: #e9ecef;
    color: #6c757d;
}

.progress-step.active ~ .progress-step::before {
    background: #dee2e6;
}

.progress-step.active::before {
    background: var(--gradient-primary);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}

.progress-step.active .step-label {
    color: #003366;
    font-weight: 600;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Address Blocks */
.address-block, 
.contact-block {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

/* Input Focus */
.form-control:focus, 
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 210, 0.25);
}

/* Declaration Box */
.declaration-box {
    border: 2px dashed var(--danger-color);
}

/* Buttons */
.btn {
    padding: 0.625rem 1.5rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 86, 210, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    border: none;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 239, 125, 0.4);
}

/* Alerts */
.alert {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .progress-steps {
        flex-wrap: wrap;
    }
    
    .progress-step {
        flex-basis: 33.33%;
        margin-bottom: 1rem;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
}

