/* Web font loading for cross-platform consistency */
@font-face {
    font-family: 'Trebuchet MS';
    src: url("../fonts/trebuc.2125db67ab1a.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Trebuchet MS';
    src: url("../fonts/trebucbd.af116cc142b0.ttf") format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Trebuchet MS';
    src: url("../fonts/trebucit.a92504d6bdc8.ttf") format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Trebuchet MS';
    src: url("../fonts/trebucbi.7b0201d14bb2.ttf") format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.33); /* Adjust color and opacity as needed */
}

/* DX Filter Modal */
.modal-footer .btn {
  white-space: nowrap; /* Prevent button text from wrapping */
  overflow: hidden; /* Hide overflow text */
  text-overflow: ellipsis; /* Show ellipsis (...) for overflow text */
  max-width: 150px; /* Set maximum width for buttons */
}

.btn-spacing-dxfilterModal {
  margin-right: 3rem; 
}

.row-centered {
  width: 100%;
  margin: 0 auto;
}

.col-md-2-neg-margin {
  margin-left: -1.5%;
}

.margin-bottom-13px {
  margin-bottom: 13px;
}

.col-md-2-pos-margin {
  margin-left: 1%;
}

.btn-rounded-left {
  border-radius: 8px 0px 0px 8px !important;
}

.btn-rounded-right {
  border-radius: 0px 8px 8px 0px !important;
}

.btn-rounded-both {
  border-radius: 8px 8px 8px 8px !important;
}

.btn-watchlist {
  color: white;
  margin: 2px;
}


/* DX Filter webpage */

.dxfilter-body {
  background: #232323;
}

.accordion{
margin: 40px 0;
}

.accordion .item {
    border: none;
    margin-bottom: 50px;
    background: none;
}

.t-p{
color: rgb(193 206 216);
padding: 40px 30px 0px 30px;
}

.accordion .item .item-header h2 button.btn.btn-link {
    background: #333435;
    color: white;
    border-radius: 1rem;
    font-family: var(--bs-body-font-family);
    font-size: 16px;
    font-weight: bold;
    line-height: 2.5;
    text-decoration: none;
    text-transform: uppercase;
}

.accordion .item .item-header {
    border-bottom: none;
    background: transparent;
    padding: 0px;
    margin: 2px;
}

.accordion .item .item-header h2 button {
    color: white;
    font-size: 20px;
    padding: 15px;
    display: block;
    width: 100%;
    text-align: left;
}

.accordion .item .item-header h2 img {
    float: right;
    font-size: 24px;
    color: #fbfbfb;
    background-color: #333435;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}

button.btn.btn-link.collapsed img {
    transform: rotate(0deg);
    width: 21px;
}

button.btn.btn-link img {
    width: 21px;
    transform: rotate(180deg);
    transition: 0.5s;
}

.btn-spacing-dxfilter {
    margin-right: 0rem;
}

.buttons-container {
    display: flex; /* Enable flexbox */
    justify-content: center; /* Center flex items on the main axis (horizontally) */
    flex-wrap: wrap; /* Allow the items to wrap as needed */
    gap: 10px; /* Optional: adds some space between the buttons */
}

.text-bold-white-large {
  color: white;
  font-weight: bold;
  font-size: 1.25rem;
}

.margin-bottom-20px {
  margin-bottom: 20px;
}

.margin-top-20px {
  margin-top: 20px;
}

/*================================================================================
                              DX Search Modal
==================================================================================*/
/* For screens larger than 1433px - show all DX Search Modal columns */
/* No additional CSS is needed since this is the default behavior */

/* For screens between 999px and 1433px - hide specific DX Search Modal columns */
@media (min-width: 1100px) and (max-width: 1433px) {
  .th-dxccentity, .td-dxccentity,
  .th-continent, .td-continent,
  .th-zone, .td-zone {
      display: none;
  }
}

/* For screens smaller than 998px - hide additional DX Search Modal columns */
@media (max-width: 1099px) {
  .th-spotter, .td-spotter,
  .th-dxccentity, .td-dxccentity,
  .th-continent, .td-continent,
  .th-zone, .td-zone,
  .th-comment, .td-comment {
      display: none;
  }
}

.spotterLink {
  color: white;
  text-decoration: none;
  font-weight: normal;
}
.spotterLink:visited {
  color: inherit; /* Keeps the default color based on mode */
}

.dxLink {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.dxLink:visited {
  color: inherit; /* Prevents visited links from turning white */
}

.btn-search-dropdown {
  background-color: #1c3474;
  color: white;
  border-color: #ced4da;
  height: 42px;
}

.search-box {
  width: 50%;
  margin: 0 auto;
  border-top-right-radius: 0.33rem !important;
  border-bottom-right-radius: 0.33rem !important;
}

.last-spots-btn {
  border-color: #1c3474;
  font-size: 17px;
  padding: 8px 16px;
  border-radius: 8px;
}

.lightMode-border-color {
  border-color: black;
}

.lightMode-search-box-border, .lightMode-button-border {
  border: 1.5px solid black;
}

.darkMode-border-color {
  border-color: white;
}

.darkMode-search-box-border, .darkMode-button-border {
  border: 1.5px solid #ced4da; /* Adjust as needed for the default styling */
}

.link-dark-mode {
  color: #FFFFFF; /* White color for dark mode */
}

.link-light-mode {
  color: #000000; /* Black color for light mode */
}

#dxFilterModalBody {
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#dxFilterModalBody::-webkit-scrollbar {
  display: none;
}



/*================================================================================
                                  INDEX PAGE
==================================================================================*/


/*================================================================================
                                LOGIN / REGISTER / PROFILE
==================================================================================*/
.display-none {
  display: none;
}

.card {
  margin-top: 50px;
}

.card-rounded {
  border-radius: 1rem;
}

.card-body-shadow {
  border-radius: 1rem;
  box-shadow: 1px 1px 3px 3px rgba(0, 0, 0, 0.1);
}

.text-large {
  font-size: 1.5em !important;
}

.bg-image {
  background-image: url("../images/cover.8ed444dc59a1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0; /* Reset default body margin */
  padding: 0; /* Reset default body padding */
}

.full-height {
min-height: 100vh;
display: flex;
align-items: center;
}

.custom-btn-close {
  font-size: 0.75rem;
  width: 1rem;
  height: 1rem;
}

/* Adding a class for bold and underline styling */
.bold-underline {
  font-weight: bold;
  text-decoration: underline;
}
/* Class for centering text */
.text-center {
  text-align: center;
}

.margin-top-4px {
  margin-top: -4px;
}

/*================================================================================
                                  BACKGROUND IMAGE
==================================================================================*/
.cover-section {
  background-image: url("../images/cover.8ed444dc59a1.jpg");
}


/*================================================================================
                                TERMS & PRIVACY POLICY
==================================================================================*/
section.terms { font-family: Arial, sans-serif; margin: 80px 30px; line-height: 1.6; }
h5.terms { color: #333; font-weight: bold; }
a.terms  { color: #007bff; text-decoration: none; }
a:hover.terms { text-decoration: underline; }
ul.terms { list-style-type: disc; margin-left: 20px; }
li.terms { margin-bottom: 10px; font-size: 16px; line-height: 1.6; }
p.terms { font-size: 16px; line-height: 1.6; }


/* SPOT MODAL */
.spotModal {
  width: 313px;
  margin: 0 auto;
}

/* WELCOME MODAL */
.welcome-modal-title {
  width: 100%;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  padding-top: 2rem;
}

.welcome-modal-text {
  font-size: 1.25rem;
  font-weight: bold;
}

.modal-content-custom {
  height: 100%;
  border: 2px solid #f8f9fa;
  border-radius: 0.5rem;
}

.modal-body-custom {
  overflow-y: auto;
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.vertical-padding {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.small-caps {
  font-variant: small-caps;
}

.custom-btn-size {
  padding: .375rem .75rem; /* Adjust padding to make buttons slightly smaller */
  width: 150px; /* Adjust width as needed or use auto for content-based width */
  margin: 0 auto; /* This centers the button in its column */
}

.modal-divider {
  border-top: 1px solid #f8f9fa; /* Set the color of the divider */
  margin: 10px auto; /* Top and bottom margins + auto left and right margins for centering */
  width: 50%; /* Set the width of the divider */
}

.logo-header-container {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center;     /* Centers vertically */
  flex-direction: column;  /* Stacks items vertically */
  padding-top: 4rem;           /* Adds some spacing around */
}

.logo-container {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center;     /* Centers vertically */
  flex-direction: column;  /* Stacks items vertically */
  padding-top: 0rem;
  margin-bottom: 2rem;
}


/* Custom styling for reCAPTCHA */
.captcha-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px; /* Adjust as needed for spacing */
}

.g-recaptcha {
  width: 100%;
  max-width: 304px; /* Adjust as needed for maximum width */
  margin-top: 20px; /* Adjust as needed for spacing */
}

.recaptcha-wrapper {
  transform: scale(0.81); /* Adjust as needed for scaling */
  display: flex;
  justify-content: center;
  align-items: center;
}

h1 {
    margin-bottom: 0.33em;
}

.nav-item {
    margin-left: 2.25em;
}

.nav-item:hover {
    background-color: black;
    border-radius: 0.33em;
}

/* THIS IS WHERE NEW STYLING FROM DENNIS IVY BEGINS */

.auth__action {
    margin-top: 3rem;
    text-align: center;
  }

.signup--link {
    color: #0d6efd;
    font-weight: regular;
    text-decoration: none;
}

.signup--link:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.forgotpwd--link {
  color: #0d6efd;
  text-decoration: none;
}

.forgotpwd--link:hover {
  color: #0d6efd;
  text-decoration: underline;
}

.header__logo,
.header__logo:hover {
    text-decoration: none;
    color: whitesmoke;
}

/*==============================
=>  Layout
================================*/

.layout {
    margin-top: 2.4rem;
  }
  
  .layout > .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  
  .layout--3 > .container > div:first-child {
    flex-basis: 18%;
    max-width: 22.5rem;
  }
  
  .layout--3 > .container > div:nth-child(2) {
    flex-basis: 50%;
  }
  
  .layout--3 > .container > div:last-child {
    flex-basis: 25%;
  }
  
  .layout--2 > .container > div:first-child {
    flex-basis: 72%;
  }
  
  .layout--2 > .container > div:last-child {
    flex-basis: 25%;
  }
  /*========== Layout Box ==========*/
  
  .layout__box {
    width: 25%;
    max-width: 48rem;
    min-height: 40rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%);
    background-color: whitesmoke;
    border-radius: 1rem;
    box-shadow: 1px 1px 6px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }
  
  .layout__boxHeader {
    display: flex;
    padding: 1.5rem;
    background-color: #262626;
  }
  
  .layout__boxTitle {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }
  
  .layout__boxTitle h3 {
    text-transform: uppercase;
    font-weight: 500;
    color: whitesmoke;
  }
  
  .layout__boxTitle svg {
    width: 1.6rem;
    height: 1.6rem;
    fill: var(--color-main);
  }
  
  .layout__body {
    margin: 3rem;
  }
  
  @media screen and (max-width: 900px) {
    .activities,
    .topics {
      display: none;
    }
  
    .layout--3 > .container > div:nth-child(2) {
      flex-basis: 100%;
    }
  }
  
/*==============================
=>  Auth
================================*/

.auth__tagline {
    text-align: center;
    margin-bottom: 3rem;
    color: black;
    font-weight: 500;
    font-size: 1.8rem;
  }
  .auth .layout__boxHeader {
    text-align: center;
    justify-content: center;
  }
  
  .auth__action {
    margin-top: 3rem;
    text-align: center;
  }
  

.usercallsign {
    color: whitesmoke;
}

.dximg {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 25%;
    border-radius: 1rem;
}

/* bold-text and normal-text classes are used to style the links in the table */
.bold-text {
    font-weight: bold;
    color: black;
    text-decoration: none;
}

.bold-text-search-results {
  font-weight: bold;
  text-decoration: none;
}

.bold-text:hover {
    font-weight: bold;
    color: black;
    text-decoration: none;
}

.normal-text {
    font-weight: normal;
    color: black;
    text-decoration: none;
}

.normal-text:hover {
    font-weight: normal;
    color: black;
    text-decoration: none;
}

    /*============================================================
    =>  Re-located these from the style section of the Navbar
    ==============================================================*/
    .hidden {
      display: none;
    }

    .dropdown-item:hover {
        color: white !important;
    }

    .list-group-item:hover {
        color: white !important;
    }

    #searchContainer {
        text-align: center;
    }
    
    #suggestionList:empty {
      display: none;
    }

    #suggestionList {
        width: 50%; /* Set the width you prefer */
        margin: 0 auto; /* Center the elements */
        min-height: 273px; /* Prevents siz of suggestion from changing with search results */
        padding-top: 15px !important;
    }

    #suggestionList li:hover {
        background-color: #1c3474 !important;
        cursor: pointer;
    }

    .searchButton {
        transition-duration: 0.1s;
        background-color: #1c3474;
        color: white;
      }
      
    .searchButton:hover {
        background-color: #234090;
        color: white;
      }

    .custom-dropdown-menu .dropdown-item:hover {
        background-color: #1c3474; /* Change to your desired color */
        color: white; /* Optional: change text color on hover */
        /* width: 100%;  Set the width you prefer */
    }

    .toggle-button {
        color: white;
        padding: 10px 20px;
        border-radius: 8px;
        cursor: pointer;
        margin: 5px;
        background-color: green; /* Default background color */
        height: 28px; /* Set a default height */
        width: 40px; /* Fixed width */
        text-align: center; /* Center the text inside the button */
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .on {
        background-color: #006600;
        border-color: #ced4da;
    }
    
    .off {
        background-color: #212529;
        border-color: #ced4da;
        color: #6c757d;
    }

    #modeToggle {
        cursor: pointer;
    }
    
    .light-theme {
        background-color: #e6e6e6;
        color: black;
        border-color: black;
    }

    .custom-light-theme {
        background-color: #e6e6e6;
        border: none;
    }

    #spotsTable td, #spotsTable th {
        border: none;
    }
    
    #spotsTable thead th {
        border-top: none;
    }
    
    #spotsTable tbody tr:first-child td {
        border-top: none;
    }
    
    #spotsTable {
        border-collapse: separate;
        border-spacing: 0;
    }

    #spotsTable tr {
        border-bottom: none;
    }

    .custom-text-dark {
        color: black !important;
    }

    /* Light mode styling for suggestionList */
    #suggestionList.light-mode {
        background-color: #e6e6e6 !important;
        color: black !important;
    }

    /* Hover effect for items in suggestionList in light mode */
    #suggestionList.light-mode .list-group-item:hover {
        color: white;
    }

    .table-responsive {
        overflow-y: auto;
        max-height: 52vh; /* Adjust this value as needed */
    }

    thead th {
        position: sticky;
        top: 0;
        background: #000; /* Or any color that matches your header */
        z-index: 1;
    }

    .bold-text {
        font-weight: bold;
    }

    /* Hide planetary information span in collapsed menu */
    @media (max-width: 991.98px) {
        .navbar-collapse .solar-data {
            display: none;
        }
        #helpQMark {
          margin-left: 36px;
          margin-top: 11px;
          margin-bottom: 11px;
        }
    }

    .login-logout-button-container {
        margin-left: 33px; 
        margin-right: 2px;
    }

    .username {
        margin-right: -20px;
    }
    
    @media (max-width: 991.98px) {
        .login-logout-button-container {
            margin-top: 16px; 
            margin-bottom: 16px;
        }
    }

    @media (max-width: 991.98px) {
        .toggle-label {
            margin-top: 8px;
            margin-bottom: 16px;
            margin-left: 33px;
        }
        .psk-toggle-label {
            margin-top: 8px;
            margin-bottom: 16px;
            margin-left: 33px;
        }
    }
    
    @media (max-width: 991.98px) {
        .username {
            margin-top: -5px;
            padding-bottom: 16px;
        }
    }

    .box-top {
        margin-top: -20px;
    }

    .box-bottom {
        margin-bottom: -20px;
    }

    .box-top-small {
        margin-top: 0;
    }

    .box-bottom-small {
        margin-bottom: -6px;
    }


/*============================================================
=>  RBN toggle button
=============================================================*/
.toggle-label {
  display: inline-flex;
  padding: 4px 10px; /* py-1 and px-2 */
  font-size: 14px; /* fs-6 */
  cursor: pointer;  /* cursor-pointer */
  color: #198754; /* text-success */
  background-color: #212529; /* bg-dark */
  border: 1px solid #198754; /* border and border-success */
  border-radius: 0.33rem; /* rounded-2 */
  margin-left: 33px;
}

.bg-dark .toggle-label {
  background-color: #212529; /* Bootstrap dark background */
}

.toggle-label.box-shadow-on {
  box-shadow: 0 0 33px #198754;
}

/*============================================================
=>  PSK toggle button
=============================================================*/
.psk-toggle-label {
  color: #fd7e14;
  border: 1px solid #fd7e14;
}

.psk-toggle-label.psk-on {
  color: #fd7e14 !important;
  border-color: #fd7e14 !important;
}

.psk-toggle-label.box-shadow-on-psk {
  box-shadow: 0 0 33px #fd7e14;
}

/*============================================================
=>  PSK SweetAlert2 modal
=============================================================*/
.psk-modal-popup {
  border: 1px solid rgba(253, 126, 20, .25);
  border-radius: 12px;
  padding: 2rem 1.5rem 1.5rem;
}

.psk-modal-input {
  background: #2b2f35 !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-size: 1.1rem !important;
  font-family: 'Trebuchet MS', sans-serif !important;
  letter-spacing: 1px;
  padding: 10px 14px !important;
  transition: border-color .2s;
}

.psk-modal-input:focus {
  border-color: #fd7e14 !important;
  box-shadow: 0 0 0 3px rgba(253, 126, 20, .2) !important;
  outline: none !important;
}

.psk-modal-input::placeholder {
  color: rgba(255, 255, 255, .3) !important;
  letter-spacing: normal;
}

.psk-modal-confirm {
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 8px 28px !important;
  font-size: .9rem !important;
  transition: box-shadow .2s, transform .1s !important;
}

.psk-modal-confirm:hover {
  box-shadow: 0 0 16px rgba(253, 126, 20, .4) !important;
}

.psk-modal-confirm:active {
  transform: scale(.97) !important;
}

.psk-modal-cancel {
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 8px 28px !important;
  font-size: .9rem !important;
}

.psk-modal-popup .swal2-validation-message {
  background: rgba(220, 53, 69, .12) !important;
  border: 1px solid rgba(220, 53, 69, .3) !important;
  border-radius: 8px !important;
  color: #ff6b7a !important;
  font-size: .85rem !important;
  font-weight: 500 !important;
  padding: 8px 16px !important;
  margin: 8px 0 0 !important;
}

.psk-modal-popup .swal2-validation-message::before {
  content: '\f33a' !important;
  font-family: 'bootstrap-icons' !important;
  font-size: .9rem !important;
  margin-right: 8px !important;
  color: #ff6b7a !important;
  background: none !important;
  width: auto !important;
  height: auto !important;
  border: none !important;
}

.psk-modal-title-wrap {
  margin-bottom: 6px;
}

.psk-modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fd7e14;
}

.psk-modal-subtitle {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.psk-modal-popup {
  background: #1a1d21;
  color: #fff;
}

.psk-modal-input {
  background: #111 !important;
  color: #fff !important;
  border: 1px solid #444 !important;
}

.psk-modal-confirm {
  background: #fd7e14;
  color: #fff;
  border: none;
  padding: 0.55rem 1rem;
  border-radius: 0.375rem;
}

.psk-modal-cancel {
  background: #495057;
  color: #fff;
  border: none;
  padding: 0.55rem 1rem;
  border-radius: 0.375rem;
}

/*============================================================
NEW STYLING FROM https://codepen.io/josetxu/pen/oNQXpoz
=============================================================*/
body {
  background-color: #202837;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.terms {
  color: #A0AEC0;
}

.terms h5 {
  color: #A0AEC0;
}

.mode-toggle {
  display: flex;
  align-items: center; 
  list-style: none;
  cursor: pointer;
  padding-left: 39px;
  margin-bottom: -4px;
  height: 100%;  /* Adjust based on layout requirements */
}

.mode-toggle-item {
  display: inline-block;
}

@media (max-width: 991.98px) {
  .mode-toggle {
      margin-top: -16px;
      padding-bottom: 8px;
  }
}

/*============================================================
NEW STYLING FOR DX SEARCH MODAL
=============================================================*/
.table-dark-dxs {
  background-color: #202837;
}

.dxs-bg {
  background-color: #202837;
}

.table.dxs-table thead th {
  background-color: black;
  color: #A0AEC0;
}

.table.dxs-table tbody tr:nth-child(odd) {
  background-color: #1A202C;
}

.table.dxs-table tbody tr:nth-child(even) {
  background-color: #2E3749;
}

.table.dxs-table tbody tr {
  color: white; /* Ensure text is readable on dark backgrounds */
}

#dropdownMenu, #suggestionList {
  top: 100%;
  z-index: 1000;
}

#suggestionList {
  margin: 0; /* Remove margin */
  padding: 0; /* Remove padding */
}


/*============================================================
NEW STYLING FOR DX SEARCH MODAL added on 3/15/2025
=============================================================*/

/* Add border to the Category dropdown menu */
.custom-dropdown-menu {
  border: 1px solid #495057;
  border-radius: 4px;
  margin-top: 5px !important; /* Override Bootstrap's margin */
}

/* Add border to search suggestions */
#suggestionList {
  border: 1px solid #495057;
  border-radius: 4px;
  background-color: #212529; /* Match the dark theme background */
  margin-top: 5px !important; /* Override Bootstrap's margin */
  z-index: 1050; /* Ensure it appears above other elements */
}

/* Only show the border when suggestions are visible */
#suggestionList:empty {
  border: none;
}

/* Apply to all dropdown dividers in the app */
.dropdown-divider {
  border-top: 1px solid #495057;
  opacity: 1;
}

#searchSpotsTable thead th {
  border-bottom: 1px solid #ced4da;
  padding: 7px 7px 7px 7px; /* top right bottom left */
  position: sticky;
  top: 0;
  z-index: 10; /* Higher z-index to ensure it stays on top */
}

/* Force consistent background color for header | We need this to eliminate vertical white lines in table header!!! */
#searchSpotsTable thead tr {
  background-color: #212529 !important;
}

/* Badge and status indicators */
.badge-active {
  background-color: rgba(25, 135, 84, 0.15);
  color: #198754;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 50rem;
}

.badge-warning {
  background-color: rgba(255, 193, 7, 0.15);
  color: #997404;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 50rem;
}

/* Custom wider modal */
.modal-xxl {
  max-width: 1300px; /* Adjust this value to your preferred width */
  width: 95%; /* Ensures it doesn't overflow on smaller screens */
}

/* Sortable column styles */
.sortable {
  cursor: pointer;
  position: relative;
  user-select: none;
}

.sort-icon {
  opacity: 0.5;
  transition: opacity 0.2s;
}

.sortable:hover .sort-icon {
  opacity: 1;
}

.sort-asc .sort-icon .bi-arrow-down-up::before {
  content: "\f148"; /* Bootstrap icon code for arrow-up */
}

.sort-desc .sort-icon .bi-arrow-down-up::before {
  content: "\f128"; /* Bootstrap icon code for arrow-down */
}

.sort-asc .sort-icon, .sort-desc .sort-icon {
  opacity: 1;
}


/* Style for the toggle buttons when ON - matching the badge-active look 
.toggle-button.on {
  background-color: rgba(25, 135, 84, 0.15) !important; /* Fuzzy green background *-/
  color: #198754 !important; /* Solid green font *-/
  border-color: #198754 !important; /* Green border *-/
  font-weight: 500;
}

/* Style for the toggle buttons when OFF - keeping the outline-secondary look *-/
.toggle-button.off {
  background-color: transparent !important;
  color: #6c757d !important; /* Secondary text color *-/
  border-color: #6c757d !important; /* Secondary border color *-/
}

/* Keep consistent sizing and other properties for all toggle button states *-/
.toggle-button {
  border-width: 1px;
  border-style: solid;
  border-radius: 0.375rem;
  padding: 0.375rem 0.75rem;
  margin: 0.25rem;
  transition: all 0.15s ease-in-out;
}

/* Optional hover effect for better user experience *-/
.toggle-button.on:hover {
  background-color: rgba(25, 135, 84, 0.25) !important; /* Slightly darker on hover *-/
}

.toggle-button.off:hover {
  background-color: rgba(108, 117, 125, 0.1) !important; /* Slight background on hover *-/
}
*/
/* Style the action buttons (Last 100, Last 500, Reset) to match toggle buttons size */
#last100SpotsButton,
#last500SpotsButton,
#resetButton {
  padding: 0.375rem 0.75rem !important; /* Match toggle button padding */
  margin: 0.25rem !important; /* Match toggle button margin */
  border-width: 1px !important;
  border-radius: 0.375rem !important; /* Match toggle button border radius */
  font-size: 0.875rem !important; /* Slightly smaller text if needed */
  font-weight: 500 !important; /* Match the medium font weight */
  height: auto !important; /* Let height be determined by content */
  line-height: 1.5 !important; /* Consistent line height */
}

/* Optional: add a little margin between the toggle buttons and action buttons */
.modal-footer > div:last-child {
  margin-top: 0.5rem;
}

/* For consistency, you might want to adjust hover states too */
#last100SpotsButton:hover,
#last500SpotsButton:hover {
  background-color: rgba(108, 117, 125, 0.1) !important;
}

#resetButton:hover {
  background-color: rgba(220, 53, 69, 0.1) !important; /* Slight red background for danger button */
}

/* Column alignment for spot table */

/* Left-justified columns */
.th-spotter, .td-spotter,
.th-dxstation, .td-dxstation,
.th-dxccentity, .td-dxccentity,
.th-comment, .td-comment {
  text-align: left !important;
}

/* Right-justified columns */
.th-frequency {
  text-align: right !important;
  padding-right: 15px !important;
}

.td-frequency {
  text-align: right !important;
  padding-right: 40px !important;
}

/* Centered columns */
.th-continent, .th-zone, 
.th-dateutc {
  text-align: center !important;
}

.td-continent, .td-zone, .td-dateutc {
  text-align: center !important;
}

.td-continent {
  padding-right: 25px !important;
}

.th-zone {
  padding-right: 15px !important;
}

.td-zone {
  padding-right: 40px !important;
}

.td-dateutc {
  padding-right: 25px !important;
}

.user-list {
  border-collapse: collapse;
  width: 100%;
}

.user-list th, .user-list td {
  padding: 8px;
  text-align: left;
}

.dropdown-item:active,
.dropdown-item:focus {
  background-color: inherit; /* or use the same color as hover */
  color: inherit;
  outline: none;
  box-shadow: none;
}


/* Adds space in between person icon and username in NavBar */
.person-icon {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

/* Reserve the table’s full size before JS populates it */
#customers {
  /* min-height: 922px; */
  width: min(100%, 1300px);
  margin: 0 auto;
}

/* Constrain and center the bottom navbar to the same width */
#bottomNavbar {
  width: min(100%, 1296px);
  margin: 0;
}

/* Reserve the RBN toggle container’s width */
.rbn-toggle-container {
  width: 110px;
}

.skip-link {
  position: absolute;
  top: 0; left: 0;
  background: #000; color: #fff;
  padding: .5rem 1rem;
  transform: translateY(-120%);
  transition: transform .3s ease;
  z-index: 1000;
  text-decoration: none;
}
.skip-link:focus {
  transform: translateY(0);
}

/* Prevent the “dark black” background on hover */
.navbar-text.solar-data:hover {
  background-color: transparent !important;
}
