.btn {
  font-family: var(--body-font-family) !important;
}
.btn_primary_default {
  background: var(--button-bg) !important;
  color: var(--button-txt) !important;
  border: 1px solid var(--button-border) !important;
  border-radius: var(--button-border-radius, 8px);
  font-size: var(--button-font-size, 16px);
  text-transform: var(--button-text-transform, uppercase) !important;
  letter-spacing: var(--button-letter-spacing, 0.1em);
  transition: all 0.5s ease;
  padding: 0.75rem 1rem;
  display: block;
  width: 100%;
  text-align: center;
  width: auto;
}
.btn_primary_default:hover,
.btn_primary_default.active {
  background: var(--button-hover-bg) !important;
  color: var(--button-hover-txt) !important;
  border: 1px solid var(--button-hover-border) !important;
  transform: translateY(-0.1rem);
}
.btn_primary_default:focus {
  background: var(--button-focus-bg) !important;
  color: var(--button-focus-txt) !important;
  border: 1px solid var(--button-focus-border) !important;
}
.btn_primary_default:disabled {
  background: var(--button-disabled-bg) !important;
  color: var(--button-disabled-txt) !important;
  border: 1px solid var(--button-disabled-border) !important;
  cursor: not-allowed;
}

.btn-primary-outline {
  background: transparent !important;
  color: var(--theme-primary-color) !important;
  border: 1px solid var(--theme-primary-color) !important;
  border-radius: var(--button-border-radius, 8px);
  font-size: var(--button-font-size, 16px);
  text-transform: var(--button-text-transform, uppercase) !important;
  letter-spacing: var(--button-letter-spacing, 0.1em);
  transition: all 0.5s ease;
  padding: 0.75rem 1rem;
  display: block;
  width: 100%;
  text-align: center;
  width: auto;
}
.btn-primary-outline:hover,
.btn-primary-outline.active {
  background: var(--theme-secondary-color) !important;
  color: var(--theme-light-color) !important;
  border: 1px solid var(--theme-primary-color) !important;
  transform: translateY(-0.1rem);
}

.btn-check:focus+.btn, .btn:focus {
    outline: 0;
    box-shadow: 0 0 0 .25rem var(--theme-primary-trans-color);
}

/* Navigation Pills */

.nav-pills {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 750px) {
  .nav-pills {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.nav-pills .nav-item {
  flex: 1 1 100%;
}

@media (min-width: 750px) {
  .nav-pills .nav-item {
    flex: 0 0 auto;
  }
}

.nav-pills .nav-link {
  font-family: var(--body-font-family) !important;
  background: transparent !important;
  color: var(--theme-primary-color) !important;
  border: 1px solid var(--theme-primary-color) !important;
  border-radius: var(--button-border-radius, 8px);
  font-size: var(--button-font-size, 16px);
  text-transform: var(--button-text-transform, uppercase) !important;
  letter-spacing: var(--button-letter-spacing, 0.1em);
  transition: all 0.5s ease;
  padding: 0.75rem 1rem;
  display: block;
  text-align: center;
}

@media (min-width: 750px) {
  .nav-pills .nav-link {
    min-width: 200px;
  }
}

.nav-pills .nav-link:hover,
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background: var(--button-bg) !important;
  color: var(--button-txt) !important;
  border: 1px solid var(--button-border) !important;
  border-radius: var(--button-border-radius, 8px);
}

.nav-pills .nav-link:hover:focus {
  background: var(--button-focus-bg) !important;
  color: var(--button-focus-txt) !important;
  border: 1px solid var(--button-focus-border) !important;
}

.nav-link.disabled {
  background: var(--button-disabled-bg) !important;
  color: var(--button-disabled-txt) !important;
  border: 1px solid var(--button-disabled-border) !important;
  cursor: not-allowed;
}

/************************************
  Timezone Dropdown Styling
*************************************/

/* Tabs timezone wrapper - contains both nav pills and timezone selector */
#tabs-timezone-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Timezone selector container */
#timezone-selector {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--theme-light-color) !important;
  color: var(--theme-primary-color) !important;
  border: 1px solid var(--theme-primary-color) !important;
  border-radius: var(--button-border-radius);
  font-size: var(--button-font-size);
  text-transform: var(--button-text-transform) !important;
  letter-spacing: var(--button-letter-spacing);
  transition: all 0.5s ease;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-weight: 400;
  min-width: 200px;
  user-select: none;
  width: auto;
  text-align: center;
}

#timezone-selector:hover {
  background: var(--theme-primary-color) !important;
  color: var(--theme-light-color) !important;
  border: 1px solid var(--theme-primary-color) !important;
}
#timezone-selector:hover #selected-timezone {
  color: var(--theme-light-color) !important;
}

#timezone-selector.open {
  background: var(--theme-primary-color) !important;
  color: var(--theme-light-color) !important;
  border: 1px solid var(--theme-primary-color) !important;
}

/* Selected timezone text */
#timezone-selector #selected-timezone {
  color: var(--theme-primary-color) !important;
  margin: 0;
  flex: 1;
  font-family: var(--body-font-family);
  font-size: var(--button-font-size);
  font-weight: 400;
  text-transform: var(--button-text-transform);
  letter-spacing: var(--button-letter-spacing);
}
#timezone-selector.open #selected-timezone {
  color: var(--theme-light-color) !important;
}

/* Dropdown arrow */
#timezone-selector i {
  margin-left: 0.5rem;
  font-size: 12px;
  transition: transform 0.3s ease;
  color: currentColor;
}
#timezone-selector.open i {
  transform: rotate(180deg);
}

/* Timezone dropdown menu - use existing dropdown-menu styling */
#timezone-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--theme-light-color);
  border: 1px solid var(--theme-primary-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
  width: max-content;
  min-width: 100%;
}

/* Timezone dropdown items - use existing dropdown-item styling */
#timezone-dropdown p {
  margin: 0;
  padding: 0.3rem 0;
  color: var(--theme-dark-color);
  cursor: pointer;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
  font-family: var(--body-font-family);
  font-size: var(--button-font-size);
  text-align: right;
  border: 0;
  background-color: transparent;
  width: 100%;
  display: block;
}

#timezone-dropdown p:hover {
  color: var(--theme-primary-color);
  background: transparent;
  text-decoration: none;
}

/* Responsive adjustments for timezone selector */
@media (max-width: 768px) {
  #tabs-timezone-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  
  #timezone-selector {
    align-self: center;
    min-width: 200px;
  }
}

@media (max-width: 576px) {
  #timezone-selector {
    width: 100%;
    min-width: auto;
  }
}

/************************************
  agenda timezone styles
*************************************/


/* Timezone selector container */
.post-type-archive-presentations #timezone-selector {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--theme-primary-color) !important;
  color: var(--theme-light-color) !important;
  border: 1px solid var(--theme-light-color) !important;
  border-radius: var(--button-border-radius);
  font-size: var(--button-font-size);
  text-transform: var(--button-text-transform) !important;
  letter-spacing: var(--button-letter-spacing);
  transition: all 0.5s ease;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-weight: 400;
  min-width: 200px;
  user-select: none;
  width: auto;
  text-align: center;
}

.post-type-archive-presentations #timezone-selector:hover {
  background: var(--theme-light-color) !important;
  color: var(--theme-primary-color) !important;
  border: 1px solid var(--theme-light-color) !important;
}
.post-type-archive-presentations #timezone-selector:hover #selected-timezone {
  color: var(--theme-primary-color) !important;
}

.post-type-archive-presentations #timezone-selector.open {
  background: var(--theme-light-color) !important;
  color: var(--theme-primary-color) !important;
  border: 1px solid var(--theme-primary-color) !important;
}

/* Selected timezone text */
.post-type-archive-presentations #timezone-selector #selected-timezone {
  color: var(--theme-light-color) !important;
  margin: 0;
  flex: 1;
  font-family: var(--body-font-family);
  font-size: var(--button-font-size);
  font-weight: 400;
  text-transform: var(--button-text-transform);
  letter-spacing: var(--button-letter-spacing);
}
.post-type-archive-presentations #timezone-selector.open #selected-timezone {
  color: var(--theme-primary-color) !important;
}