/* Navbar styling */
.navbar {
    background-color: #1e3a8a !important;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand img {
    height: 40px;
    border-radius: 4px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #0ea5e9 !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}

/* Step indicator styling */
.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #dee2e6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
    font-weight: bold;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step.active {
    background: #1e3a8a;
}

.step.completed {
    background: #0ea5e9;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 40px;
    height: 2px;
    background: #dee2e6;
    transform: translateY(-50%);
    z-index: 1;
}

.step.completed:not(:last-child)::after {
    background: #0ea5e9;
}

/* Form sections */
.form-section {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Account type card - FIXED RADIO ALIGNMENT */
.account-type-card {
    position: relative;
    padding: 1.5rem !important;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    height: 100%;
}

.account-type-card:hover {
    border-color: #0ea5e9;
    transform: translateY(-5px);
}

.account-type-card .form-check {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin: 0;
}

.account-type-card .form-check-input {
    position: static;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.25rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.account-type-card .form-check-label {
    flex: 1;
}

/* Form validation */
.invalid-feedback {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

/* Footer styling */
.footer {
    background-color: #343a40;
    padding: 2rem 0;
}

/* Button styling */
.btn-primary {
    background-color: #1e3a8a;
    border-color: #1e3a8a;
}

.btn-primary:hover {
    background-color: #0ea5e9;
    border-color: #0ea5e9;
}

.btn-success {
    background-color: #10b981;
    border-color: #10b981;
}

.btn-success:hover {
    background-color: #059669;
    border-color: #059669;
}

/* Card styling */
.card {
    border-radius: 10px;
    overflow: hidden;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-header {
    background-color: #1e3a8a;
    border-bottom: 1px solid rgba(0,0,0,0.125);
}

/* Error message styling */
.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Password strength bar */
.progress {
    height: 5px;
    margin-top: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .step-indicator {
        margin-bottom: 1.5rem;
    }

    .step {
        width: 25px;
        height: 25px;
        margin: 0 10px;
        font-size: 0.9rem;
    }

    .step:not(:last-child)::after {
        width: 20px;
    }

    .account-type-card .form-check-input {
        width: 1.25rem;
        height: 1.25rem;
    }

    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .col-md-4 {
        margin-bottom: 1rem;
    }

    .step {
        width: 20px;
        height: 20px;
        margin: 0 5px;
        font-size: 0.8rem;
    }

    .step:not(:last-child)::after {
        width: 10px;
    }
    
    .account-type-card .form-check-input {
        margin-right: 0.75rem;
    }
}
