/* ==============================================
   Ramírez Vázquez Bienes Raíces - Styles
   Based on https://www.ramirezvazquez.com/
   ============================================== */

:root {
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #dadada;
  --color-bg-dark: #3c3c4e;
  --color-bg-darker: #1b1b1e;
  --color-text-primary: #1b1b1e;
  --color-text-secondary: #3c3c4e;
  --color-text-gray: #7c7c83;
  --color-accent: #4e5ac3;
  --color-accent-dark: #343c82;
  --color-purple: #8b43a4;
  --color-white: #ffffff;
  --font-primary: 'Raleway', sans-serif;
  --font-secondary: 'Helvetica Neue', Arial, sans-serif;
  --max-width: 980px;
  --header-height: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==============================================
   LOADING OVERLAY
   ============================================== */

.page-loader {
  position: fixed;
  inset: 0;
  background: rgba(27, 27, 30, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.page-loader--visible {
  opacity: 1;
  pointer-events: all;
}

.page-loader__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,255,255,0.2);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.page-loader__text {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}

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

/* ==============================================
   HEADER
   ============================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.75);
  transition: background 0.3s ease;
}

.header--scrolled {
  background: rgba(0, 0, 0, 0.9);
}

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header__logo img {
  width: 150px;
  height: auto;
}

.header__nav {
  display: flex;
  align-items: center;
}

.header__menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header__menu-toggle--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__menu-toggle--active span:nth-child(2) {
  opacity: 0;
}

.header__menu-toggle--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__menu {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.header__link {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-white);
  transition: color 0.3s ease, background 0.3s ease;
  white-space: nowrap;
  border-radius: 2px;
}

.header__link:hover {
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.08);
}

.header__link.active {
  color: var(--color-accent);
}

.header__link--login {
  margin-left: 20px;
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.header__link--login:hover {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-white);
}

/* User session indicator */
.header__user-session {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 8px;
}

.header__user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

.header__logout {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  padding: 4px 10px;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}

.header__logout:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ==============================================
   HERO
   ============================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
}

.hero__anchor-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 30px;
  letter-spacing: 0.12em;
}

.hero__title {
  font-family: var(--font-primary);
  font-weight: 800;
  line-height: 0.9;
  text-shadow:
    -1px -1px 0 var(--color-white),
    -1px 1px 0 var(--color-white),
    1px 1px 0 var(--color-white),
    1px -1px 0 var(--color-white);
}

.hero__title--main {
  font-size: clamp(32px, 5vw, 90px);
  color: var(--color-text-primary);
}

.hero__title--sub {
  font-family: var(--font-primary);
  font-size: clamp(32px, 5vw, 90px);
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 20px;
  text-shadow: none;
}

.hero__divider {
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  margin: 25px 0;
}

.hero__tagline {
  font-size: clamp(12px, 1.5vw, 16px);
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: 0.2em;
  text-shadow:
    -1px -1px 0 var(--color-white),
    -1px 1px 0 var(--color-white),
    1px 1px 0 var(--color-white),
    1px -1px 0 var(--color-white);
}

/* ==============================================
   SECTION HEADER
   ============================================== */

.section-label {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-text-gray);
  margin-bottom: 15px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.section-header__title {
  font-family: var(--font-primary);
  font-size: clamp(26px, 4.5vw, 60px);
  font-weight: 800;
  color: var(--color-accent);
  text-align: center;
}

.section-header__line {
  height: 5px;
  flex: 1;
  min-width: 40px;
}

.section-header__line--accent {
  background: var(--color-accent);
}

/* ==============================================
   SERVICES
   ============================================== */

.services {
  padding: 80px 0;
  background: var(--color-bg-primary);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card__icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon svg {
  width: 48px;
  height: 48px;
}

.service-card__title {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.3;
  letter-spacing: 0.03em;
}

/* ==============================================
   ABOUT
   ============================================== */

.about {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.about__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.72;
}

.about__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--color-purple);
}

.about__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  max-width: 680px;
  margin: 0 auto;
}

.about__label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin-bottom: 20px;
}

.about__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.about__divider-line {
  width: 80px;
  height: 3px;
  background: var(--color-white);
}

.about__title {
  font-family: var(--font-primary);
  font-size: clamp(26px, 4.5vw, 60px);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 30px;
}

.about__text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-white);
  margin-bottom: 40px;
}

.about__certified {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.about__certified-icon {
  width: 32px;
  height: 32px;
  color: var(--color-white);
  flex-shrink: 0;
}

.about__certified-icon svg {
  width: 32px;
  height: 32px;
}

.about__certified-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

/* ==============================================
   PROPERTIES
   ============================================== */

.properties {
  padding: 80px 0 100px;
  background: var(--color-bg-primary);
}

.properties__intro {
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 50px;
}

.properties__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.property-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--color-bg-dark), var(--color-bg-darker));
}

.property-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.property-card:hover img {
  transform: scale(1.05);
}

.property-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 15px;
}

/* Always show overlay on touch devices; fallback when images fail */
.property-card--interactive:hover .property-card__overlay,
.property-card--interactive:focus-within .property-card__overlay,
.property-card--interactive:active .property-card__overlay,
.property-card--fallback .property-card__overlay {
  opacity: 1;
}

/* Mobile: always show overlay so users can interact */
@media (hover: none) and (pointer: coarse) {
  .property-card--interactive .property-card__overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.55);
  }
}

.property-card__label {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.property-card__visit-btn {
  padding: 8px 20px;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--color-accent);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.property-card__visit-btn:hover {
  background: var(--color-accent-dark);
}

.property-card__visit-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.property-card__whatsapp {
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: #25D366;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.property-card__whatsapp:hover {
  background: #128C7E;
}

.properties__label {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-text-gray);
}

/* ==============================================
   TIPS
   ============================================== */

.tips {
  position: relative;
  padding: 100px 0;
  background: var(--color-bg-secondary);
  overflow: hidden;
  text-align: center;
}

.tips__label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-text-gray);
  margin-bottom: 15px;
}

.tips__title {
  font-family: var(--font-primary);
  font-size: clamp(26px, 4.5vw, 60px);
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 30px;
}

.tips__cta {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

/* ==============================================
   IMPORTANT INFO
   ============================================== */

.info-importante {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.info-importante__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.info-importante__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.info-importante__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--color-bg-dark);
}

.info-importante__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  max-width: 680px;
  margin: 0 auto;
}

.info-importante__label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin-bottom: 20px;
}

.info-importante__title {
  font-family: var(--font-primary);
  font-size: clamp(26px, 4.5vw, 60px);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 40px;
  line-height: 1.1;
}

.info-importante__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.info-importante__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 32px;
  color: var(--color-white);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.03em;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  transition: border-color 0.3s ease, background 0.3s ease;
  min-width: 320px;
  justify-content: center;
}

.info-importante__link:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

.info-importante__link-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.info-importante__link-icon svg {
  width: 28px;
  height: 28px;
}

.info-importante__badge {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-white);
}

/* ==============================================
   CONTACT
   ============================================== */

.contact {
  position: relative;
  padding: 100px 0 120px;
  background: var(--color-bg-darker);
  color: var(--color-white);
  overflow: hidden;
}

.contact__label {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin-bottom: 15px;
}

.contact__title {
  font-family: var(--font-primary);
  font-size: clamp(26px, 4.5vw, 60px);
  font-weight: 800;
  color: var(--color-white);
  text-align: center;
  margin-bottom: 50px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__form-wrapper {
  position: relative;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__form-group {
  position: relative;
}

.contact__input {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-primary);
  font-size: 15px;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.contact__input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact__input:focus {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.15);
}

.contact__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__submit {
  align-self: flex-start;
  padding: 14px 48px;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-white);
  background: var(--color-accent);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact__submit:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
}

.contact__submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.contact__success {
  padding: 20px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
  background: rgba(78, 90, 195, 0.2);
  border: 1px solid var(--color-accent);
  border-radius: 4px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__info-title {
  font-size: 18px;
  font-weight: 700;
}

.contact__info-subtitle {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

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

.contact__info-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.contact__info-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-white);
  word-break: break-all;
}

a.contact__info-link:hover {
  color: var(--color-accent);
}

.contact__info-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.contact__whatsapp {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.contact__whatsapp:hover {
  transform: scale(1.1);
}

.contact__whatsapp img {
  width: 63px;
  height: 63px;
}

.contact__info-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.contact__info-divider {
  margin-top: 10px;
}

.contact__info-divider img {
  width: 85px;
  height: auto;
}

/* ==============================================
   FOOTER
   ============================================== */

.footer {
  padding: 40px 0;
  background: var(--color-bg-darker);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__copy {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__social-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

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

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.footer__social-link:hover {
  opacity: 0.7;
}

.footer__social-link img {
  width: 34px;
  height: 34px;
}

/* ==============================================
   WHATSAPP FLOAT BUTTON
   ============================================== */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 63px;
  height: 63px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
}

/* ==============================================
   RESPONSIVE
   ============================================== */

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .header__inner {
    padding: 0 16px;
  }

  .header__logo img {
    width: 110px;
  }

  .header__menu-toggle {
    display: flex;
  }

  .header__menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    padding: 40px 20px;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    align-items: stretch;
  }

  .header__menu--open {
    transform: translateX(0);
  }

  .header__link {
    font-size: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header__link--login {
    margin-left: 0;
    text-align: center;
  }

  .header__user-session {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 8px;
  }

  .hero__content {
    padding: 30px 20px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .properties__gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__content {
    flex-direction: column;
    text-align: center;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}

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

  .properties__gallery {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .info-importante__link {
    min-width: auto;
    width: 100%;
    padding: 14px 20px;
    font-size: 13px;
  }

  .about__text {
    font-size: 14px;
  }

  .contact__submit {
    width: 100%;
    text-align: center;
  }
}

/* ==============================================
   GHOST SHOPPER TRACKER
   ============================================== */

.gs-tracker {
  position: fixed;
  bottom: 100px;
  left: 20px;
  z-index: 998;
  width: 280px;
  max-height: 320px;
  background: rgba(27, 27, 30, 0.95);
  border: 1px solid rgba(78, 90, 195, 0.4);
  border-radius: 8px;
  overflow: hidden;
  font-size: 12px;
  color: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
}

.gs-tracker__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--color-accent);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.gs-tracker__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  font-size: 11px;
  font-weight: 700;
}

.gs-tracker__log {
  max-height: 260px;
  overflow-y: auto;
  padding: 8px;
}

.gs-log-entry {
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  line-height: 1.4;
}

.gs-log-entry--empty {
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
  text-align: center;
  padding: 20px 8px;
}

.gs-log-time {
  color: rgba(255, 255, 255, 0.45);
  font-family: monospace;
}

.gs-log-type {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  background: var(--color-accent);
  color: #fff;
  margin: 0 4px;
}

.gs-log-detail {
  color: rgba(255, 255, 255, 0.65);
}

/* ---- Toast notification ---- */

.gs-toast {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 9999;
  padding: 16px 24px;
  background: #25D366;
  color: #fff;
  border-radius: 6px;
  font-family: var(--font-primary);
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: gsToastIn 0.4s ease, gsToastOut 0.4s ease 3.6s forwards;
}

@keyframes gsToastIn {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes gsToastOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(120%); opacity: 0; }
}
