/* .sidebar-nav{
    background-color:  #290A50;
}

.sidebar-nav > ul > li.active > a {
    color: #fff;
    border-color: none;
}

.sidebar-nav > ul > li > a{
    color: #fff;
    border: none;
}

.sidebar-nav > ul > li.active  {
    background-color: #FF6836;
    border-radius: 6px;
}

.sidebar-nav > ul > li.active > a i {
    color: #fff;
}

.sidebar-nav > ul > li > a i {
    color: #fff;
}

.sidebar-nav ul li a {
    color: #fff;
    padding: 12px 35px 10px 15px;
    display: block;
    font-size: 14px;
    font-weight: 300;
}

.sidebar-nav > ul > li > a span {
    font-weight : 400;
    font-size: 16px;
    line-height: 20px;
}

.settings .navbar-header {
    background-color: #2d4356;
    font-size: 18px;
    padding-left: 20px;
    width: 300px;
    border-bottom: solid 2px;
    height: 73px;
    border-color: #20aee3;
} */
.sidebar-nav > ul > li {
    margin-left: 0px !important;
}
.top-search-bar .top-search-container input {
    /* height: 100%; */
}
.topbar .navbar-light .navbar-nav .nav-item > a.nav-link {
    display: flex;
    height: 100%;
    align-items: center;
}
.leads-notify {
    padding-top: -5px !important;
}
.top-search-bar {
    padding-top: 2px !important;
}
.fix-sidebar .logo-large {
    max-height: 100% !important;
}
.notify {
    top: -5px !important;
}
.navbar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 100%;
    height: 72px;
}
.navbar-header {
    width: 220px;
}
.left-sidebar {
    width: 220px;
}
.mini-sidebar .top-navbar .navbar-header, .mini-sidebar .navbar-header, .mini-sidebar .left-sidebar {
    width: 75px;
}
.container-fluid {
    padding: 25px 25px 25px 25px;
}

/* ============================================
   Client Onboarding Styles - Enhanced
   ============================================ */

/* Greeting Section */
.onboarding-greeting h4 {
    font-size: 16px;
    font-weight: 400;
    color: #67757c;
    margin-bottom: 5px;
}

.onboarding-greeting h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
}

.onboarding-greeting p {
    font-size: 14px;
    margin-bottom: 0;
}

/* Progress Bar */
.onboarding-progress-wrapper {
    margin-bottom: 25px;
    padding: 0 15px;
}

.onboarding-progress-bar {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.onboarding-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #20aee3 0%, #1a8fb8 100%);
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.onboarding-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.onboarding-progress-text {
    margin-top: 8px;
    font-size: 13px;
    color: #67757c;
    text-align: center;
    font-weight: 500;
}

.onboarding-progress-text .current-step {
    color: #20aee3;
    font-weight: 600;
}

/* Enhanced Tab Navigation */
.onboarding-tabs {
    position: relative;
}

.onboarding-nav-tabs {
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 #f7fafc;
}

.onboarding-nav-tabs::-webkit-scrollbar {
    height: 6px;
}

.onboarding-nav-tabs::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 3px;
}

.onboarding-nav-tabs::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

.onboarding-nav-tabs::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

.onboarding-nav-tabs .nav-item {
    margin-bottom: -2px;
    flex-shrink: 0;
}

.onboarding-nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #67757c;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    background-color: transparent;
    min-height: 80px;
    cursor: pointer;
}

.onboarding-nav-tabs .nav-link:focus {
    outline: 2px solid #20aee3;
    outline-offset: -2px;
    z-index: 10;
}

.onboarding-nav-tabs .nav-link:focus:not(:focus-visible) {
    outline: none;
}

/* Tab Step Number */
.tab-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #67757c;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tab Icon */
.tab-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tab-icon-wrapper i {
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tab Content */
.tab-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.tab-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab-subtitle {
    font-size: 12px;
    font-weight: 400;
    color: #a8b3bd;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

/* Tab Status Icon */
.tab-status-icon {
    display: none;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #28a745;
    color: white;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-status-icon i {
    font-size: 12px;
}

/* Hover State */
.onboarding-nav-tabs .nav-link:hover {
    color: #20aee3;
    border-bottom-color: rgba(32, 174, 227, 0.3);
    background-color: rgba(32, 174, 227, 0.03);
}

.onboarding-nav-tabs .nav-link:hover .tab-step-number {
    background-color: rgba(32, 174, 227, 0.15);
    color: #20aee3;
    transform: scale(1.05);
}

.onboarding-nav-tabs .nav-link:hover .tab-subtitle {
    color: #67757c;
}

.onboarding-nav-tabs .nav-link:hover .tab-icon-wrapper i {
    transform: scale(1.1);
}

/* Active State */
.onboarding-nav-tabs .nav-link.active {
    color: #20aee3;
    border-bottom-color: #20aee3;
    background-color: rgba(32, 174, 227, 0.05);
}

.onboarding-nav-tabs .nav-link.active .tab-step-number {
    background: linear-gradient(135deg, #20aee3 0%, #1a8fb8 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(32, 174, 227, 0.3);
}

.onboarding-nav-tabs .nav-link.active .tab-subtitle {
    color: #20aee3;
}

.onboarding-nav-tabs .nav-link.active .tab-icon-wrapper i {
    color: #20aee3;
}

/* Completed State */
.onboarding-nav-tabs .nav-link.completed .tab-status-icon {
    display: flex;
    opacity: 1;
    transform: scale(1);
}

.onboarding-nav-tabs .nav-link.completed .tab-step-number {
    background-color: #28a745;
    color: white;
}

/* Disabled State */
.onboarding-nav-tabs .nav-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================================
   Responsive Design - Mobile First
   ============================================ */

/* Mobile Devices (< 576px) */
@media (max-width: 575.98px) {
    .onboarding-progress-wrapper {
        padding: 0 10px;
    }

    .onboarding-nav-tabs {
        border-bottom: none;
        flex-direction: column;
        overflow-x: visible;
    }

    .onboarding-nav-tabs .nav-item {
        width: 100%;
        margin-bottom: 0;
    }

    .onboarding-nav-tabs .nav-link {
        border-bottom: none;
        border-left: 3px solid transparent;
        padding: 12px 15px;
        min-height: auto;
        border-radius: 0;
    }

    .onboarding-nav-tabs .nav-link.active {
        border-left-color: #20aee3;
        border-bottom-color: transparent;
    }

    .onboarding-nav-tabs .nav-link:hover {
        border-left-color: rgba(32, 174, 227, 0.3);
        border-bottom-color: transparent;
    }

    .tab-step-number {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .tab-icon-wrapper {
        display: none;
    }

    .tab-title {
        font-size: 13px;
    }

    .tab-subtitle {
        font-size: 11px;
    }

    .tab-status-icon {
        width: 20px;
        height: 20px;
    }

    .tab-status-icon i {
        font-size: 10px;
    }
}

/* Tablet Devices (576px - 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .onboarding-nav-tabs .nav-link {
        padding: 14px 16px;
        gap: 10px;
    }

    .tab-step-number {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .tab-icon-wrapper i {
        font-size: 18px;
    }

    .tab-title {
        font-size: 13px;
    }

    .tab-subtitle {
        display: none;
    }
}

/* Small Desktop (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .onboarding-nav-tabs .nav-link {
        padding: 15px 18px;
        gap: 10px;
    }

    .tab-subtitle {
        font-size: 11px;
    }
}

/* Large Desktop (> 1200px) */
@media (min-width: 1200px) {
    .onboarding-nav-tabs .nav-link {
        padding: 18px 24px;
        gap: 14px;
    }

    .tab-step-number {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .tab-icon-wrapper i {
        font-size: 22px;
    }

    .tab-title {
        font-size: 15px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .onboarding-nav-tabs .nav-link {
        min-height: 60px;
        padding: 14px 16px;
    }

    .onboarding-nav-tabs .nav-link:active {
        background-color: rgba(32, 174, 227, 0.1);
    }

    .tab-step-number {
        width: 36px;
        height: 36px;
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    .onboarding-nav-tabs .nav-link,
    .tab-step-number,
    .tab-icon-wrapper i,
    .tab-subtitle,
    .tab-status-icon,
    .onboarding-progress-fill {
        transition: none;
    }

    .onboarding-progress-fill::after {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .onboarding-nav-tabs .nav-link {
        border: 1px solid currentColor;
    }

    .onboarding-nav-tabs .nav-link.active {
        border-width: 2px;
    }

    .tab-step-number {
        border: 2px solid currentColor;
    }
}

/* Dark Mode Support (if needed) */
@media (prefers-color-scheme: dark) {
    .onboarding-progress-bar {
        background-color: #2d3748;
    }

    .onboarding-nav-tabs {
        border-bottom-color: #4a5568;
    }

    .onboarding-nav-tabs .nav-link {
        color: #cbd5e0;
    }

    .onboarding-nav-tabs .nav-link:hover {
        background-color: rgba(32, 174, 227, 0.1);
    }

    .tab-step-number {
        background-color: #4a5568;
        color: #cbd5e0;
    }

    .tab-subtitle {
        color: #718096;
    }
}

/* ============================================
   Form Elements & Content
   ============================================ */

.client-onboarding .form-group label.required:after {
    content: "*";
    color: #f62d51;
    margin-left: 3px;
}

/* Form Validation Styles */
.client-onboarding .form-control.is-invalid {
    border-color: #f62d51;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23f62d51' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23f62d51' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.client-onboarding .form-control.is-invalid:focus {
    border-color: #f62d51;
    box-shadow: 0 0 0 0.2rem rgba(246, 45, 81, 0.25);
}

.client-onboarding .form-control.is-valid {
    border-color: #28a745;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.client-onboarding .form-control.is-valid:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.client-onboarding .invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #f62d51;
}

.client-onboarding .form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

.client-onboarding .form-group.focused {
    position: relative;
}

.client-onboarding .form-group.focused label {
    color: #20aee3;
    transition: color 0.2s ease;
}

.client-onboarding .alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
    padding: 12px 20px;
    border-radius: 4px;
}

#save-continue-button {
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 500;
}

/* Practice Onboarding Phases Styles */
/* Only show phase pills within the Practice Onboarding tab */
#tab-special-instructions .phase-pills,
#tab-franchise-practice .phase-pills,
#tab-onboarding-team .phase-pills,
#tab-scope-work .phase-pills {
    display: none !important;
}

.phase-pills {
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 0;
}

.phase-pills .nav-item {
    margin-bottom: -2px;
}

.phase-pills .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #67757c;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 0;
    background-color: transparent;
    transition: all 0.3s ease;
}

.phase-pills .nav-link i {
    margin-right: 8px;
    font-size: 16px;
    vertical-align: middle;
}

.phase-pills .nav-link:hover {
    color: #20aee3;
    border-bottom-color: #20aee3;
    background-color: transparent;
}

.phase-pills .nav-link.active {
    color: #20aee3;
    border-bottom-color: #20aee3;
    background-color: transparent;
}

.client-onboarding .card {
    border: 1px solid #e9ecef;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.client-onboarding .card-body {
    padding: 25px;
}

.client-onboarding .alert-success {
    margin-bottom: 20px;
}

.client-onboarding .select2-basic {
    width: 100%;
}

/* Number input with increment/decrement buttons */
.client-onboarding .input-group-append .btn {
    border-color: #ced4da;
    padding: 0.375rem 0.75rem;
}

.client-onboarding .input-group-append .btn:hover {
    background-color: #f8f9fa;
    border-color: #ced4da;
}

.client-onboarding .input-group-append .btn i {
    font-size: 12px;
}

.client-onboarding input[type="number"] {
    text-align: center;
}

/* Special Instructions / Comments Tab */
.client-onboarding textarea {
    resize: vertical;
    min-height: 150px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.client-onboarding textarea:focus {
    border-color: #20aee3;
    box-shadow: 0 0 0 0.2rem rgba(32, 174, 227, 0.15);
}

.client-onboarding textarea::placeholder {
    color: #a8b3bd;
    font-style: normal;
}