body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f1f8d5 0%, #f0f1db 100%);

}

.sidebar {
    background: linear-gradient(180deg, #2c3e50 0%, #4ca1af 100%);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    overflow-y: auto;
}

.sidebar-inner {
    padding-bottom: 20px;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, .75);
    border-radius: 4px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar .nav-link:hover {
    color: rgba(255, 255, 255, 1);
    background-color: rgba(255, 255, 255, .1);
}

.sidebar .nav-link.active {
    color: white;
    background-color: rgba(255, 255, 255, .2);
}

.sidebar .nav-link .bi {
    margin-right: 4px;
}

.sidebar .nav-link.incomplete .bi {
    color: #ffc107;
}

main {
    
    padding-top: 1.5rem;
}

.form-section {
    background-color: rgb(251, 249, 234);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
}

.form-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.25rem;
    font-weight: 600;
}

.help-icon {
    color: #6c757d;
    cursor: pointer;
    margin-left: 5px;
}

.help-icon:hover {
    color: #0d6efd;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(13, 110, 253, .1);
    color: #0a58ca;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}

.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after, 
.bs-popover-end>.popover-arrow::after {
    border-right-color: #f8f9fa;
}

.popover {
    max-width: 400px;
}

.popover-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

.invalid-field {
    border-color: #dc3545 !important;
}

.invalid-field:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}


.btn-primary {
    background-image: linear-gradient(45deg, #4ca1af, #2c3e50);
    border: none;
    color: white;
    font-weight: 600;
    transition: background-image 0.3s ease;
}
h1 {
    font-style: italic !important;
    font-size: 1.5rem !important;
    color: rgb(66, 65, 65) !important;
   
}
.btn-success {
    background-image: linear-gradient(45deg, #084944, #1f7b64);
    border: none;
    color: white;
    font-weight: 600;
    transition: background-image 0.3s ease;
}
/* Solid background for the track */
.progress {
    background-color: #e0e0e0; /* Light gray background */
    height: 1.5rem; /* Adjust height as needed */
  }
  
  /* Gradient for the progress bar */
  .progress-bar {
    background-image: linear-gradient(135deg, #0a7ea8 0%, #a2d5f5 100%);
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
  }


.btn-outline-primary {
    background-image: linear-gradient(45deg, #adadadf8, #f7fcb8);
    border: none;
    color: white;
    font-weight: 600;
    transition: background-image 0.3s ease;
}
/* Scrollbar track */
.sidebar::-webkit-scrollbar {
    width: 12px;
  }
  
  .sidebar::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #1b262c, #0f3443);
    border-radius: 10px;
  }
  
  /* Scrollbar thumb */
  .sidebar::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #144552, #0a2a36);
    border-radius: 10px;
    border: 3px solid transparent; /* padding effect */
    background-clip: content-box;
  }
  
  .sidebar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #061920, #144552);
  } 

  .bg-gradient-custom {
    background: linear-gradient(90deg, #144552 0%, #1b262c 100%);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.navbar .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    transition: color 0.2s ease;
}

.navbar .nav-link:hover {
    color: #d1f0ff !important;
}


.navbar-brand {
    /* Triple-color gradient (yellow -> black -> yellow) */
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #fdfdfd 25%,
        #000000 50%,
        #ffffff 75%,
        #ffffff 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;

    /* Warm glowing outline */
    -webkit-text-stroke: 1px #ff9933;
    text-stroke: 1px #ff9933;
    
    /* Glow effect */
    text-shadow: 
        0 0 8px rgba(255, 153, 51, 0.6),
        0 0 12px rgba(255, 102, 0, 0.3);

    /* Layout & fallback */
    font-weight: bold;
    display: inline-block;
    padding: 2px 4px;
    font-size: 1.2em; /* Adjust as needed */
}
@media (max-width: 767.98px) {
    .sidebar {
        position: static;
        padding-top: 0;
        max-height: 200px;
    }
    
    main {
        padding-top: 1rem;
    }
}