/* FareLess Travels: shared styles for fareless-auth.html and fareless-register.html
   Load after Bootstrap and Swiper CSS. */

/* ---------- Tokens & base ---------- */
:root {
  --ink: #10222B;
  --sea: #0F766E;
  --sea-dark: #0B5A54;
  --sun: #F5B301;
  --paper: #FBFDFD;
  --bs-body-font-family: 'Figtree', system-ui, sans-serif;
  --bs-body-color: var(--ink);
}
body { background: var(--paper); min-height: 100vh; }
h1, h2, .brand { font-family: 'Bricolage Grotesque', Georgia, serif; letter-spacing: -.02em; }
a { color: var(--sea); }
a:hover { color: var(--sea-dark); }
.split { min-height: 100vh; }

/* ---------- Form panel ---------- */
.panel { display: flex; align-items: center; justify-content: center; padding: 2.5rem 1.25rem; }
.form-wrap { width: 100%; max-width: 400px; }
.form-wrap-wide { max-width: 440px; }
.form-wrap h1 { font-weight: 800; font-size: 2rem; }

.brand { font-weight: 800; font-size: 1.5rem; color: var(--ink); text-decoration: none; display: inline-block; margin-bottom: 1.75rem; }
.brand span { color: var(--sun); }

.form-control, .form-select { padding: .7rem .9rem; border-radius: 10px; border-color: #c5d5d4; }
.form-control:focus, .form-select:focus { border-color: var(--sea); box-shadow: 0 0 0 .2rem rgba(15, 118, 110, .2); }
.toggle-pw { border-color: #c5d5d4; border-radius: 0 10px 10px 0; }

.btn-fare { background: var(--sea); border-color: var(--sea); color: #fff; font-weight: 600; padding: .75rem; border-radius: 10px; }
.btn-fare:hover, .btn-fare:focus { background: var(--sea-dark); border-color: var(--sea-dark); color: #fff; }
.btn-fb { background: #1877F2; border-color: #1877F2; color: #fff; font-weight: 600; padding: .7rem; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: .6rem; }
.btn-fb:hover, .btn-fb:focus { background: #1466d1; border-color: #1466d1; color: #fff; }

.divider { display: flex; align-items: center; gap: .8rem; color: #6a7f86; font-size: .85rem; margin: 1.2rem 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: #d3dfde; }

/* ---------- Registration page ---------- */
.perks { list-style: none; padding: 0; margin: 0 0 1.5rem; color: #41585f; font-size: .95rem; }
.perks li { padding-left: 1.4rem; position: relative; margin-bottom: .25rem; }
.perks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .7rem; height: .4rem; border-left: 2px solid var(--sea); border-bottom: 2px solid var(--sea); transform: rotate(-45deg); }
.meter { height: 5px; border-radius: 3px; background: #e1ebea; overflow: hidden; margin-top: .5rem; }
.meter i { display: block; height: 100%; width: 0; background: #d64545; transition: width .2s, background .2s; }
.meter-label { font-size: .8rem; color: #5b7078; margin-top: .25rem; min-height: 1.2em; }
.success { display: none; }

/* ---------- Hero carousel (Swiper) ---------- */
.hero { position: relative; background: var(--ink); color: #fff; height: 280px; order: -1; }
.hero .swiper { width: 100%; height: 100%; }

.slide { position: relative; display: flex; align-items: flex-end; background-size: cover; background-position: center; background-repeat: no-repeat; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 22, 28, .85) 0%, rgba(8, 22, 28, .15) 55%, rgba(8, 22, 28, .35) 100%); }
/* Photo first, gradient as fallback until the image files exist */
.s1 { background-color: #0F766E; background-image: url('images/zanzibar.jpg'), linear-gradient(160deg, #0F766E, #0b3d4a); }
.s2 { background-color: #b45f06; background-image: url('images/safari.jpg'), linear-gradient(160deg, #F5B301, #b45f06); }
.s3 { background-color: #3b4f7a; background-image: url('images/santorini.jpg'), linear-gradient(160deg, #5d7bb8, #1d2a4d); }
.s4 { background-color: #2d6a4f; background-image: url('images/kyoto.jpg'), linear-gradient(160deg, #52b788, #1b4332); }

.caption { position: relative; z-index: 2; padding: 1.5rem 1.5rem 3.2rem; max-width: 460px; }
.caption h2 { font-weight: 800; font-size: 1.9rem; line-height: 1.1; margin: 0 0 .35rem; }
.caption p { margin: 0; color: #e3f0ee; }

/* Brand placed over the carousel (login page) */
.hero-brand { position: absolute; z-index: 5; top: 1.25rem; left: 1.5rem; margin: 0; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.hero-brand:hover { color: #fff; }

.hero .swiper-pagination { text-align: left; padding-left: 1.5rem; bottom: 1.25rem !important; }
.hero .swiper-pagination-bullet { background: #fff; opacity: .55; width: 9px; height: 9px; }
.hero .swiper-pagination-bullet-active { background: var(--sun); opacity: 1; width: 26px; border-radius: 5px; }
.hero .swiper-button-prev, .hero .swiper-button-next { color: #fff; --swiper-navigation-size: 20px; top: auto; bottom: .9rem; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.hero .swiper-button-prev { left: auto; right: 4rem; }
.hero .swiper-button-next { right: 1.25rem; }

/* ---------- Desktop: full-height, sticky carousel ---------- */
@media (min-width: 992px) {
  .hero { position: sticky; top: 0; height: 100vh; align-self: flex-start; order: 0; }
  .caption { padding-bottom: 4.5rem; }
  .caption h2 { font-size: 2.4rem; }
}
@media (max-width: 991.98px) {
  .split { min-height: 0; }
}

[wire\:loading] { display: none !important;  }

.tour-tag{
    display: inline-block;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);   /* legibility over image */
    transition: opacity .3s ease-in-out;
}

.tour-tag h2 {
    margin: 0;
    padding: 0;
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.2;
    color: inherit;
    letter-spacing: -0.01em;
}

.tour-tag:hover{
  color: #ee3388;
}