#container {
  margin: 0 auto;
}

/*-------LOGIN STARTS HERE -------*/

/* Login Container (default to float:right) */
#loginContainer {
  position: relative;
  float: right;
  font-size: 12px;
}
@media only screen and (min-width: 991px) {
  #location_container {
    float: left;
    margin-top: 13px;
    margin-left: 25px;
  }
  #location {
    margin-left: 30px;
  }
}
@media only screen and (min-width: 375px) {
  #location_container {
    float: left;
  }
  #location {
    margin-left: 16px;
  }
}

/* Login Box */
#loginBox {
  position: absolute;
  top: 21px;
  right: 0;
  display: none;
  z-index: 29;
}

/* If the Login Button has been clicked */
#loginButton.active {
  /* border-radius:3px 3px 0 0;*/
}

#loginButton.active span {
  background-position: 45px -81px;
}

/* A Line added to overlap the border */
#loginButton.active em {
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -1px;
}

/* Login Form */
#loginForm {
  width: 248px;
  margin-top: -1px;
  float: left;
}

#loginForm fieldset {
  margin: 0 0 5px 0;
  display: block;
  border: 0;
  padding: 0;
}

fieldset#body {
  border-radius: 3px;
  -moz-border-radius: 3px;
  padding: 10px 13px;
  margin: 0;
}

#loginForm #checkbox {
  width: auto;
  margin: 1px 9px 0 0;
  float: left;
  padding: 0;
  border: 0;
  margin: -3px 9px 0 0; /* IE7 Fix */
}

#body label {
  color: #3a454d;
  margin: 9px 0 0 0;
  display: block;
  float: left;
}

#loginForm #body fieldset label {
  display: block;
  float: none;
  margin: 3px 5px 6px 0;
  width: 64px;
  float: left;
  text-align: right;
}

/* Forgot your password */
#loginForm span {
  text-align: left;
  display: block;
  padding: 2px 0 4px 0;
}

#loginForm span a {
  color: #4287cc;
  font-size: 11px;
}

input:focus {
  outline: none;
}

label.error{
    color:orange;    
    margin-top:2px;
    display:block;
 
}
.error1 {
  color: red;
  margin-top: 3px;
  display: inline;
}

.error {
  color: red;
  margin-top: 1px;
  display: inline;
}
#error_explanation ul {
  font-size: 15px;
  margin-left: 0px;
  padding-left: 0;
  color: orange;
}
#error_explanation ul li {
  list-style: none;
}
#error_explanation h2 {
  font-size: 11px;
  display: none;
}
#pulse_table td {
  padding: 5px;
}
.dec_icon,
.inc_icon {
  width: 18px;
  height: 18px;
}
#remove_pulse:focus {
  outline: none;
}
.update_pulse:focus {
  outline: none;
}
#checkin:focus {
  outline: none;
}
/* Date navigation pill styling - theme-friendly */
.date-nav-pills {
  display: inline-flex;
}

.date-nav-pills .btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 0;
}

.date-nav-pills .btn:first-child {
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}

.date-nav-pills .btn:last-child {
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}

.date-nav-pills .btn i {
  font-size: 12px;
}

.date-nav-pills .nav-label {
  font-size: 13px;
  white-space: nowrap;
}


/* Mobile responsiveness */
@media (max-width: 576px) {
  .date-nav-pills .nav-label {
    display: none;
  }
  .date-nav-pills .btn {
    padding: 10px 12px;
    min-width: 40px;
  }
  .date-nav-pills .btn i {
    font-size: 14px;
  }
}

/* CSS custom properties for theme-aware colors */
:root {
  --nav-pill-bg: rgba(0, 0, 0, 0.05);
  --nav-pill-border: rgba(0, 0, 0, 0.1);
  --nav-pill-text: rgba(0, 0, 0, 0.6);
  --nav-pill-hover-bg: rgba(0, 0, 0, 0.1);
  --nav-pill-hover-text: rgba(0, 0, 0, 0.8);
}

[data-bs-theme="dark"], 
.theme-dark,
body.dark-theme {
  --nav-pill-bg: rgba(255, 255, 255, 0.05);
  --nav-pill-border: rgba(255, 255, 255, 0.1);
  --nav-pill-text: rgba(255, 255, 255, 0.7);
  --nav-pill-hover-bg: rgba(255, 255, 255, 0.1);
  --nav-pill-hover-text: rgba(255, 255, 255, 0.9);
}

/* Alternative implementation using CSS custom properties */
.date-nav-pills.theme-adaptive {
  background: var(--nav-pill-bg);
  border: 1px solid var(--nav-pill-border);
}

.date-nav-pills.theme-adaptive .btn {
  border-right: 1px solid var(--nav-pill-border);
  color: var(--nav-pill-text);
}

.date-nav-pills.theme-adaptive .btn:hover {
  background-color: var(--nav-pill-hover-bg);
  color: var(--nav-pill-hover-text);
}

/* Mobile responsiveness */
@media (max-width: 576px) {
  .date-nav-pills .nav-label {
    display: none;
  }
  .date-nav-pills .btn {
    padding: 10px 12px;
    min-width: 40px;
  }
  .date-nav-pills .btn i {
    font-size: 14px;
  }
}

/* Legacy navigate class for backwards compatibility */
.navigate {
  font-weight: 700;
  color: #35529d;
  cursor: pointer;
  user-select: none;
  margin-top: 5px;
}

#loader_image{
    position: absolute;
    width: 50px;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
}

.stat-column {
  text-align: right;
}

#message {
  display: none;
  background: #f1f1f1;
  color: #000;
  position: relative;
  padding: 20px;
  margin-top: 10px;
}

#message p {
  padding: 10px 35px;
  font-size: 18px;
}

#confirm_message {
  display: none;
  background: #f1f1f1;
  color: #000;
  position: relative;
  padding: 20px;
  margin-top: 10px;
}

#confirm_message p {
  padding: 10px 35px;
  font-size: 18px;
}

/* Add a green text color and a checkmark when the requirements are right */
.valid {
  color: green;
}

.valid:before {
  position: relative;
  left: -35px;
  content: "✔";
}

/* Add a red text color and an "x" when the requirements are wrong */
.invalid {
  color: red;
}

.invalid:before {
  position: relative;
  left: -35px;
  content: "✖";
}
.user_image {
  width: 60px;
  height: 75px;
}
#sub_div {
  margin: 10px auto;
}
.stream_submit {
  margin-top: 10px;
}
.checkin_option:nth-child(odd) {
  background-color: #f0f0f2;
}

/* =============================================================================
   INTEGRATION BUTTONS - Professional branded buttons for third-party services
   ============================================================================= */
.google_calendar_button {
  background: linear-gradient(135deg, #4285f4 0%, #3367d6 100%);
  color: white;
  border: 2px solid #4285f4;
  box-shadow: 0 4px 8px rgba(66, 133, 244, 0.25);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.google_calendar_button:hover {
  background: linear-gradient(135deg, #3367d6 0%, #2754c4 100%);
  border-color: #3367d6;
  color: white;
  box-shadow: 0 6px 12px rgba(66, 133, 244, 0.35);
  transform: translateY(-2px);
  text-decoration: none;
}

.google_calendar_button:active {
  transform: translateY(0px);
  box-shadow: 0 2px 4px rgba(66, 133, 244, 0.25);
}

.google_calendar_button img {
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 4px;
}

.oura_ring_button {
  background: linear-gradient(135deg, #2F4A73 0%, #3a5584 100%);
  color: white;
  border: 2px solid #2F4A73;
  box-shadow: 0 4px 8px rgba(47, 74, 115, 0.25);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.oura_ring_button:hover {
  background: linear-gradient(135deg, #253a5c 0%, #2f4770 100%);
  border-color: #253a5c;
  color: white;
  box-shadow: 0 6px 12px rgba(47, 74, 115, 0.35);
  transform: translateY(-2px);
  text-decoration: none;
}

.oura_ring_button:active {
  transform: translateY(0px);
  box-shadow: 0 2px 4px rgba(47, 74, 115, 0.25);
}

.oura_ring_button img {
  margin-right: 8px;
  vertical-align: middle;
}

.fitbit_button {
  background: linear-gradient(135deg, #00B0B9 0%, #0099a3 100%);
  color: white;
  border: 2px solid #00B0B9;
  box-shadow: 0 4px 8px rgba(0, 176, 185, 0.25);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fitbit_button:hover {
  background: linear-gradient(135deg, #008a92 0%, #007780 100%);
  border-color: #008a92;
  color: white;
  box-shadow: 0 6px 12px rgba(0, 176, 185, 0.35);
  transform: translateY(-2px);
  text-decoration: none;
}

.fitbit_button:active {
  transform: translateY(0px);
  box-shadow: 0 2px 4px rgba(0, 176, 185, 0.25);
}

.fitbit_button img {
  margin-right: 8px;
  vertical-align: middle;
}

#public_title {
  display: flex;
}
.public_switch {
  display: flex;
  justify-content: start;
}

#public-wrapper {
  color: white;
}
.metric_input {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.dec_icon,
.inc_icon {
  cursor: pointer;
}
#notes_text {
  max-height: 350px;
  max-width: 100%;
}
.acc_btn {
  font-size: 19px;
}

.add_metrics_top {
  border-bottom: 0.5px solid #cecece;
  padding: 7px 0px;
}
.btn-primary:hover {
  color: #fff;
  background-color: #286090 !important;
  border-color: #204d74;
}
.accordion-button:not(.collapsed) {
  color: black !important;
}
.btn-primary {
  color: #fff;
  background-color: #337ab7 !important;
  border-color: #2e6da4;
}
.badge-primary {
  background-color: #337ab7;
}

.list-group-item.active {
  background-color: #2c5782;
  border-color: #2c5782;
}

.btn-success {
  background-color: #5cb85c;
  border-color: #4cae4c;
}
.btn-danger {
  background-color: #d9534f;
  border-color: #d43f3a;
}
.nav-link {
  color: #1f5599;
}
.nav-pills .nav-link:hover {
  text-decoration: none;
  background-color: #eee;
  color: #0093e7;
}
.nav-pills .nav-link.active {
  color: #fff !important;
  background-color: #337ab7;
}
.dropdown-item:active {
  background-color: #337ab7 !important;
}

@media (max-width: 767px) {
  .cookies-eu {
    position: fixed !important;
  }
}
.select2-container--open {
  z-index: 9999;
}

.white-link {
  color: white;
  text-decoration: none;
}
.white-link:hover {
  color: gray;
  text-decoration: underline;
}

#notifications {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.notification {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.5s, transform 0.5s;
  margin-bottom: 10px;
  padding: 10px;
}

.notification.visible {
  opacity: 1;
  transform: translateX(0%);
}

.card-block {
  margin: 1em 0;
}

.card-block-title {
  margin: 0.5em 0;
  font-size: 1.5em;
  font-weight: 600;
}


.inner-item {
  background-color: #f1f1f1;
  max-width: 250px;
}

.owl-carousel span {
  font-size: 55px;
}

.deals .owl-carousel .item figure {
  margin: 0 30px !important;
}

.deals .owl-carousel .item figure a {
  display: block;
  text-align: center;
  max-width: 100%;
  transition: all 0.3s;
  text-decoration: none;
  background-color: white;
}
.owl-prev:hover {
  background: transparent !important;
}
.item {
  padding-top: 20px;
}

.carousel-date.text-center {
  font-size: 14px;
  padding: 15px 0;
}
.cross-btn {
  position: absolute;
  background: #fff;
  display: inline-flex;
  border-radius: 50%;
  right: -6px;
  top: -9px;
}

.item .active {
  /* border: 2px solid #337ab7; */
  box-shadow: 0 0 5px #337ab7;
}
.table-first {
  width: 50%;
}
.progress-image {
  max-height: 250px;
  object-fit: cover;
  display: inline;
  min-width: 250px;
}

.form_box {
  height: 414px;
}

.subscription {
  outline: none;
  margin-bottom: 0;
  height: 15px;
  width: 4%;
}
.inner-text {
  margin-left: 54px;
}

.reset-pass {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.reset-pass:hover {
  background-color: #0056b3;
}
@media screen and(min-width: 320px) {
}
.highcharts-data-table {
  margin-left: 33px !important;
  overflow: scroll;
}

.highcharts-text {
  min-width: 165px;
}
.cookies-eu-content-holder {
  color: black;
}

form#user_register label{
  color: orange
}

#inner-header {
  background-color: #1f5599;
  color: #fff;
}

/* Style for the active link in the navbar */
.nav-item.active {
  background-color: #333; /* Change this to the background color you want for active links */
}

.text_sm{
  font-size:15px;
}

.container__predefined-ranges button{
  color: black;
}

/* Responsive font sizing for health score cards */
.score-value {
  font-size: 1rem; /* Default mobile size */
}

@media (min-width: 768px) {
  .score-value {
    font-size: 1.75rem !important; /* Larger font size for desktop */
  }
}
