@import url("reset.css");

@import url("https://fonts.googleapis.com/css?family=Inter:regular,500,600,700&display=swap");

/* ************COMMON************ */

.logo {
  font-weight: 700;
  font-size: 3rem;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  color: #FFFFFF;
  background-color: #000000;
}

/* Global image styles - maintain aspect ratio and scale proportionally */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

[class*="__container"] {
  max-width: 72.624rem;
  margin: 0 auto;
  padding: 0 0.938rem;
}

.button {
  font-weight: 600;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #FFFFFF;
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  background-size: 200% auto;
}

.title {
  font-size: 3.5rem;
  font-weight: 600;
  color: transparent;
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  -webkit-background-clip: text;
  background-clip: text;
  animation: rainbow-flow 5s linear infinite;
  background-size: 200% auto;
}

.wrapper {
  min-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
}

/* ************HEADER************ */

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #000000;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 0;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 8rem;
  flex-wrap: wrap;
  max-width: 74.624rem;
  margin: 0 auto;
  padding: 0 0.938rem;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Make rainbow text exactly like homepage for all headers */
.header__logo.rainbow-text {
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 1;
  animation: rainbow-flow 5s linear infinite;
  background-size: 200% auto;
  font-size: 3rem;
  font-weight: 700;
}

.header__logo-img {
  height: auto;
  max-height: 100px;
  width: auto;
  max-width: 100%;
  filter: none;
  animation: none;
  opacity: 1;
  object-fit: contain;
}

.header__navigation {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.menu__body {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu__list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.menu__link {
  font-weight: 600;
  position: relative;
  color: #FFFFFF;
  font-size: 1rem;
  transition: all 0.3s;
}

.menu__link:hover {
  color: transparent;
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff);
  -webkit-background-clip: text;
  background-clip: text;
}

.actions-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Auth header within actions */
.header__auth.auth-header {
  margin-left: 0.5rem;
}

.icon-menu {
  display: none;
}

.actions-header__button {
  font-weight: 600;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 30px;
  transition: all 0.3s;
  position: relative;
  z-index: 2;
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  background-size: 200% auto;
  color: #000000;
  font-size: 1rem;
}

.actions-header__button:hover {
  background-position: right center;
}

/* ****************PAGES**************** */
.page__main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 10rem;
  padding-bottom: 1rem;
  box-sizing: border-box;
}

/* *****************HOME**************** */

.main {
  position: relative;
  background: none;
}

.main__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 0;
  width: 100%;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.main__caption {
  text-transform: uppercase;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 500;
  color: #FFFFFF;
}

.main__title {
  font-size: 5.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: transparent;
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  -webkit-background-clip: text;
  background-clip: text;
  animation: rainbow-flow 5s linear infinite;
  background-size: 200% auto;
}

.main__text {
  margin-bottom: 3.5rem;
  max-width: 33.375rem;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.main__button {
  font-weight: 600;
  display: inline-block;
  padding: 1.25rem 3rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #FFFFFF;
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  background-size: 200% auto;
  letter-spacing: 0.02em;
  font-size: 1.375rem;
  line-height: 110%;
}

.outro_home {
  background: url("../images/footerSkyline.png") center / cover no-repeat;
}

/* ************ABOUT**************** */

.main_about {
  position: relative;
  background: none;
}

.about__container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 12rem;
  padding-bottom: 4.75rem;
}

/* Home page about section - less padding since it follows the hero section */
.page__main + .page__about .about__container {
  padding-top: 2rem;
}

.about__image {
  position: relative;
  max-width: 552px;
  width: 100%;
  height: fit-content;
  display: inline-block;
  flex-shrink: 0;
}

.about__image img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  box-shadow: 0 0 15px 5px rgba(255, 0, 255, 0.3),
              0 0 25px 10px rgba(0, 255, 255, 0.2),
              0 0 35px 15px rgba(255, 255, 0, 0.1);
}

.about__title {
  margin-bottom: 1.5rem;
  color: transparent;
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  -webkit-background-clip: text;
  background-clip: text;
  animation: rainbow-flow 5s linear infinite;
  background-size: 200% auto;
}

.about__text {
  max-width: 30rem;
  letter-spacing: 0.02em;
  line-height: 150%;
  margin-bottom: 3.5rem;
}

.about__text p:not(:last-child) {
  margin-bottom: 2.5rem;
}

.outro_about {
  background: url("../images/footerSkyline.png") center / cover no-repeat;
}

/* **************SERVICES**************** */

.main_services {
  position: relative;
  background: none;
}

.services {
  background-color: transparent;
  padding: 8.75rem 0;
}

.services__container {
  padding-top: 0;
  padding-bottom: 0;
}

.services__title {
  text-align: center;
  margin-bottom: 5rem;
}

.services__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.item-services {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
}

.item-services__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.item-services__image {
  margin-bottom: 2rem;
  max-width: 360px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.item-services__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 0 15px 5px rgba(255, 0, 255, 0.3),
              0 0 25px 10px rgba(0, 255, 255, 0.2),
              0 0 35px 15px rgba(255, 255, 0, 0.1);
}

.item-services__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: transparent;
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  -webkit-background-clip: text;
  background-clip: text;
  animation: rainbow-flow 5s linear infinite;
  background-size: 200% auto;
  text-align: center;
  width: 100%;
}

.item-services__text {
  max-width: 360px;
  width: 100%;
  line-height: 150%;
  margin-bottom: 2rem;
  flex-grow: 1;
  letter-spacing: 0.02em;
  text-align: center;
}

.item-services__button {
  background: transparent;
  border: 2px solid;
  border-image: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff) 1;
  color: #FFFFFF;
}

.item-services__button:hover {
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  background-size: 200% auto;
  color: #000000;
  border: none;
}

.outro_services {
  background: url("../images/footerSkyline.png") center / cover no-repeat;
}

/* ************TESTIMONIAL**************** */

.testimonial__container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
}

.testiomonial__caption {
  margin-bottom: 4rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #FFFFFF;
}

.testimonial__title {
  margin-bottom: 4rem;
  font-size: 2rem;
  max-width: 40.75rem;
  line-height: 136%;
  font-weight: 500;
  color: transparent;
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  -webkit-background-clip: text;
  background-clip: text;
  animation: rainbow-flow 5s linear infinite;
  background-size: 200% auto;
}

.item-testimonial__image {
  max-width: 64px;
  width: 64px;
  margin: 0 auto;
  margin-bottom: 1.063rem;
}

.item-testimonial__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 50%;
}

.item-testimonial__title {
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.item-testimonial__caption {
  font-size: 0.938rem;
}

/* ****************OUTRO**************** */

.outro__container {
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.outro__title {
  margin-bottom: 1.25rem;
}

.outro__text {
  max-width: 33.625rem;
  line-height: 150%;
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.outro__button {
  padding: 1.25rem 3rem;
}

/* ****************FOOTER**************** */

.footer {
  line-height: 150%;
  background-color: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__container {
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
  max-width: 74.624rem;
  gap: 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer__policy {
  font-weight: 600;
  letter-spacing: 0.02em;
  justify-self: start;
  color: #FFFFFF;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer__logo.rainbow-text {
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 1;
  animation: rainbow-flow 5s linear infinite;
  background-size: 200% auto;
  font-size: 3rem;
  font-weight: 700;
}

.footer__logo-img {
  height: auto;
  max-height: 100px;
  width: auto;
  max-width: 100%;
  filter: none;
  animation: none;
  opacity: 1;
  object-fit: contain;
}

.footer__copyright {
  font-weight: 600;
  letter-spacing: 0.02em;
  justify-self: end;
  color: #FFFFFF;
}

/* ****************ABOUT PAGE**************** */
.main__text_pages {
  max-width: 37.5rem;
}

.main__container_pages {
  padding-top: 180px;
}

.main_pages {
  min-height: 676px !important;
  margin-top: 120px;
}

/* ****************SERVICES PAGE**************** */
.services-page__container {
  padding-top: 160px;
}

.services-page__item {
  margin-bottom: 132px;
}

.services-page__item:not(:last-child) {
  padding-bottom: 132px;
  margin-bottom: 132px;
  border-bottom: 1px solid rgba(48, 58, 77, 0.4);
}

.services-page__column {
  display: flex;
  align-items: center;
  gap: 97px;
}

.services-page__title {
  margin-bottom: 24px;
}

.services-page__text {
  margin-bottom: 56px;
  max-width: 480px;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.services-page__text p:not(:last-child) {
  margin-bottom: 20px;
}

.services-page__img {
  max-width: 552px;
  width: 100%;
}

.services-page__img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 0 15px 5px rgba(255, 0, 255, 0.3),
              0 0 25px 10px rgba(0, 255, 255, 0.2),
              0 0 35px 15px rgba(255, 255, 0, 0.1);
}

/* ****************CONTACT PAGE****************/

.main_contact {
  position: relative;
  background: none;
}

.contact__container {
  display: flex;
  justify-content: space-between;
  gap: 109px;
  padding-top: 12rem;
  padding-bottom: 140px;
}

.contact__title {
  margin-bottom: 48px;
  font-weight: 600;
  line-height: 110%;
  font-size: 40px;
}

.connect-contact {
  display: flex;
  flex-direction: column;
  align-items: start;
  row-gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e1e4eb;
}

.connect-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.connect-contact__icon img {
  width: auto;
  height: auto;
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
}

.connect-contant__type {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 110%;
  text-transform: uppercase;
}

.connect-contact__label {
  font-size: 22px;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.contact__links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact__link img {
  width: auto;
  height: auto;
  max-width: 32px;
  max-height: 32px;
  object-fit: contain;
}

.contact__text {
  max-width: 545px;
  font-size: 18px;
  line-height: 150%;
}

.contact__text p:not(:last-child) {
  margin-bottom: 15px;
}

iframe {
  width: 100vw;
  height: 482px;
  filter: grayscale(100%);
}

/* **************REVIEWS PAGE**************** */
.reviews__container {
  padding-top: 160px;
  padding-bottom: 160px;
}

.reviews__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
}

.reviews__column {
  border: 1px solid #e1e4eb;
  border-radius: 8px;
}

.reviews__item {
  padding-top: 48px;
  padding-bottom: 56px;
  padding-right: 32px;
  padding-left: 32px;
}

.item-reviews {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-reviews__img {
  max-width: 46px;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 46px;
}

.item-reviews__img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.item-reviews__text {
  margin-bottom: 40px;
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 150%;
}

.item-reviews__author {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.item-reviews__geo {
  font-size: 14px;
  letter-spacing: 0.002em;
}

/* ******************PRICING PAGE******************** */
.pricing__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pricing__caption {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 4%;
}

.pricing__title {
  font-weight: 600;
  font-size: 72px;
  margin-bottom: 24px;
  color: transparent;
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  -webkit-background-clip: text;
  background-clip: text;
  animation: rainbow-flow 5s linear infinite;
  background-size: 200% auto;
}

.pricing__text {
  font-size: 22px;
  letter-spacing: 2%;
  margin-bottom: 88px;
}

.pricing__row {
  display: flex;
  align-items: start;
  gap: 24px;
}

.pricing__column {
  border: 2px solid #e1e4eb;
  border-radius: 8px;
}

.pricing__item {
  padding: 40px;
  padding-bottom: 48px;
}

.item-pricing__info {
  padding-bottom: 32px;
  border-bottom: 1px solid #e1e4eb;
  margin-bottom: 32px;
}

.item-pricing__label {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1%;
  margin-bottom: 16px;
}

.item-pricing__cost {
  font-size: 72px;
  font-weight: 600;
  margin-bottom: 16px;
}

.item-pricing__list {
  margin-bottom: 64px;
}

.item-pricing__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-pricing__item::before {
  content: "";
  background: url("../img/pricing/check.svg") 0 0 no-repeat;
  width: 16px;
  height: 18px;
}

.item-pricing__item:not(:last-child) {
  margin-bottom: 12px;
}

.item-pricing__button {
  display: inline-block;
  font-size: 22px;
  letter-spacing: 2%;
  font-weight: 600;
  color: #FFFFFF;
  padding: 20px 82px;
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  background-size: 200% auto;
  border-radius: 64px;
}

.team {
  background-color: #e1e4eb;
}

.team__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.team__title {
  text-align: center;
  margin-bottom: 96px;
  max-width: 483px;
}

.team__row {
  display: grid;
  column-gap: 24px;
  row-gap: 96px;
  grid-template-columns: repeat(3, 1fr);
}

.team__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-team__img {
  max-width: 360px;
  width: 100%;
  margin-bottom: 40px;
}

.item-team__img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

.item-team__name {
  max-width: 186px;
  font-size: 32px;
  font-weight: 600;
  line-height: 120%;
  text-align: center;
  margin-bottom: 12px;
}

.item-team__role {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
  letter-spacing: 2%;
}

.item-team__role span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-team__role span::after {
  content: "";
  background: url("../img/team/icons/star.svg") 0 0 no-repeat;
  width: 12px;
  height: 12px;
}

.item-team__text {
  font-size: 16px;
  text-align: center;
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 328px;
  margin-bottom: 20px;
}

.item-team__icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* *************FAQ PAGE************** */
.faqs__container {
  padding-top: 140px;
  padding-bottom: 140px;
}

.faqs__title {
  text-align: center;
  margin-bottom: 80px;
}

.spollers-faq__item {
  width: 100%;
}

.spollers-faq__item:not(:last-child) {
  margin-bottom: 24px;
}

.spollers-faq__button {
  display: inline-block;
  border: 2px solid #e1e4eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-radius: 8px;
}

.spollers-faq__button span {
  padding-left: 40px;
  padding-top: 32px;
  padding-bottom: 32px;
  font-weight: 600;
}

.spollers-faq__button img {
  padding-right: 34.5px;
}

.spollers-faq__text {
  max-height: 0;
  overflow: hidden;
  width: 100%;
  display: block;
}

.spollers-faq__item.active .spollers-faq__text {
  max-height: 1000px;
  max-height: calc(1000px + 16px);
}

.spollers-faq__item.active .spollers-faq__button {
  border-bottom: none;
  border-radius: 8px 8px 0px 0px;
}

.spollers-faq__item.active .spollers-faq__button span {
  padding-bottom: 32px;
}

.spollers-faq__item.active .spollers-faq__button img {
  transform: translate(-34px, 0px) rotate(180deg);
}

.spollers-faq__inner {
  padding-top: 20px;
  padding-left: 40px;
  border: 2px solid #e1e4eb;
  border-radius: 0px 0px 8px 8px;
  line-height: 150%;
  padding-bottom: 20px;
  border-top: none;
  padding-right: 100px;
}

/* ****************TEAM PAGE**************** */
.director__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  align-items: center;
  gap: 96px;
}

.director__title {
  margin-bottom: 16px;
}

.director__role {
  font-size: 22px;
  letter-spacing: 2%;
  margin-bottom: 40px;
}

.director__text {
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 480px;
}

.director__text p:not(:last-child) {
  margin-bottom: 20px;
}

.director__img {
  max-width: 552px;
  width: 100%;
}

.director__img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
}

/* ****************GALLERY**************** */
.gallery__container {
  padding-bottom: 140px;
  padding-top: 140px;
}

.gallery__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
  margin-bottom: 96px;
  justify-items: center;
}

.gallery__item {
  max-width: 360px;
  width: 100%;
}

.gallery__item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 0 15px 5px rgba(255, 0, 255, 0.3),
              0 0 25px 10px rgba(0, 255, 255, 0.2),
              0 0 35px 15px rgba(255, 255, 0, 0.1);
}

.gallery__paggination {
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: center;
  gap: 42px;
}

.gallery__paggination button:first-child {
  transform: translate(0px, 5px);
}

.gallery__paggination button:last-child {
  transform: rotate(-180deg) translate(0px, 5px);
}

.gallery_active {
  color: #FFFFFF;
  padding: 10px 15px;
  background-color: #303a4d;
  border-radius: 100px;
  display: inline-block;
}

/* ****************RESOURCES**************** */
.resources__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
  justify-items: center;
}

.resources__img {
  max-width: 360px;
  width: 100%;
  margin-bottom: 32px;
}

.resources__img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 15px 5px rgba(255, 0, 255, 0.3),
              0 0 25px 10px rgba(0, 255, 255, 0.2),
              0 0 35px 15px rgba(255, 255, 0, 0.1);
}

.resources__title {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 12px;
}

.resources__text {
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 243px;
  margin-bottom: 32px;
}

.resources__button {
  background-color: #fff;
  color: #303a4d;
  font-weight: 600;
  letter-spacing: 2%;
  border: 2px solid #303a4d;
  border-radius: 64px;
}

/* ****************ADAPTIVE**************** */

@media (max-width: 992px) {
  .services__row {
    grid-template-columns: 1fr;
    gap: 6rem;
    justify-items: center;
  }

  .item-services {
    text-align: center;
    align-items: center;
  }

  .page__main {
    padding-bottom: 80px;
  }
}

@media (min-width: 47.999rem) {
  .menu__list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 995px) {
  .item-pricing__button {
    font-size: 19px;
  }
}

@media (max-width: 62.6875rem) {
  .resources__container {
    padding-top: 70px;
    padding-bottom: 70px;
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__paggination {
    gap: 27px;
  }

  .gallery__row {
    grid-template-columns: repeat(2, 1fr);
  }

  .team__row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .director__container {
    flex-direction: column;
    padding-top: 70px;
    padding-bottom: 70px;
    gap: 10px;
    text-align: center;
  }

  .item-pricing {
    padding: 20px;
    padding-bottom: 30px;
  }

  .pricing__title {
    font-size: 39px;
  }

  .pricing__text {
    margin-bottom: 25px;
  }

  .item-pricing__button {
    padding: 16px 42px;
  }

  .footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    gap: 1rem;
  }

  .footer__logo {
    order: 1;
    margin: 0;
  }

  .footer__policy {
    order: 2;
    justify-self: center;
    text-align: center;
    margin: 0;
  }

  .footer__copyright {
    order: 3;
    justify-self: center;
    text-align: center;
    margin: 0;
  }

  .services-page__column {
    gap: 30px;
    font-size: 15px;
  }

  .services-page__title {
    font-size: 29px;
  }

  .reviews__row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
    column-gap: 10px;
  }

  .reviews__item {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
    display: inline-block;
  }

  .item-reviews__text {
    font-size: 16px;
  }

  .item-reviews__author {
    font-size: 16px;
  }
}

@media (max-width: 47.999rem) {
  .spollers-faq__item.active .spollers-faq__button img {
    transform: translate(-10px, -10px) rotate(180deg);
  }

  .spollers-faq__button span {
    padding-top: 15px;
    padding-left: 10px;
    padding-bottom: 15px;
    font-weight: 600;
    font-size: 14px;
  }

  .spollers-faq__button img {
    padding-right: 10px;
  }

  .spollers-faq__inner {
    font-size: 16px;
    padding-left: 10px;
    line-height: 130%;
  }

  .pricing__container {
    text-align: center;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .pricing__row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .item-pricing__button {
    font-size: 17px;
    padding: 15px 32px;
  }

  .reviews__container {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  /* ===== HEADER MOBILE FIXES ===== */
  .header {
    padding: 5px 0;
  }

  .header__container {
    min-height: 4rem;
    padding: 0 0.75rem;
    gap: 0.5rem;
    position: relative;
  }

  .header__logo {
    gap: 8px;
  }

  .header__logo.rainbow-text {
    font-size: 1.25rem;
  }

  .header__logo-img {
    max-height: 45px;
  }

  .header__navigation {
    gap: 0.75rem;
    margin-left: auto;
    position: relative;
  }

  .header__actions {
    order: 2;
  }

  .icon-menu {
    display: block;
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 2rem;
    flex: 0 0 2rem;
    width: 2rem;
    height: 1.25rem;
    cursor: pointer;
    z-index: 5;
  }

  .icon-menu span,
  .icon-menu::before,
  .icon-menu::after {
    content: "";
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    right: 0;
    position: absolute;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
    background-size: 200% auto;
    animation: rainbow-flow 5s linear infinite;
  }

  .icon-menu::before {
    top: 0;
  }

  .icon-menu::after {
    bottom: 0;
  }

  .contact__container {
    flex-direction: column;
    padding-top: 80px;
    gap: 50px;
    padding-bottom: 80px;
  }

  .icon-menu span {
    top: calc(50% - 1.5px);
  }

  .menu-open .icon-menu span {
    width: 0;
  }

  .menu-open .icon-menu::before {
    top: calc(50% - 1.5px);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .menu-open .icon-menu::after {
    bottom: calc(50% - 1.5px);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .header__menu {
    position: static;
  }

  /* Hide menu by default on mobile */
  .menu__body {
    display: none !important;
    background: #000000;
    position: absolute;
    top: 100%;
    right: 0;
    width: 220px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8),
                0 0 30px rgba(255, 0, 255, 0.3),
                0 0 60px rgba(0, 255, 255, 0.15);
    padding: 1rem 0;
    border: 2px solid rgba(255, 0, 255, 0.4);
    z-index: 9999;
  }

  .menu__body::before {
    display: none !important;
  }

  /* Show menu when open */
  .menu-open .menu__body {
    display: block !important;
  }

  /* Reset any nested menu__body */
  .menu__body .menu__body {
    position: static !important;
    background: transparent !important;
    width: 100% !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: block !important;
  }

  .menu__list {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .menu__item {
    text-align: center;
    border-bottom: none;
  }

  .menu__item:last-child {
    border-bottom: none;
  }

  .menu__item:not(:last-child) {
    margin-bottom: 0;
  }

  .menu__link {
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    padding: 0.875rem 1.25rem;
    transition: all 0.3s ease;
    background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    background-size: 200% auto;
    animation: rainbow-flow 5s linear infinite;
  }

  .menu__link:hover {
    transform: scale(1.05);
  }

  .menu__body .actions-header__button {
    margin: 0.75rem 1rem 0.5rem 1rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    text-align: center;
    display: block;
  }

  .actions-header__button {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  /* ===== FOOTER MOBILE FIXES ===== */
  .footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    gap: 1rem;
  }

  .footer__logo {
    order: 1;
    gap: 8px;
    margin: 0;
  }

  .footer__logo.rainbow-text {
    font-size: 1.25rem;
  }

  .footer__logo-img {
    max-height: 40px;
  }

  .footer__policy {
    order: 2;
    font-size: 0.8rem;
    margin: 0;
  }

  .footer__copyright {
    order: 3;
    font-size: 0.8rem;
    margin: 0;
  }

  .main__container {
    padding-top: 8rem;
  }

  .main__container_pages {
    padding-top: 290px;
  }

  .main__title {
    font-size: 2.5rem;
  }

  .title {
    font-size: 2rem;
  }

  .about__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .about__container {
    flex-direction: column;
    padding-top: 4rem;
    padding-bottom: 3rem;
    gap: 2rem;
  }

  /* Home page about section - less padding on mobile too */
  .page__main + .page__about .about__container {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
  }

  /* Hide CTA button in about section on mobile */
  .page__about .about__button {
    display: none;
  }

  .about__text {
    margin-bottom: 0;
  }

  .services__container {
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
  }

  .testimonial__title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .testiomonial__caption {
    margin-bottom: 2rem;
  }

  .outro__container {
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
  }

  .logo {
    font-size: 1.25rem;
  }

  .services-page__column {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 20px;
    gap: 4rem;
  }

  .experiences-page__column {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 20px;
    gap: 4rem;
  }

  .page__main {
    padding-top: 6rem;
  }
}

@media (max-width: 61.936rem) {
  .footer__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem 1rem;
  }

  .footer__logo {
    order: 1;
  }

  .footer__policy {
    order: 2;
    justify-self: center;
  }

  .footer__copyright {
    order: 3;
    justify-self: center;
  }

  .logo {
    font-size: 2rem;
  }
}

@media (max-width: 530px) {
  .reviews__row {
    grid-template-columns: 1fr;
  }

  .team__row {
    grid-template-columns: 1fr;
  }

  .gallery__row {
    grid-template-columns: 1fr;
  }

  .resources__container {
    grid-template-columns: 1fr;
  }
}

/* ************RAINBOW THEME************ */

/* Rainbow gradient text */
.rainbow-text {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rainbow-flow 5s linear infinite;
  background-size: 200% auto;
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
}

/* Rainbow text with mouse reactivity */
.rainbow-text.gradient-follow {
  background-image: linear-gradient(45deg, 
    #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  transition: filter 0.5s ease;
}

/* Update all title elements to include rainbow text effects */
.title, .main__title, .about__title, .services__title, .testimonial__title, 
.contact__title, .outro__title, .shuttles__title, .pricing__title {
  color: transparent;
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  -webkit-background-clip: text;
  background-clip: text;
  animation: rainbow-flow 5s linear infinite;
  background-size: 200% auto;
  transition: filter 0.5s ease;
}

/* Update header and footer logo rainbow text */
.header__logo.rainbow-text, .footer__logo.rainbow-text {
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 1;
  animation: rainbow-flow 5s linear infinite;
  background-size: 200% auto;
  font-size: 3rem;
  font-weight: 700;
  transition: filter 0.5s ease;
}

/* Animation for the gradient flow */
@keyframes rainbow-flow {
  to {
    background-position: 200% center;
  }
}

/* Simple pulsing glow for key elements */
.rainbow-glow {
  box-shadow: 0 0 15px 5px rgba(255, 0, 255, 0.5), /* Magenta */
              0 0 25px 10px rgba(0, 255, 255, 0.4), /* Cyan */
              0 0 35px 15px rgba(255, 255, 0, 0.3); /* Yellow */
  animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
  from {
    box-shadow: 0 0 10px 2px rgba(255, 0, 255, 0.4),
                0 0 15px 5px rgba(0, 255, 255, 0.3),
                0 0 20px 8px rgba(255, 255, 0, 0.2);
  }
  to {
    box-shadow: 0 0 20px 8px rgba(255, 0, 255, 0.6),
                0 0 30px 12px rgba(0, 255, 255, 0.5),
                0 0 40px 18px rgba(255, 255, 0, 0.4);
  }
}

/* Style for the secondary swirl placeholder */
.swirl-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    red, orange, yellow, lime, aqua, blue, violet, red
  );
  animation: spin 4s linear infinite;
  opacity: 0.3; /* Make it subtle like a watermark */
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Apply rainbow theme to existing elements */
.header {
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu__link {
  color: #FFFFFF;
}

.menu__link:hover {
  color: transparent;
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff);
  -webkit-background-clip: text;
  background-clip: text;
}

.actions-header__button {
  border: 2px solid transparent;
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  background-size: 200% auto;
  color: #000000;
  font-weight: bold;
  transition: background-position 0.5s ease;
}

.actions-header__button:hover {
  background-position: right center;
}

.button, .main__button, .outro__button {
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  background-size: 200% auto;
  color: #000000;
  font-weight: bold;
  border: none;
  transition: background-position 0.5s ease;
}

.button:hover, .main__button:hover, .outro__button:hover {
  background-position: right center;
}

.main__caption, .testiomonial__caption {
  color: #FFFFFF;
}

.services, .footer {
  background-color: transparent;
}

.item-services__button {
  background: transparent;
  border: 2px solid;
  border-image: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff) 1;
  color: #FFFFFF;
}

.item-services__button:hover {
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  background-size: 200% auto;
  color: #000000;
  border: none;
}

.footer__policy, .footer__copyright, .footer__logo {
  color: #FFFFFF;
}

/* Add rainbow glow to images */
.about__image img, .item-services__image img, .services-page__img img {
  border-radius: 16px;
  box-shadow: 0 0 15px 5px rgba(255, 0, 255, 0.3),
              0 0 25px 10px rgba(0, 255, 255, 0.2),
              0 0 35px 15px rgba(255, 255, 0, 0.1);
}


/* Video background styles */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

/* Interactive rainbow background effect */
.rainbow-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #000000;
  overflow: hidden;
}

.rainbow-background::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, 
    transparent 0%,
    rgba(255, 0, 255, 0.05) 10%,
    rgba(255, 0, 0, 0.03) 20%,
    rgba(255, 255, 0, 0.03) 30%,
    rgba(0, 255, 0, 0.03) 40%,
    rgba(0, 255, 255, 0.03) 50%,
    rgba(0, 0, 255, 0.03) 60%,
    transparent 70%);
  opacity: 0.7;
  transform-origin: center;
  animation: pulse 15s ease-in-out infinite alternate;
}

.rainbow-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, 
    rgba(255, 0, 255, 0.05) 0%,
    rgba(255, 0, 0, 0.0) 20%,
    rgba(255, 255, 0, 0.05) 40%,
    rgba(0, 255, 0, 0.0) 60%,
    rgba(0, 0, 255, 0.05) 80%,
    rgba(255, 0, 255, 0.0) 100%);
  background-size: 400% 400%;
  animation: gradient-shift 10s ease infinite;
}

/* Rainbow particles */
.rainbow-particle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  z-index: -1;
  animation: float-up 4s ease-out forwards;
}

@keyframes pulse {
  0% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.2) rotate(180deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes float-up {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }
  100% {
    transform: translateY(-100px) scale(0);
    opacity: 0;
  }
}

/* Updated mouse-reactive rainbow effects */
.mouse-reactive {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Create a moving gradient based on mouse position */
.gradient-follow {
  background-size: 400% 400%;
  transition: filter 0.5s ease;
}

/* Rainbow background with mouse reactivity */
.rainbow-bg.gradient-follow {
  background-image: linear-gradient(45deg, 
    #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  background-size: 200% auto;
}

/* Add a glow that follows the mouse color */
.glow-follow {
  position: relative;
  transition: box-shadow 0.5s ease;
}

.glow-follow img {
  position: relative;
  z-index: 1;
}

.glow-follow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border-radius: inherit;
  z-index: 0;
  transition: box-shadow 0.5s ease;
}

/* **************SHUTTLES**************** */

.main_shuttles {
  position: relative;
  background: none;
}

.shuttles {
  background-color: transparent;
}

.shuttles__container {
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
}

.shuttles__title {
  text-align: center;
  margin-bottom: 5rem;
  color: transparent;
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  -webkit-background-clip: text;
  background-clip: text;
  animation: rainbow-flow 5s linear infinite;
  background-size: 200% auto;
}

/* Keep the existing services styles but add shuttles styles */
.shuttles-page__container {
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
}

.shuttles-page__item:not(:last-child) {
  margin-bottom: 8.75rem;
}

.shuttles-page__column {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.shuttles-page__content {
  max-width: 33.75rem;
}

.shuttles-page__title {
  margin-bottom: 1.5rem;
}

.shuttles-page__text {
  margin-bottom: 3.5rem;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.shuttles-page__text p:not(:last-child) {
  margin-bottom: 2.5rem;
}

.shuttles-page__img {
  max-width: 552px;
  width: 100%;
}

.shuttles-page__img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 0 15px 5px rgba(255, 0, 255, 0.3),
              0 0 25px 10px rgba(0, 255, 255, 0.2),
              0 0 35px 15px rgba(255, 255, 0, 0.1);
}

.outro_shuttles {
  background: url("../images/footerSkyline.png") center / cover no-repeat;
}

/* ************EXPERIENCES PAGE************ */
.main_experiences {
  position: relative;
  background: none;
}

.experiences-page__container {
  padding-top: 12rem;
  padding-bottom: 8.75rem;
}

.experiences-page__item:not(:last-child) {
  margin-bottom: 8.75rem;
}

.experiences-page__column {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.experiences-page__content {
  max-width: 33.75rem;
}

.experiences-page__title {
  margin-bottom: 1.5rem;
}

.experiences-page__text {
  margin-bottom: 3.5rem;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.experiences-page__text p:not(:last-child) {
  margin-bottom: 2.5rem;
}

.experiences-page__img {
  max-width: 552px;
  width: 100%;
}

.experiences-page__img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 0 15px 5px rgba(255, 0, 255, 0.3),
              0 0 25px 10px rgba(0, 255, 255, 0.2),
              0 0 35px 15px rgba(255, 255, 0, 0.1);
}

.experiences-page__button {
  font-weight: 600;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #FFFFFF;
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  background-size: 200% auto;
}

.outro_experiences {
  background: url("../images/footerSkyline.png") center / cover no-repeat;
}

/* Ensure main sections have proper height and positioning */
.main, .main_about, .main_services, .main_contact, .main_shuttles, .main_experiences {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ensure consistent background across all sections */
.page__services {
  position: relative;
  z-index: 1;
}

/* Hero 3D Model Container - Ensure full width */
#hero-3d-container {
  width: 100%; /* Make sure it's full width */
  height: 450px; /* Maybe slightly taller for larger models */
  min-height: 300px; /* Ensure minimum height */
  overflow: hidden;
  margin-top: 0.2rem; /* Reduced spacing between Reserve Now button and 3D model */
  margin-bottom: 0;
  position: relative;
  flex-shrink: 0;
}

#hero-3d-container canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* ************RESERVATION PAGE************ */

.reserve {
  min-height: 100vh;
  padding-top: 10rem;
  padding-bottom: 5rem;
  position: relative;
}

.reserve__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.reserve__header {
  text-align: center;
  margin-bottom: 4rem;
}

.reserve__caption {
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 500;
  color: #FFFFFF;
  letter-spacing: 0.1em;
}

.reserve__title {
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.reserve__subtitle {
  max-width: 600px;
  margin: 0 auto;
  line-height: 160%;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.reserve__form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3.5rem;
  backdrop-filter: blur(10px);
}

.reserve__form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.reserve__form-section {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.reserve__form-section--full {
  margin-bottom: 3rem;
}

.reserve__section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: transparent;
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  -webkit-background-clip: text;
  background-clip: text;
  animation: rainbow-flow 5s linear infinite;
  background-size: 200% auto;
  margin-bottom: 0.5rem;
}

.reserve__input-group {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.reserve__label {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.reserve__input {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: #FFFFFF;
  font-family: inherit;
  transition: all 0.3s ease;
}

.reserve__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.reserve__input:focus {
  outline: none;
  border-color: transparent;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 2px rgba(255, 0, 255, 0.5),
              0 0 20px rgba(255, 0, 255, 0.2),
              0 0 40px rgba(0, 255, 255, 0.1);
}

.reserve__input:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.reserve__select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 3rem;
}

.reserve__select option {
  background: #1a1a1a;
  color: #FFFFFF;
  padding: 1rem;
}

.reserve__textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

.reserve__contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 0.5rem;
}

.reserve__submit-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1rem;
}

.reserve__submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #000000;
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  background-size: 200% auto;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s ease;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.reserve__submit-btn:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(255, 0, 255, 0.3),
              0 0 60px rgba(0, 255, 255, 0.2);
}

.reserve__submit-btn:active {
  transform: translateY(0);
}

.reserve__submit-btn svg {
  transition: transform 0.3s ease;
}

.reserve__submit-btn:hover svg {
  transform: translateX(4px);
}

.reserve__disclaimer {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  max-width: 400px;
}

/* Date and time input styling for webkit browsers */
.reserve__input[type="date"],
.reserve__input[type="time"] {
  color-scheme: dark;
}

.reserve__input[type="date"]::-webkit-calendar-picker-indicator,
.reserve__input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.reserve__input[type="date"]::-webkit-calendar-picker-indicator:hover,
.reserve__input[type="time"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* Number input spinner styling */
.reserve__input[type="number"]::-webkit-inner-spin-button,
.reserve__input[type="number"]::-webkit-outer-spin-button {
  opacity: 0.5;
}

/* Responsive styles for reservation page */
@media (max-width: 768px) {
  .reserve {
    padding-top: 8rem;
  }

  .reserve__title {
    font-size: 2.5rem;
  }

  .reserve__form {
    padding: 2rem 1.5rem;
  }

  .reserve__form-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .reserve__contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .reserve__submit-btn {
    width: 100%;
    padding: 1rem 2rem;
  }
}

@media (max-width: 480px) {
  .reserve__title {
    font-size: 2rem;
  }

  .reserve__form {
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }

  .reserve__section-title {
    font-size: 1.1rem;
  }

  .reserve__input {
    padding: 0.875rem 1rem;
  }
}

/* ************RESERVATION MODALS************ */

.reservation-success-overlay,
.reservation-error-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
}

.reservation-success-overlay.show,
.reservation-error-overlay.show {
  opacity: 1;
}

.reservation-success-modal,
.reservation-error-modal {
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.95), rgba(15, 15, 15, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 0 60px rgba(255, 0, 255, 0.2),
              0 0 120px rgba(0, 255, 255, 0.1);
}

.reservation-success-overlay.show .reservation-success-modal,
.reservation-error-overlay.show .reservation-error-modal {
  transform: scale(1) translateY(0);
}

.success-icon,
.error-icon {
  margin-bottom: 1.5rem;
}

.success-icon svg,
.error-icon svg {
  width: 80px;
  height: 80px;
}

.success-title,
.error-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.success-title {
  background: linear-gradient(to right, #ff00ff, #00ffff, #00ff00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.success-message,
.error-message {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.success-reference {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-family: monospace;
}

.success-reference strong {
  color: #00ffff;
}

.error-help {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
}

.error-help a {
  color: #ff00ff;
  text-decoration: underline;
}

.success-close-btn,
.error-close-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.success-close-btn {
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  background-size: 200% auto;
  color: #000000;
}

.success-close-btn:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(255, 0, 255, 0.3);
}

.error-close-btn {
  background: rgba(255, 68, 68, 0.2);
  color: #ff4444;
  border: 2px solid #ff4444;
}

.error-close-btn:hover {
  background: #ff4444;
  color: #000000;
}

@media (max-width: 480px) {
  .reservation-success-modal,
  .reservation-error-modal {
    padding: 2rem 1.5rem;
  }

  .success-title,
  .error-title {
    font-size: 1.5rem;
  }

  .success-icon svg,
  .error-icon svg {
    width: 64px;
    height: 64px;
  }
}

/* ************PAYMENT PAGE************ */

.payment {
  min-height: 100vh;
  padding-top: 10rem;
  padding-bottom: 5rem;
  position: relative;
}

.payment__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Loading State */
.payment__loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  flex-direction: column;
  gap: 2rem;
}

.payment__loader {
  text-align: center;
}

.loader-ring {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: #ff00ff;
  border-right-color: #00ffff;
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  animation: loader-spin 1s linear infinite;
}

@keyframes loader-spin {
  to { transform: rotate(360deg); }
}

.payment__loader p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

/* Error State */
.payment__error,
.payment__success {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.error-content,
.success-content {
  text-align: center;
  max-width: 480px;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
}

.error-icon,
.success-icon {
  margin-bottom: 1.5rem;
}

.error-title,
.payment__success .success-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.error-message,
.success-message {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.paid-amount {
  font-family: monospace;
  color: #00ff00;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 255, 0, 0.1);
  border-radius: 8px;
}

/* Payment Form */
.payment__form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.payment__header {
  text-align: center;
  margin-bottom: 1rem;
}

.payment__caption {
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 500;
  color: #FFFFFF;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
}

.payment__title {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.payment__subtitle {
  max-width: 500px;
  margin: 0 auto;
  line-height: 160%;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

/* Summary Section */
.payment__summary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
}

.summary__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: transparent;
  background: linear-gradient(to right, #ff00ff, #00ffff);
  -webkit-background-clip: text;
  background-clip: text;
}

.summary__id {
  font-family: monospace;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.summary__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

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

.summary__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
}

.summary__value {
  font-size: 1rem;
  color: #FFFFFF;
  font-weight: 500;
}

.summary__experience {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.summary__description {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 0.95rem;
  max-height: 120px;
  overflow-y: auto;
}

/* Payment Details Section */
.payment__details {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
}

.payment__pricing {
  margin-bottom: 2rem;
}

.pricing__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.pricing__row--total {
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  margin-top: 1rem;
  padding-top: 1rem;
}

.pricing__row--discount {
  color: #00ff00;
}

.pricing__label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.pricing__row--total .pricing__label {
  font-weight: 600;
  color: #FFFFFF;
  font-size: 1.1rem;
}

.pricing__value {
  font-weight: 500;
  font-size: 1rem;
  color: #FFFFFF;
}

.pricing__value--total {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(to right, #ff00ff, #00ffff, #00ff00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing__value--discount {
  color: #00ff00;
}

.pricing__discounts {
  border-left: 3px solid #00ff00;
  padding-left: 1rem;
  margin: 0.5rem 0;
}

.pricing__notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 0.9rem;
  color: #00ffff;
  margin-top: 1rem;
}

/* Payment Action */
.payment__action {
  text-align: center;
}

.payment__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #000000;
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  background-size: 200% auto;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s ease;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.payment__btn:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(255, 0, 255, 0.3),
              0 0 60px rgba(0, 255, 255, 0.2);
}

.payment__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.payment__btn--secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

.payment__btn--secondary:hover {
  border-color: #ff00ff;
  background: rgba(255, 0, 255, 0.1);
  box-shadow: none;
}

.payment__security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.payment__security svg {
  flex-shrink: 0;
}

/* What's Included */
.payment__included {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem 2rem;
}

.included__title {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.included__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.included__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.included__list li::before {
  content: "✓";
  color: #00ff00;
  font-weight: bold;
}

/* Success Animation */
.success-icon--animated .success-circle {
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  animation: circle-draw 0.8s ease forwards;
}

.success-icon--animated .success-check {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: check-draw 0.4s ease forwards 0.6s;
}

@keyframes circle-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes check-draw {
  to { stroke-dashoffset: 0; }
}

.success-details {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 2rem;
}

.success-ref {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* Payment Page Responsive */
@media (max-width: 768px) {
  .payment {
    padding-top: 8rem;
  }

  .payment__title {
    font-size: 2.25rem;
  }

  .payment__summary,
  .payment__details,
  .payment__included {
    padding: 1.5rem;
  }

  .summary__grid {
    grid-template-columns: 1fr;
  }

  .included__list {
    grid-template-columns: 1fr;
  }

  .payment__btn {
    width: 100%;
    padding: 1rem 2rem;
  }
}

@media (max-width: 480px) {
  .payment__container {
    padding: 0 1rem;
  }

  .payment__title {
    font-size: 1.75rem;
  }

  .summary__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .pricing__value--total {
    font-size: 1.25rem;
  }

  .error-content,
  .success-content {
    padding: 2rem 1.5rem;
  }
}

/* ************AUTHENTICATION STYLES************ */

/* Auth Header Container */
.auth-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Loading Spinner */
.auth-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.auth-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ff00ff;
  border-radius: 50%;
  animation: auth-spin 0.8s linear infinite;
}

@keyframes auth-spin {
  to { transform: rotate(360deg); }
}

/* Account Icon Button (Initial/Loading State) */
.auth-account-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-account-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ff00ff;
  color: #ff00ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 0, 255, 0.25);
}

.auth-account-btn svg {
  width: 22px;
  height: 22px;
}

/* Auth Buttons (Sign In/Up) */
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.auth-btn {
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.auth-btn-signin {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.auth-btn-signin:hover {
  border-color: #ff00ff;
  color: #ff00ff;
}

.auth-btn-signup {
  color: #000000;
  background: linear-gradient(to right, #ff00ff, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff);
  background-size: 200% auto;
  animation: rainbow-flow 3s linear infinite;
}

.auth-btn-signup:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 0, 255, 0.4);
}

/* User Menu Button */
.auth-user-menu {
  position: relative;
}

.auth-user-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-user-button:hover .auth-avatar {
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.5), 0 0 30px rgba(0, 255, 255, 0.3);
}

.auth-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: none;
  transition: all 0.3s ease;
}

/* Rainbow glow when dropdown is open */
.auth-user-menu .auth-dropdown.active ~ .auth-user-button .auth-avatar,
.auth-user-button:active .auth-avatar,
.auth-user-menu.menu-open .auth-avatar {
  box-shadow: 
    0 0 10px rgba(255, 0, 255, 0.6),
    0 0 20px rgba(255, 0, 255, 0.4),
    0 0 30px rgba(0, 255, 255, 0.3),
    0 0 40px rgba(255, 0, 255, 0.2);
  animation: avatar-rainbow-glow 2s ease-in-out infinite;
}

@keyframes avatar-rainbow-glow {
  0%, 100% {
    box-shadow: 
      0 0 10px rgba(255, 0, 255, 0.6),
      0 0 20px rgba(255, 0, 255, 0.4),
      0 0 30px rgba(0, 255, 255, 0.3);
  }
  50% {
    box-shadow: 
      0 0 10px rgba(0, 255, 255, 0.6),
      0 0 20px rgba(0, 255, 255, 0.4),
      0 0 30px rgba(255, 0, 255, 0.3);
  }
}

.auth-user-name {
  font-size: 0.9rem;
  font-weight: 500;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-role-badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  background: rgba(255, 0, 255, 0.2);
  color: #ff00ff;
}

/* Role-specific badge colors */
.role-admin .auth-role-badge {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
}

.role-driver .auth-role-badge {
  background: rgba(0, 255, 255, 0.2);
  color: #00ffff;
}

.role-rider .auth-role-badge {
  background: rgba(0, 255, 0, 0.2);
  color: #00ff00;
}

.auth-chevron {
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.auth-user-menu:has(.auth-dropdown.active) .auth-chevron {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.auth-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 260px;
  background: rgba(20, 20, 20, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1100;
  overflow: hidden;
}

.auth-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.auth-dropdown-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.auth-dropdown-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.auth-dropdown-info {
  flex: 1;
  min-width: 0;
}

.auth-dropdown-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-dropdown-email {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0.25rem 0;
}

.auth-dropdown-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.4);
  padding: 0.5rem 1rem 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.auth-dropdown-label svg {
  opacity: 0.5;
}

.auth-dropdown-real-role {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.25rem;
}

/* Admin View Switcher in Dropdown */
.auth-view-switcher {
  padding: 0.5rem 1rem;
  background: rgba(255, 215, 0, 0.05);
  border-left: 3px solid rgba(255, 215, 0, 0.4);
}

.auth-view-switcher .auth-dropdown-label {
  padding: 0 0 0.5rem 0;
  color: rgba(255, 215, 0, 0.7);
}

.view-switcher-buttons {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.view-switch-btn {
  flex: 1;
  min-width: 70px;
  padding: 0.4rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.view-switch-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.view-switch-btn.active {
  background: rgba(255, 0, 255, 0.15);
  border-color: rgba(255, 0, 255, 0.5);
  color: #ff00ff;
  font-weight: 600;
}

/* Simulating indicator on user button */
.auth-user-menu.simulating .auth-role-badge {
  background: rgba(255, 165, 0, 0.25);
  color: #ffa500;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.auth-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.auth-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.auth-dropdown-item svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.auth-dropdown-item:hover svg {
  opacity: 1;
}

.auth-signout {
  color: rgba(255, 100, 100, 0.85);
}

.auth-signout:hover {
  background: rgba(255, 100, 100, 0.1);
  color: #ff6464;
}

/* Auth-based visibility utilities */
[data-auth-show="signed-in"] { display: none; }
[data-auth-show="signed-out"] { display: block; }
[data-auth-show="admin"] { display: none; }
[data-role-access] { display: none; }

/* ============================================
   AUTH LOADING SCREEN
   Prevents flash of unauthorized content
   ============================================ */

/* Auth loading overlay - shown while checking authentication */
.auth-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a1a 50%, #0a0a0a 100%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.auth-loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.auth-loading-overlay__logo {
  width: 120px;
  height: auto;
  margin-bottom: 2rem;
  animation: auth-logo-pulse 2s ease-in-out infinite;
}

@keyframes auth-logo-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
}

.auth-loading-overlay__spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #ff00ff;
  border-radius: 50%;
  animation: auth-spinner 0.8s linear infinite;
  margin-bottom: 1.5rem;
}

@keyframes auth-spinner {
  to { transform: rotate(360deg); }
}

.auth-loading-overlay__text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* Protected page content - hidden until auth verified */
.protected-page-content {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.protected-page-content.auth-verified {
  opacity: 1;
}

/* Quick transition for users who are already authenticated */
.auth-instant .protected-page-content {
  transition: none;
}

.auth-instant .auth-loading-overlay {
  transition: none;
}

/* Mobile Auth Styles */
@media (max-width: 768px) {
  .auth-account-btn {
    width: 38px;
    height: 38px;
  }
  
  .auth-account-btn svg {
    width: 20px;
    height: 20px;
  }
  
  .auth-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .auth-btn {
    width: 100%;
    text-align: center;
  }
  
  .auth-user-name {
    display: none;
  }
  
  .auth-role-badge {
    display: none;
  }
  
  .auth-dropdown {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 16px 16px 0 0;
    max-height: 70vh;
    overflow-y: auto;
  }
}

/* Clerk Modal Customization */
.cl-rootBox {
  --cl-primary-color: #ff00ff;
}

.cl-card {
  background: rgba(20, 20, 20, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Protected Content Placeholder */
.auth-required-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  text-align: center;
  padding: 2rem;
}

.auth-required-placeholder h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.auth-required-placeholder p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

/* Role-restricted content message */
.role-restricted-message {
  background: rgba(255, 100, 100, 0.1);
  border: 1px solid rgba(255, 100, 100, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  margin: 2rem 0;
}

.role-restricted-message h4 {
  color: #ff6464;
  margin-bottom: 0.5rem;
}

.role-restricted-message p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* ************DASHBOARD & RIDE MANAGEMENT STYLES************ */

/* Dashboard Layout */
.dashboard {
  padding-top: 10rem;
  min-height: 100vh;
}

.dashboard__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

.dashboard__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.dashboard__back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transition: all 0.3s ease;
}

.dashboard__back:hover {
  background: rgba(255, 255, 255, 0.1);
}

.dashboard__title {
  font-size: 2rem;
  font-weight: 700;
  flex: 1;
}

.dashboard__section {
  margin-bottom: 2.5rem;
}

.dashboard__section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.dashboard__section-title svg {
  opacity: 0.7;
}

.dashboard__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  gap: 1rem;
}

.dashboard__loading p {
  color: rgba(255, 255, 255, 0.6);
}

.dashboard__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

.dashboard__empty svg {
  opacity: 0.3;
}

.dashboard__empty h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.dashboard__empty p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

/* Loader Ring */
.loader-ring {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #ff00ff;
  border-radius: 50%;
  animation: loader-spin 1s linear infinite;
}

@keyframes loader-spin {
  to { transform: rotate(360deg); }
}

/* Pulse Dot */
.pulse-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #00ff00;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

/* Ride Cards */
.rides-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ride-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.ride-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.ride-card--active {
  border-color: rgba(0, 255, 0, 0.3);
  background: rgba(0, 255, 0, 0.05);
}

.ride-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ride-card__date {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.ride-card__status {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.status-pending { background: rgba(255, 165, 0, 0.2); color: #ffa500; }
.status-accepted { background: rgba(0, 191, 255, 0.2); color: #00bfff; }
.status-picking-up { background: rgba(138, 43, 226, 0.2); color: #8a2be2; }
.status-arrived { background: rgba(0, 255, 255, 0.2); color: #00ffff; }
.status-en-route { background: rgba(0, 255, 0, 0.2); color: #00ff00; }
.status-completed { background: rgba(0, 255, 0, 0.15); color: #00ff00; }
.status-cancelled { background: rgba(255, 100, 100, 0.2); color: #ff6464; }

.ride-card__content {
  padding: 1rem;
}

.ride-card__driver {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ride-card__driver-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ride-card__driver-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ride-card__driver-info strong {
  font-size: 1.1rem;
}

.ride-card__driver-info span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.ride-card__locations {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ride-card__location {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.location-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.location-marker.pickup { background: #00ff00; }
.location-marker.destination { background: #ff00ff; }

.ride-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ride-card__time {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.ride-card__fare {
  font-weight: 600;
  color: #00ff00;
}

.ride-card__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.ride-action-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.ride-action-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.ride-action-btn--primary {
  background: linear-gradient(135deg, #ff00ff, #8b00ff);
}

.ride-action-btn--success {
  background: linear-gradient(135deg, #00ff00, #00cc00);
  color: #000;
}

.ride-action-btn--cancel {
  background: rgba(255, 100, 100, 0.2);
  color: #ff6464;
}

.ride-action-btn--cancel:hover {
  background: rgba(255, 100, 100, 0.3);
}

/* Driver Dashboard Styles */
.driver-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.driver-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.driver-stat-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.driver-stat-card--online {
  border-color: rgba(0, 255, 0, 0.3);
  background: rgba(0, 255, 0, 0.05);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.stat-icon--secondary { color: #00ffff; }
.stat-icon--success { color: #00ff00; }
.stat-icon--primary { color: #ff00ff; }

.stat-content h3 {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
}

.status-online { color: #00ff00; }
.status-offline { color: rgba(255, 255, 255, 0.5); }

.stat-action-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #00ff00, #00cc00);
  color: #000;
}

.stat-action-btn--danger {
  background: linear-gradient(135deg, #ff6464, #ff3333);
  color: #fff;
}

.stat-action-btn:hover {
  transform: translateY(-2px);
}

/* Quick Actions */
.driver-quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.quick-action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.quick-action-card:hover {
  border-color: rgba(255, 0, 255, 0.3);
  background: rgba(255, 0, 255, 0.05);
}

.quick-action-card svg {
  opacity: 0.7;
}

.quick-action-card span {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Active Ride Panel */
.driver-active-ride {
  background: rgba(0, 255, 0, 0.05);
  border: 2px solid rgba(0, 255, 0, 0.3);
  border-radius: 16px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.active-ride-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.2);
}

.active-ride-header h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
}

.ride-status-badge {
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.active-ride-content {
  padding: 1.5rem;
}

.active-ride-info {
  margin-bottom: 1.5rem;
}

.ride-passenger {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.ride-locations {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ride-location {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ride-payment {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.active-ride-actions {
  display: flex;
  gap: 0.75rem;
}

/* Ride Requests Grid */
.requests-badge {
  background: linear-gradient(135deg, #ff00ff, #8b00ff);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.ride-requests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.ride-request-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.ride-request-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.request-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.request-rider {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.request-time {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.request-card-map {
  height: 120px;
  background: linear-gradient(135deg, rgba(255, 0, 255, 0.1), rgba(0, 255, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder {
  opacity: 0.3;
}

.request-card-details {
  padding: 1rem;
}

.request-location {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.request-location .location-marker {
  margin-top: 3px;
}

.location-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.location-text label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
}

.request-hourly {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-style: italic;
}

.request-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.request-meta {
  display: flex;
  gap: 1rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.payment-type {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}

.accept-ride-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 25px;
  border: none;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accept-ride-btn:hover {
  transform: scale(1.05);
}

/* Wallet Styles */
.payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.payment-method-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.payment-method-card.default {
  border-color: rgba(0, 255, 0, 0.3);
}

.payment-method-icon {
  width: 50px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.payment-method-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.payment-method-badge {
  font-size: 0.7rem;
  color: #00ff00;
  text-transform: uppercase;
}

.payment-method-actions {
  display: flex;
  gap: 0.5rem;
}

.payment-action-btn {
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.payment-action-btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.payment-action-btn--delete:hover {
  border-color: rgba(255, 100, 100, 0.5);
  color: #ff6464;
}

.wallet__add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.wallet__add-btn:hover {
  border-color: rgba(255, 0, 255, 0.5);
  color: #ff00ff;
}

.wallet__balance-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 0, 255, 0.1), rgba(0, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.balance-amount {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.balance-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.balance-value {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(to right, #ff00ff, #00ffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.balance-add-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 25px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.balance-add-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.promo-input-group {
  display: flex;
  gap: 0.75rem;
}

.promo-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.95rem;
}

.promo-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.promo-apply-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #ff00ff, #8b00ff);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.promo-apply-btn:hover {
  transform: scale(1.05);
}

/* Payments Table */
.payments-table-container {
  overflow-x: auto;
}

.payments-table {
  width: 100%;
  border-collapse: collapse;
}

.payments-table th,
.payments-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.payments-table th {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.payments-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.payment-amount {
  color: #00ff00;
  font-weight: 600;
}

.table-action-btn {
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.table-action-btn:hover {
  border-color: #ff00ff;
  color: #ff00ff;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
}

.modal-content {
  background: rgba(20, 20, 20, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.modal-content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.modal-content--ride {
  max-width: 450px;
  text-align: left;
}

.modal-ride-details {
  margin-bottom: 1.5rem;
}

.modal-ride-info {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 1rem;
}

.modal-ride-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-ride-row:last-child {
  border-bottom: none;
}

.modal-ride-row .label {
  color: rgba(255, 255, 255, 0.5);
}

.modal-ride-row .value {
  font-weight: 500;
}

.modal-actions {
  display: flex;
  gap: 1rem;
}

.modal-btn {
  flex: 1;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-btn--cancel {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.modal-btn--cancel:hover {
  background: rgba(255, 255, 255, 0.15);
}

.modal-btn--confirm {
  background: linear-gradient(135deg, #ff00ff, #8b00ff);
  color: #fff;
}

.modal-btn--confirm:hover {
  transform: scale(1.02);
}

/* Recent Activity */
.recent-activity {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 1.5rem;
  min-height: 100px;
}

.activity-placeholder {
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* Dashboard Responsive */
@media (max-width: 768px) {
  .dashboard {
    padding-top: 8rem;
  }

  .dashboard__title {
    font-size: 1.5rem;
  }

  .driver-stats-grid {
    grid-template-columns: 1fr;
  }

  .driver-quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .ride-requests-grid {
    grid-template-columns: 1fr;
  }

  .wallet__balance-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .promo-input-group {
    flex-direction: column;
  }

  .modal-content {
    margin: 1rem;
    padding: 1.5rem;
  }

  .modal-actions {
    flex-direction: column;
  }
}

/* ============================================
   CAB CONTROL PAGE STYLES
   ============================================ */

/* Control Section */
.control-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.control-section .section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: #fff;
}

.control-section .section-title svg {
  color: #ff00ff;
}

/* Device List */
.device-list {
  display: grid;
  gap: 1rem;
}

.device-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.device-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 0, 255, 0.3);
}

.device-card--selected {
  background: rgba(255, 0, 255, 0.1);
  border-color: rgba(255, 0, 255, 0.5);
}

.device-card__icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 0, 255, 0.15);
  border-radius: 12px;
  color: #ff00ff;
}

.device-card__info {
  flex: 1;
  min-width: 0;
}

.device-card__name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.device-card__status {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  margin-right: 0.5rem;
}

.status-playing {
  background: rgba(0, 255, 0, 0.15);
  color: #00ff00;
}

.status-idle {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

.device-card__now-playing {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.device-card__select-btn {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #ff00ff, #8b00ff);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.device-card__select-btn:hover {
  transform: scale(1.05);
}

.device-card--selected .device-card__select-btn {
  background: rgba(255, 255, 255, 0.1);
}

.no-devices, .error-message {
  text-align: center;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.5);
}

.text-muted {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
}

/* Device Dropdown Selector */
.device-dropdown {
  position: relative;
}

.device-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 0, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 180px;
}

.device-dropdown__trigger:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 0, 255, 0.5);
}

.device-dropdown.open .device-dropdown__trigger {
  border-color: rgba(255, 0, 255, 0.6);
  background: rgba(255, 0, 255, 0.1);
}

.device-dropdown__icon {
  flex-shrink: 0;
  color: rgba(255, 0, 255, 0.8);
}

.device-dropdown__text {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.device-dropdown__chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  opacity: 0.6;
}

.device-dropdown.open .device-dropdown__chevron {
  transform: rotate(180deg);
}

.device-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 280px;
  background: rgba(20, 20, 25, 0.98);
  border: 1px solid rgba(255, 0, 255, 0.3);
  border-radius: 12px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  max-height: 320px;
  overflow-y: auto;
}

.device-dropdown.open .device-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.device-dropdown__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.loader-ring--small {
  width: 20px;
  height: 20px;
}

.device-dropdown__empty {
  text-align: center;
  padding: 1.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.device-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.device-dropdown__item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.device-dropdown__item--selected {
  background: rgba(255, 0, 255, 0.1);
  border-color: rgba(255, 0, 255, 0.3);
}

.device-dropdown__item-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 0, 255, 0.2), rgba(139, 0, 255, 0.2));
  border-radius: 8px;
  color: rgba(255, 0, 255, 0.8);
}

.device-dropdown__item-info {
  flex: 1;
  min-width: 0;
}

.device-dropdown__item-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.15rem;
}

.device-dropdown__item-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.device-dropdown__item-status.status-playing {
  color: #4ade80;
}

.device-dropdown__item-status.status-idle {
  color: rgba(255, 255, 255, 0.5);
}

.device-dropdown__item-track {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.device-dropdown__item-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff00ff;
  opacity: 0;
}

.device-dropdown__item--selected .device-dropdown__item-check {
  opacity: 1;
}

/* Device Dropdown Divider */
.device-dropdown__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0.5rem 0;
}

/* Device Dropdown Disconnect Button */
.device-dropdown__disconnect {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  margin: 0.25rem 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  color: rgba(255, 100, 100, 0.8);
  border: 1px solid transparent;
}

.device-dropdown__disconnect:hover {
  background: rgba(255, 100, 100, 0.1);
  border-color: rgba(255, 100, 100, 0.3);
  color: #ff6464;
}

.device-dropdown__disconnect svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.device-dropdown__disconnect span {
  font-size: 0.85rem;
  font-weight: 500;
}

/* Now Playing Card */
.now-playing-card {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  padding: 1.5rem;
}

.nothing-playing {
  text-align: center;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.5);
}

.track-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.album-art {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.1);
}

.track-details {
  flex: 1;
  min-width: 0;
}

.track-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-artist {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.track-album {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* Playback Controls */
.playback-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.control-btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.control-btn--primary {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, #ff00ff, #8b00ff);
  border: none;
}

.control-btn--primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.4);
}

/* Volume Control */
.volume-control {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem;
  margin-bottom: 1rem;
}

.volume-control svg {
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.volume-slider {
  flex: 1;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  outline: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #ff00ff, #8b00ff);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #ff00ff, #8b00ff);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

#volume-value {
  min-width: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* Playback Options */
.playback-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.option-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.option-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.option-btn--active {
  background: rgba(0, 255, 255, 0.15);
  border-color: rgba(0, 255, 255, 0.4);
  color: #00ffff;
}

.repeat-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: #00ffff;
  color: #000;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Display Options */
.display-options-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.toggle-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.toggle-option input {
  display: none;
}

.toggle-slider {
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  position: relative;
  transition: background 0.3s ease;
}

.toggle-slider::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.toggle-option input:checked + .toggle-slider {
  background: linear-gradient(135deg, #ff00ff, #8b00ff);
}

.toggle-option input:checked + .toggle-slider::after {
  transform: translateX(20px);
}

.toggle-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* Background Selection */
.background-selection h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.background-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
}

.background-thumb {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.background-thumb:hover {
  border-color: rgba(255, 0, 255, 0.5);
  transform: scale(1.02);
}

.background-thumb--selected {
  border-color: #ff00ff;
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
}

.background-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.background-thumb span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  font-size: 0.75rem;
  text-align: center;
}

/* Queue Section */
.queue-count {
  background: rgba(255, 0, 255, 0.2);
  color: #ff00ff;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

.queue-list {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.queue-empty {
  text-align: center;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.4);
}

.queue-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  transition: background 0.2s ease;
}

.queue-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.queue-item--current {
  background: rgba(255, 0, 255, 0.1);
  border-left: 3px solid #ff00ff;
}

.queue-item__number {
  width: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.queue-item__art {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
}

.queue-item__info {
  flex: 1;
  min-width: 0;
}

.queue-item__name {
  display: block;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.queue-item__artist {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.queue-item__remove {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: color 0.2s ease;
}

.queue-item__remove:hover {
  color: #ff6464;
}

.btn-clear-queue {
  width: 100%;
  padding: 0.75rem;
  background: rgba(255, 100, 100, 0.1);
  border: 1px solid rgba(255, 100, 100, 0.3);
  border-radius: 8px;
  color: #ff6464;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-clear-queue:hover {
  background: rgba(255, 100, 100, 0.2);
  border-color: rgba(255, 100, 100, 0.5);
}

/* Dashboard Header Dropdowns Container */
.dashboard__dropdowns {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

/* Ride Dropdown (matches device-dropdown styling) */
.ride-dropdown .device-dropdown__icon {
  color: rgba(0, 200, 255, 0.8);
}

.ride-dropdown.open .device-dropdown__trigger,
.ride-dropdown.ride-active .device-dropdown__trigger {
  border-color: rgba(0, 200, 255, 0.6);
  background: rgba(0, 200, 255, 0.1);
}

.ride-status-indicator {
  display: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
  animation: pulse-glow 2s ease-in-out infinite;
}

.ride-dropdown.ride-active .ride-status-indicator {
  display: block;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.ride-dropdown__menu {
  min-width: 260px;
  padding: 1rem;
}

.ride-dropdown__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.ride-dropdown__message {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 0.5rem 0;
}

.ride-dropdown__start-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #00ff88, #00cc6a);
  border: none;
  border-radius: 8px;
  color: #000;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ride-dropdown__start-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 255, 136, 0.3);
}

.ride-dropdown__qr-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.ride-dropdown__qr-code {
  padding: 0.75rem;
  background: #1a1a2e;
  border-radius: 12px;
  border: 2px solid rgba(0, 200, 255, 0.3);
}

.ride-dropdown__qr-code img {
  display: block;
}

.ride-dropdown__qr-hint {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  text-align: center;
}

.ride-dropdown__actions {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.ride-dropdown__action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ride-dropdown__action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.ride-dropdown__end-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.ride-dropdown__reset-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 0.8rem;
}

.ride-dropdown__reset-option input[type="checkbox"] {
  display: none;
}

.ride-dropdown__checkbox {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ride-dropdown__reset-option input[type="checkbox"]:checked + .ride-dropdown__checkbox {
  background: #00c8ff;
  border-color: #00c8ff;
}

.ride-dropdown__reset-option input[type="checkbox"]:checked + .ride-dropdown__checkbox::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 0px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.ride-dropdown__end-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.6rem 1rem;
  background: rgba(255, 100, 100, 0.12);
  border: 1px solid rgba(255, 100, 100, 0.35);
  border-radius: 6px;
  color: #ff6464;
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ride-dropdown__end-btn:hover {
  background: rgba(255, 100, 100, 0.2);
  border-color: rgba(255, 100, 100, 0.5);
}

/* Cab Control Responsive */
@media (max-width: 768px) {
  .dashboard__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .dashboard__dropdowns {
    width: 100%;
    flex-direction: column;
    margin-left: 0;
  }
  
  .device-dropdown {
    width: 100%;
  }
  
  .device-dropdown__trigger {
    width: 100%;
  }
  
  .device-dropdown__menu {
    left: 0;
    right: 0;
    min-width: auto;
  }
  
  .ride-dropdown__menu {
    min-width: auto;
  }
  
  .track-info {
    flex-direction: column;
    text-align: center;
  }
  
  .album-art {
    width: 120px;
    height: 120px;
  }
  
  .display-options-grid {
    flex-direction: column;
    gap: 1rem;
  }
  
  .background-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   RIDER CONTROL PAGE
   ============================================ */

.header--minimal {
  position: relative;
  padding: 0.5rem 0;
}

.header--minimal .header__container {
  min-height: 5rem;
  justify-content: center;
}

.header--minimal .header__logo {
  font-size: 2rem;
}

.header--minimal .header__logo-img {
  max-height: 60px;
}

.footer--minimal {
  padding: 1rem 0;
  text-align: center;
}

.footer--minimal .footer__container {
  justify-content: center;
}

.rider-control {
  min-height: 100vh;
  padding-top: 6rem;
  padding-bottom: 2rem;
}

.rider-control__container {
  max-width: 500px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Loading State */
.rider-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.loader-ring {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 0, 255, 0.2);
  border-top-color: #ff00ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Error State */
.rider-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  text-align: center;
  gap: 1rem;
  padding: 2rem;
}

.rider-error__icon {
  color: #00ff88;
  margin-bottom: 1rem;
}

.rider-error h2 {
  font-size: 2rem;
  background: linear-gradient(135deg, #00ff88, #00cc6a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.rider-error p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.rider-error__subtitle {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 0.95rem !important;
  margin-bottom: 1.5rem;
}

/* Main Content */
.rider-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.rider-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem;
}

.rider-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.rider-section-title svg {
  color: #ff00ff;
}

/* Now Playing */
.rider-now-playing {
  background: linear-gradient(135deg, rgba(255, 0, 255, 0.08), rgba(0, 200, 255, 0.05));
  border-color: rgba(255, 0, 255, 0.2);
}

.rider-nothing-playing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.rider-nothing-playing__hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.5rem;
}

.rider-track-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.rider-album-art {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.rider-track-details {
  max-width: 100%;
}

.rider-track-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rider-track-artist {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.rider-track-album {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

/* Playback Controls */
.rider-playback-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 1.5rem;
}

.rider-control-btn {
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rider-control-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.rider-control-btn--primary {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #ff00ff, #cc00cc);
  box-shadow: 0 4px 20px rgba(255, 0, 255, 0.4);
}

.rider-control-btn--primary:hover {
  background: linear-gradient(135deg, #ff33ff, #dd33dd);
  box-shadow: 0 6px 25px rgba(255, 0, 255, 0.5);
}

/* Volume Control */
.rider-volume-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
}

.rider-volume-control {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  color: rgba(255, 255, 255, 0.6);
}

.rider-volume-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  outline: none;
}

.rider-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff00ff, #cc00cc);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(255, 0, 255, 0.4);
}

.rider-volume-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff00ff, #cc00cc);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 10px rgba(255, 0, 255, 0.4);
}

.rider-volume-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ff00ff;
  min-width: 24px;
  text-align: center;
}

/* Queue Section */
.rider-queue-count {
  background: rgba(255, 0, 255, 0.2);
  color: #ff00ff;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  font-size: 0.8rem;
  margin-left: auto;
}

.rider-queue-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rider-queue-empty {
  text-align: center;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
}

.rider-queue-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.2s ease;
}

.rider-queue-item__art {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
}

.rider-queue-item__info {
  flex: 1;
  min-width: 0;
}

.rider-queue-item__name {
  display: block;
  font-size: 0.9rem;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rider-queue-item__artist {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Options Section */
.rider-options-section {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

.rider-option-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-width: 90px;
}

.rider-option-btn span {
  font-size: 0.75rem;
  font-weight: 500;
}

.rider-option-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.rider-option-btn--active {
  background: rgba(255, 0, 255, 0.15);
  border-color: rgba(255, 0, 255, 0.4);
  color: #ff00ff;
}

.rider-repeat-indicator {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  background: #ff00ff;
  color: #fff;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Enjoy Message */
.rider-enjoy-message {
  text-align: center;
  padding: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
}

.rider-enjoy-message p {
  background: linear-gradient(90deg, #ff00ff, #00c8ff, #00ff88);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

/* ============================================
   DRIVER CONTROLS BAR
   ============================================ */

.rider-driver-controls {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.driver-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Driver Control Icon Buttons */
.driver-ctrl-dropdown {
  position: relative;
}

.driver-ctrl-btn {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.driver-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 0, 255, 0.4);
  color: #fff;
}

.driver-ctrl-btn:active {
  transform: scale(0.95);
}

.driver-ctrl-dropdown.open .driver-ctrl-btn {
  background: rgba(255, 0, 255, 0.15);
  border-color: rgba(255, 0, 255, 0.5);
  color: #ff00ff;
}

/* Status Indicator Dot */
.driver-ctrl-btn__indicator {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00ff88;
  display: none;
  box-shadow: 0 0 6px rgba(0, 255, 136, 0.6);
}

.driver-ctrl-btn__indicator--active {
  display: block;
}

.driver-ctrl-btn__indicator--ride {
  background: #ff00ff;
  box-shadow: 0 0 6px rgba(255, 0, 255, 0.6);
}

.ride-dropdown.ride-active .driver-ctrl-btn__indicator--ride {
  display: block;
}

/* Driver Control Dropdown Menu */
.driver-ctrl-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  min-width: 260px;
  background: rgba(20, 20, 30, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
  overflow: hidden;
}

.driver-ctrl-dropdown__menu--left {
  left: 0;
}

.driver-ctrl-dropdown__menu--center {
  left: 50%;
  transform: translateX(-50%);
}

.driver-ctrl-dropdown__menu--right {
  right: 0;
}

.driver-ctrl-dropdown.open .driver-ctrl-dropdown__menu {
  display: block;
}

.driver-ctrl-dropdown__header {
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Device items inside dropdown */
.driver-ctrl-dropdown__menu .device-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.driver-ctrl-dropdown__menu .device-dropdown__item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.driver-ctrl-dropdown__menu .device-dropdown__item--selected {
  background: rgba(255, 0, 255, 0.1);
}

.driver-ctrl-dropdown__menu .device-dropdown__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* Mobile adjustments */
@media (max-width: 400px) {
  .driver-ctrl-btn {
    width: 50px;
    height: 50px;
  }
  
  .driver-ctrl-btn svg {
    width: 22px;
    height: 22px;
  }
  
  .driver-ctrl-dropdown__menu--center {
    left: 0;
    transform: none;
  }
}

/* Display Dropdown Content */
.display-dropdown__menu {
  min-width: 220px;
}

.display-dropdown__content {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.display-dropdown__toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  padding: 0.4rem 0;
}

.display-dropdown__toggle input[type="checkbox"] {
  display: none;
}

.display-dropdown__toggle-slider {
  position: relative;
  width: 36px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.display-dropdown__toggle-slider::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  top: 2px;
  left: 2px;
  transition: transform 0.2s ease;
}

.display-dropdown__toggle input[type="checkbox"]:checked + .display-dropdown__toggle-slider {
  background: linear-gradient(135deg, #ff00ff, #00c8ff);
}

.display-dropdown__toggle input[type="checkbox"]:checked + .display-dropdown__toggle-slider::after {
  transform: translateX(16px);
}

.display-dropdown__bg-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.display-dropdown__bg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.display-dropdown__bg-thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.display-dropdown__bg-thumb:nth-child(1) {
  background: linear-gradient(135deg, #ff00ff66, #8b00ff66);
}

.display-dropdown__bg-thumb:nth-child(2) {
  background: linear-gradient(135deg, #00ffff66, #0088ff66);
}

.display-dropdown__bg-thumb:nth-child(3) {
  background: linear-gradient(135deg, #00ff0066, #88ff0066);
}

.display-dropdown__bg-thumb:nth-child(4) {
  background: linear-gradient(135deg, #ff880066, #ff000066);
}

.display-dropdown__bg-thumb:hover {
  transform: scale(1.05);
}

.display-dropdown__bg-thumb--selected {
  border-color: #ff00ff;
  box-shadow: 0 0 8px rgba(255, 0, 255, 0.5);
}

/* Inline Volume Control */
.rider-volume-section-inline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.5);
}

.rider-volume-section-inline .rider-volume-slider {
  flex: 1;
}

/* Playback Options Row */
.rider-playback-options-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.rider-small-option-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.rider-small-option-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.rider-small-option-btn--active {
  background: rgba(255, 0, 255, 0.15);
  border-color: rgba(255, 0, 255, 0.4);
  color: #ff00ff;
}

/* Tab Navigation */
.rider-tabs {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem;
  border-radius: 14px;
  margin-bottom: 1rem;
}

.rider-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rider-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.rider-tab--active {
  background: rgba(255, 0, 255, 0.2);
  color: #fff;
}

.rider-tab-badge {
  background: rgba(255, 0, 255, 0.3);
  color: #ff00ff;
  padding: 0.1rem 0.4rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

.rider-tab-content {
  display: none;
}

.rider-tab-content--active {
  display: block;
}

/* Search Box */
.rider-search-box {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.rider-search-input {
  flex: 1;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: all 0.2s ease;
}

.rider-search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.rider-search-input:focus {
  border-color: rgba(255, 0, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.rider-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  background: linear-gradient(135deg, #ff00ff, #cc00cc);
  border: none;
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rider-search-btn:hover {
  transform: scale(1.05);
}

/* Search Loading & Empty */
.rider-search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.6);
}

.rider-search-empty,
.rider-search-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  gap: 0.75rem;
}

/* Search Results */
.rider-search-results {
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.rider-search-section {
  margin-bottom: 1.5rem;
}

.rider-search-section__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  padding-left: 0.25rem;
}

/* Result Item */
.rider-result-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.rider-result-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.rider-result-item__art {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.rider-result-item__art--round {
  border-radius: 50%;
}

.rider-result-item__info {
  flex: 1;
  min-width: 0;
}

.rider-result-item__name {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rider-result-item__meta {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rider-result-item__chevron {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.3);
}

.rider-result-item__actions {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.rider-result-item__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rider-result-item__btn--play {
  background: rgba(255, 0, 255, 0.2);
  color: #ff00ff;
}

.rider-result-item__btn--play:hover {
  background: rgba(255, 0, 255, 0.3);
}

.rider-result-item__btn:not(.rider-result-item__btn--play) {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}

.rider-result-item__btn:not(.rider-result-item__btn--play):hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.rider-result-item__btn--in-queue {
  background: rgba(0, 200, 100, 0.2);
  color: #00c864;
}

/* Detail View */
.rider-detail-view {
  padding-bottom: 1rem;
}

.rider-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 1rem;
}

.rider-back-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.rider-detail-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.rider-detail-image {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
}

.rider-detail-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rider-detail-tracks {
  max-height: 45vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.rider-detail-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Queue Section */
.rider-queue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.rider-queue-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.rider-queue-header h3 span {
  color: #ff00ff;
}

.rider-clear-queue-btn {
  padding: 0.4rem 0.75rem;
  background: rgba(255, 100, 100, 0.12);
  border: 1px solid rgba(255, 100, 100, 0.3);
  border-radius: 6px;
  color: #ff6464;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rider-clear-queue-btn:hover {
  background: rgba(255, 100, 100, 0.2);
}

.rider-queue-list {
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.rider-queue-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  gap: 0.5rem;
}

.rider-queue-empty__hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

/* Queue Item */
.rider-queue-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.rider-queue-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.rider-queue-item--current {
  background: rgba(255, 0, 255, 0.1);
  border-left: 3px solid #ff00ff;
}

.rider-queue-item--ghost {
  opacity: 0.5;
  background: rgba(255, 0, 255, 0.2);
}

.rider-queue-item--chosen {
  background: rgba(255, 0, 255, 0.15);
}

.rider-queue-item__drag-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  color: rgba(255, 255, 255, 0.3);
  cursor: grab;
  flex-shrink: 0;
}

.rider-queue-item__drag-handle:active {
  cursor: grabbing;
}

.rider-queue-item__art {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.rider-queue-item__info {
  flex: 1;
  min-width: 0;
}

.rider-queue-item__name {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rider-queue-item__artist {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rider-queue-item__play,
.rider-queue-item__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.rider-queue-item__play {
  color: rgba(255, 0, 255, 0.7);
}

.rider-queue-item__play:hover {
  background: rgba(255, 0, 255, 0.15);
  color: #ff00ff;
}

.rider-queue-item__remove {
  color: rgba(255, 255, 255, 0.3);
}

.rider-queue-item__remove:hover {
  background: rgba(255, 100, 100, 0.15);
  color: #ff6464;
}

/* Lyrics Modal */
.rider-lyrics-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.rider-lyrics-modal__content {
  width: 100%;
  max-width: 500px;
  max-height: 80vh;
  background: rgba(20, 20, 30, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.rider-lyrics-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rider-lyrics-modal__header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  margin-right: 1rem;
}

.rider-lyrics-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.rider-lyrics-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.rider-lyrics-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.rider-lyrics-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem;
  color: rgba(255, 255, 255, 0.6);
}

.rider-lyrics-text {
  text-align: center;
}

.rider-lyrics-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 2;
  margin-bottom: 0.25rem;
}

.rider-lyrics-not-found {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  padding: 2rem;
}

/* Small Loader */
.loader-ring--small {
  width: 24px;
  height: 24px;
  border-width: 3px;
}

/* Rider Control Responsive */
@media (max-width: 480px) {
  .rider-album-art {
    width: 120px;
    height: 120px;
  }
  
  .rider-control-btn {
    width: 48px;
    height: 48px;
  }
  
  .rider-control-btn--primary {
    width: 64px;
    height: 64px;
  }
  
  .rider-option-btn {
    padding: 0.75rem 1rem;
    min-width: 80px;
  }
  
  .rider-tabs {
    padding: 0.35rem;
    gap: 0.35rem;
  }
  
  .rider-tab {
    padding: 0.6rem 0.5rem;
    font-size: 0.8rem;
    gap: 0.35rem;
  }
  
  .rider-tab svg {
    width: 16px;
    height: 16px;
  }
  
  .rider-search-input {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  .rider-result-item__art {
    width: 42px;
    height: 42px;
  }
  
  .rider-result-item__btn {
    width: 32px;
    height: 32px;
  }
  
  .rider-queue-item__art {
    width: 40px;
    height: 40px;
  }
  
  .rider-lyrics-text p {
    font-size: 1rem;
    line-height: 1.8;
  }
}