.form-group {
    display: none;
}
.form-group.active {
    display: block;
}
.error {
    color: red;
    margin-top: 5px;
}
.error-border {
    border: 1px solid red;
}
.progress {
    height: 25px;
}
.progress-bar {
    line-height: 25px;
}
.form-group {
display: none;
transition: opacity 0.5s ease-in-out;
opacity: 0;
}
.form-group.active {
    display: block;
    opacity: 1;
}
.feature-icon-small {
    width: 3rem;
    height: 3rem;
}
.navigation-icon use {
    fill: white;
}
/* 1. Fix Input Text and Background Colors */
.easy-autocomplete input {
    width: 100% !important;
    box-sizing: border-box;
    /* Use Bootstrap variables for text and background */
    color: var(--bs-body-color) !important; 
    background-color: var(--bs-body-bg) !important;
    border-color: var(--bs-border-color) !important;
}

/* 2. Ensure the wrapper respects the layout width */
.easy-autocomplete {
    width: 100% !important;
}

/* 3. Fix Dropdown List for Dark Mode */
.easy-autocomplete-container ul {
    background-color: var(--bs-body-bg) !important;
    border: 1px solid var(--bs-border-color) !important;
    color: var(--bs-body-color) !important;
    box-shadow: var(--bs-box-shadow-sm);
    margin-top: 2px;
}

/* 4. Individual List Items */
.easy-autocomplete-container ul li, 
.easy-autocomplete-container ul .eac-category {
    background-color: transparent !important;
    border-color: var(--bs-border-color) !important;
    color: inherit !important;
}

/* 5. Selection / Hover State */
.easy-autocomplete-container ul li.selected {
    background-color: var(--bs-tertiary-bg) !important;
    color: var(--bs-emphasis-color) !important;
}

/* 6. Bold search matches match primary theme color */
.easy-autocomplete-container ul li b {
    color: var(--bs-primary);
}
.card {
   /* Use Bootstrap variables for shadows and background */
   box-shadow: var(--bs-box-shadow-sm); 
   border-width: 0;
   transition: all .2s;
   position: relative;
   display: flex;
   flex-direction: column;
   min-width: 0;
   word-wrap: break-word;
   background-color: var(--bs-card-bg); /* Bootstrap dynamic card background */
   background-clip: border-box;
   border: var(--bs-card-border-width) solid var(--bs-card-border-color);
   border-radius: var(--bs-card-border-radius);
   color: var(--bs-card-color);
}

.card-body {
   flex: 1 1 auto;
   padding: 1.25rem;
}

.vertical-timeline {
   width: 100%;
   position: relative;
   padding: 1.5rem 0 1rem;
}

/* The vertical line */
.vertical-timeline::before {
   content: '';
   position: absolute;
   top: 0;
   left: 97px;
   height: 100%;
   width: 4px;
   background: var(--bs-border-color-translucent); /* Bootstrap dynamic border color */
   border-radius: .25rem;
}

.vertical-timeline-element {
   position: relative;
   margin: 0 0 1rem;
}

.vertical-timeline-element-icon {
   position: absolute;
   top: 0;
   left: 90px;
}

/* Fix the 'halo' around the dot to match the background color */
.vertical-timeline-element-icon .badge-dot-xl {
   box-shadow: 0 0 0 5px var(--bs-body-bg); 
}

.vertical-timeline-element-content {
   position: relative;
   margin-left: 130px;
   font-size: 16px;
   color: var(--bs-body-color); /* Matches Bootstrap text color */
}

.vertical-timeline-element-content .timeline-title {
   font-size: 16px;
   text-transform: uppercase;
   margin: 0 0 .5rem;
   padding: 2px 0 0;
   font-weight: bold;
   color: var(--bs-emphasis-color); /* High contrast for titles */
}

.vertical-timeline-element-content .vertical-timeline-element-date {
   display: block;
   position: absolute;
   left: -125px;
   top: 0;
   padding-right: 10px;
   text-align: right;
   color: var(--bs-secondary-color); /* Muted text for dates */
   white-space: nowrap;
}

.vertical-timeline-element-content:after {
   content: "";
   display: table;
   clear: both;
}