/* ==========================================================================
   CASHIER PAGE STYLES
   ========================================================================== */

/* Cashier Hero Section */
.cashier-hero {
  position: relative;
  background-image: url('../images/cashier-hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* border-bottom: 1px solid var(--border-color); */
}

.cashier-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: rgba(0, 0, 0, 0.4); */
  z-index: 1;
}

.cashier-hero::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -250px;
  width: 600px;
  height: 600px;
  background-color: #D40E37;
  opacity: 0.28;
  filter: blur(110px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.cashier-hero .container {
  position: relative;
  z-index: 2;
}

.cashier-hero-content {
  max-width: 600px;
  text-align: left;
}

.cashier-hero-title {
  font-family: var(--font-heading);
  font-size: 4.6rem;
  font-weight: 400;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -1px;
}

/* Cashier Main Content Section */
.cashier-section {
  padding: 100px 0;
  background-color: #000000;
  position: relative;
  overflow: hidden;
}

/* Subtle background glow effect from the sides */
.cashier-section::before {
  content: '';
  position: absolute;
  top: 15%;
  left: -250px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 14, 55, 0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.cashier-section::after {
  content: '';
  position: absolute;
  bottom: 15%;
  right: -250px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 14, 55, 0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.cashier-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  /* max-width: 1050px; */
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Card design matching premium dark-mode theme */
.cashier-card {
  display: flex;
  align-items: center;
  background-color: #0D0D0D;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  gap: 35px;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.cashier-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 21, 75, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 21, 75, 0.05);
}

/* Left column - Logo wrap */
.cashier-logo-wrap {
  width: 280px;
  height: 280px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
}

.cashier-logo-wrap.dark-bg {
  background-color: transparent;
}

.cashier-logo-wrap.white-bg {
  background-color: transparent;
}

.cashier-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Right column - Content wrapper */
.cashier-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cashier-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.cashier-title {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 500;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cashier-how-link {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  color: #ffffff;
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.cashier-how-link:hover {
  color: #ffffff;
}

.cashier-desc {
  font-family: var(--font-body);
  font-size: 18px;
  color: #D6D6D6;
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 22px;
}

/* Bottom Actions inside Cards */
.cashier-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cashier-or {
  font-family: var(--font-body);
  font-size: 18px;
  color: #D6D6D6;
  font-weight: 500;
  text-transform: uppercase;
}

.cashier-btn {
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  transition: all var(--transition-normal);
  font-family: var(--font-body);
}

.cashier-btn-deposit {
  background: linear-gradient(135deg, var(--accent-orange), #B00927);
  color: #ffffff;
  border: none;
}

.cashier-btn-deposit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--accent-orange-glow);
}

.cashier-btn-learn {
  background: transparent;
  color: #ffffff;
  border: 1px solid #5d6175;
}

.cashier-btn-learn:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

/* Center aligned load more section */
.cashier-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  position: relative;
  z-index: 2;
}

.cashier-btn-load-more {
  background: transparent;
  color: var(--accent-orange);
  border: 1px solid var(--accent-orange);
  padding: 12px 36px;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-normal);
  letter-spacing: 0.5px;
  font-family: var(--font-body);
}

.cashier-btn-load-more:hover {
  background-color: var(--accent-orange);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--accent-orange-glow);
  transform: translateY(-2px);
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 992px) {
  .cashier-hero-title {
    font-size: 3.2rem;
  }

  .cashier-section {
    padding: 60px 0;
  }

  .cashier-card {
    gap: 25px;
    padding: 24px;
  }

  .cashier-logo-wrap {
    width: 130px;
    height: 130px;
  }

  .cashier-title {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .cashier-hero {
    height: 320px;
  }

  .cashier-hero-title {
    font-size: 2.5rem;
  }

  .cashier-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    gap: 25px;
  }

  .cashier-logo-wrap {
    width: 140px;
    height: 140px;
  }

  .cashier-title {
    font-size: 30px;
  }

  .cashier-header {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
  }

  .cashier-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .cashier-btn {
    width: 100%;
  }

  .cashier-load-more-wrap {
    margin-top: 35px;
  }
}