html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
/* Custom Gliding Tabs CSS */
.tabs-container {
    display: flex;
    justify-content: center; /* Center the tabs component */
}

.tabs {
    display: flex;
    position: relative;
    background-color: #f1f1f1; /* A light grey background */
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    border-radius: 99px;
}

.tab {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 160px; /* Adjusted width */
    font-size: 1rem;
    font-weight: 500;
    border-radius: 99px;
    cursor: pointer;
    transition: color 0.2s ease-in;
    color: #333; /* Default text color */
    text-decoration: none;
    z-index: 2; /* Make sure text is above the glider */
}

    /* Style for the active tab link */
    .tab.active {
        color: #fff; /* Active text color */
    }

.glider {
    position: absolute;
    display: flex;
    height: 48px;
    width: 160px; /* Must match .tab width */
    background-color: #0d6efd; /* Your primary theme color */
    z-index: 1;
    border-radius: 99px;
    transition: transform 0.25s ease-out;
    transform: translateX(0); /* Default position */
}

@media (max-width: 992px) {
    .tabs {
        flex-direction: column;
        border-radius: 24px;
        width: 100%;
        padding: 1rem;
        gap: 0.5rem;
    }

    .tab, .glider {
        width: 100%;
    }
}