/* Passenger Auth styling - Premium Glassmorphism UI */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Hind+Siliguri:wght@400;500;600;700&display=swap');

:root {
  --auth-glass-bg: rgba(255, 255, 255, 0.75);
  --auth-glass-border: rgba(255, 255, 255, 0.3);
  --auth-primary: #2563eb;
  --auth-primary-hover: #1d4ed8;
  --auth-primary-light: rgba(37, 99, 235, 0.1);
  --auth-danger: #ef4444;
  --auth-success: #10b981;
  --auth-text-dark: #0f172a;
  --auth-text-muted: #64748b;
  --auth-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
}

/* Auth Modal Overlay */
.auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.auth-modal-overlay.active {
  opacity: 1;
}

/* Auth Modal Box */
.auth-modal-box {
  background: var(--auth-glass-bg);
  border: 1px solid var(--auth-glass-border);
  box-shadow: var(--auth-shadow);
  border-radius: 24px;
  width: 90%;
  max-width: 440px;
  padding: 32px;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: 'Hind Siliguri', 'Outfit', sans-serif;
  box-sizing: border-box;
}

.auth-modal-overlay.active .auth-modal-box {
  transform: translateY(0) scale(1);
}

/* Close Button */
.auth-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(226, 232, 240, 0.6);
  border: none;
  color: var(--auth-text-dark);
  font-size: 1.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-modal-close:hover {
  background: rgba(226, 232, 240, 0.9);
  transform: rotate(90deg);
}

/* Modal Title */
.auth-modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.auth-modal-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--auth-text-dark);
  margin: 0 0 6px 0;
}

.auth-modal-header p {
  font-size: 0.9rem;
  color: var(--auth-text-muted);
  margin: 0;
}

/* Form Groups */
.auth-form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.auth-form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--auth-text-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.auth-form-group input {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(203, 213, 225, 0.8);
  background: rgba(255, 255, 255, 0.8);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--auth-text-dark);
  font-weight: 500;
  transition: all 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.auth-form-group input:focus {
  border-color: var(--auth-primary);
  box-shadow: 0 0 0 4px var(--auth-primary-light);
  background: #ffffff;
}

/* Buttons */
.auth-btn-primary {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: var(--auth-primary);
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.auth-btn-primary:hover {
  background: var(--auth-primary-hover);
  box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.4);
}

.auth-btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Form Toggles */
.auth-form-toggle {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--auth-text-muted);
}

.auth-form-toggle a {
  color: var(--auth-primary);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
  margin-left: 4px;
}

.auth-form-toggle a:hover {
  color: var(--auth-primary-hover);
  text-decoration: underline;
}

/* Errors & Info Boxes */
.auth-notice-box {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 18px;
  display: none;
  animation: auth-shake 0.4s ease;
}

.auth-notice-box.danger {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--auth-danger);
}

.auth-notice-box.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--auth-success);
}

@keyframes auth-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* User Profile Nav Dropdown */
.passenger-profile-container {
  position: relative;
  display: inline-block;
}

.passenger-profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  padding: 8px 0;
  z-index: 1000;
  display: none;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.2s ease;
}

.passenger-profile-dropdown.active {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.dropdown-user-info {
  padding: 10px 16px;
}

.dropdown-user-info .user-name {
  font-weight: 700;
  color: var(--auth-text-dark);
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-user-info .user-phone {
  font-size: 0.8rem;
  color: var(--auth-text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.dropdown-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 6px 0;
}

.dropdown-item {
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ef4444;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.dropdown-item:hover {
  background: #fee2e2;
}

/* Floating Toasts */
.auth-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-toast {
  background: #0f172a;
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 12px;
  font-family: 'Hind Siliguri', 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auth-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.auth-toast.success {
  border-left: 4px solid var(--auth-success);
}

.auth-toast.error {
  border-left: 4px solid var(--auth-danger);
}

/* Profile Action Dropdown Items */
.passenger-profile-dropdown .dropdown-action-item {
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.passenger-profile-dropdown .dropdown-action-item:hover {
  background: #f1f5f9;
  color: #1e40af;
}

.passenger-profile-dropdown .dropdown-action-item.highlight {
  color: #10b981;
}

.passenger-profile-dropdown .dropdown-action-item.highlight:hover {
  background: #ecfdf5;
  color: #047857;
}

/* Large Modal variant for Bookings List */
.auth-modal-box.large-modal {
  max-width: 600px;
}

.bookings-list-container {
  max-height: 380px;
  overflow-y: auto;
  margin-top: 15px;
  padding-right: 6px;
}

/* Custom Scrollbar for bookings container */
.bookings-list-container::-webkit-scrollbar {
  width: 6px;
}
.bookings-list-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}
.bookings-list-container::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

/* Booking Cards */
.booking-ticket-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  gap: 16px;
}

.booking-ticket-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -4px rgba(15, 23, 42, 0.06);
  border-color: rgba(37, 99, 235, 0.3);
}

.booking-ticket-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.booking-ticket-info .ticket-id {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--auth-primary);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.booking-ticket-info .route {
  font-weight: 800;
  color: var(--auth-text-dark);
  font-size: 1.05rem;
  margin: 2px 0;
}

.booking-ticket-info .details {
  font-size: 0.82rem;
  color: var(--auth-text-muted);
  font-weight: 500;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.booking-ticket-info .seats-badge {
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(37, 99, 235, 0.08);
  color: var(--auth-primary);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 6px;
  padding: 2px 8px;
  display: inline-block;
  font-family: monospace;
}

.btn-print-ticket {
  background: var(--auth-success);
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-print-ticket:hover {
  background: #059669;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.no-bookings-placeholder {
  text-align: center;
  padding: 40px 20px;
  color: var(--auth-text-muted);
}

.no-bookings-placeholder i {
  font-size: 2.5rem;
  margin-bottom: 12px;
  opacity: 0.3;
}

/* Counters Page styling */
.custom-page-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  font-family: 'Hind Siliguri', 'Outfit', sans-serif;
  box-sizing: border-box;
}

/* Premium Dark Banner Header */
.counters-header-section {
  text-align: center;
  margin-bottom: 35px;
  position: relative;
  background: linear-gradient(135deg, #090e1a 0%, #1e293b 100%);
  padding: 48px 30px;
  border-radius: 24px;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.3);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.counters-header-section::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.counters-header-section .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(37, 99, 235, 0.3);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.counters-header-section h1 {
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 12px 0;
  letter-spacing: -0.8px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.counters-header-section p {
  font-size: 1.15rem;
  color: #94a3b8;
  margin: 0;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Counters Stats Summary Grid */
.counters-stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 35px;
}

@media (max-width: 768px) {
  .counters-stats-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.stat-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 18px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 10px 25px -10px rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(15, 23, 42, 0.08);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ffffff;
  flex-shrink: 0;
}

.stat-icon.bg-blue {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.stat-icon.bg-green {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.stat-icon.bg-violet {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3);
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-value {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--auth-text-dark);
  line-height: 1.2;
}

.stat-label {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: var(--auth-text-muted);
  font-weight: 600;
}

/* Glassmorphic Search Bar */
.counters-search-wrapper {
  max-width: 600px;
  margin: 0 auto 35px;
  position: relative;
  z-index: 10;
  padding: 0;
}

.counters-search-wrapper input {
  width: 100%;
  padding: 18px 56px 18px 56px;
  border-radius: 20px;
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  background: #ffffff;
  font-size: 1.08rem;
  color: var(--auth-text-dark);
  font-weight: 500;
  outline: none;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.08);
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.counters-search-wrapper input:focus {
  border-color: var(--auth-primary);
  box-shadow: 0 20px 40px -8px rgba(37, 99, 235, 0.18);
  transform: translateY(-2px);
}

.counters-search-wrapper i {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--auth-text-muted);
  font-size: 1.25rem;
  transition: color 0.2s;
  pointer-events: none;
}

.counters-search-wrapper input:focus + i {
  color: var(--auth-primary);
}

.clear-search-btn {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(226, 232, 240, 0.6);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.clear-search-btn:hover {
  background: rgba(226, 232, 240, 1);
  color: var(--auth-text-dark);
  transform: translateY(-50%) rotate(90deg);
}

/* Category Quick Filter Wrapper */
.quick-filter-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  background: rgba(241, 245, 249, 0.5);
  padding: 12px 20px;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.6);
}

.quick-filter-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--auth-text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.quick-filter-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-tag-pill {
  background: #ffffff;
  border: 1.5px solid rgba(226, 232, 240, 0.8);
  padding: 8px 16px;
  border-radius: 30px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.filter-tag-pill:hover {
  border-color: var(--auth-primary);
  color: var(--auth-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.08);
}

.filter-tag-pill.active {
  background: var(--auth-primary);
  border-color: var(--auth-primary);
  color: #ffffff;
  box-shadow: 0 8px 16px -4px rgba(37, 99, 235, 0.3);
}

.filter-tag-pill .tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.2s;
}

.filter-tag-pill.active .tag-dot {
  background-color: #ffffff !important;
}

/* Service Point Section Headers */
.sp-section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 45px 0 24px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--auth-text-dark);
}

.sp-section-heading::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(226, 232, 240, 0.8) 0%, rgba(241, 245, 249, 0.1) 100%);
}

.sp-section-heading .sp-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: relative;
}

.sp-section-heading .sp-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
  animation: sp-pulse 2s infinite;
}

@keyframes sp-pulse {
  0% { transform: scale(0.9); opacity: 0.4; }
  50% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(0.9); opacity: 0.4; }
}

/* Counters Layout Grid */
.counters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}

/* Premium Counter Card */
.counter-detail-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.015);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  min-height: 290px;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border-bottom: 4px solid #cbd5e1;
  position: relative;
}

.counter-detail-card.main-card {
  border-bottom: 4px solid var(--auth-primary);
}

.counter-detail-card.agent-card {
  border-bottom: 4px solid #8b5cf6;
}

.counter-detail-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.08);
}

.counter-detail-card.main-card:hover {
  border-color: var(--auth-primary);
}

.counter-detail-card.agent-card:hover {
  border-color: #8b5cf6;
}

.counter-detail-card .card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

/* Initial Avatar with Gradient Background */
.counter-detail-card .avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.counter-detail-card .title-box {
  flex: 1;
  min-width: 0;
}

.counter-detail-card .title-box h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--auth-text-dark);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.title-bg-sub {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--auth-text-muted);
  margin-top: 1px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* Type Badge styling */
.counter-detail-card .badge-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
}

.counter-detail-card .type-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-radius: 6px;
  padding: 3px 8px;
}

.counter-detail-card .type-badge.main {
  background: rgba(37, 99, 235, 0.08);
  color: var(--auth-primary);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.counter-detail-card .type-badge.agent {
  background: rgba(139, 92, 246, 0.08);
  color: #8b5cf6;
  border: 1px solid rgba(139, 92, 246, 0.15);
}

/* Active Status Dot indicator */
.counter-detail-card .status-dot-active {
  width: 8px;
  height: 8px;
  background-color: var(--auth-success);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-shadow: 0 0 8px var(--auth-success);
}

.counter-detail-card .status-dot-active::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--auth-success);
  animation: sp-pulse 1.8s infinite;
  opacity: 0.6;
}

/* Card details styling */
.counter-detail-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.counter-detail-card .info-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.counter-detail-card .info-line i {
  color: var(--auth-text-muted);
  margin-top: 4px;
  width: 16px;
  text-align: center;
  font-size: 0.95rem;
}

/* Phone Wrapper pills */
.counter-detail-card .phone-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.phone-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.counter-detail-card .phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.06);
  color: var(--auth-primary);
  border: 1px solid rgba(37, 99, 235, 0.12);
  padding: 5px 12px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  transition: all 0.2s ease;
  width: fit-content;
}

.counter-detail-card .phone-pill:hover {
  background: var(--auth-primary);
  color: #ffffff;
  border-color: var(--auth-primary);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.copy-phone-btn {
  background: rgba(241, 245, 249, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: var(--auth-text-muted);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.2s ease;
  padding: 0;
  box-sizing: border-box;
}

.copy-phone-btn:hover {
  background: var(--auth-primary-light);
  color: var(--auth-primary);
  border-color: rgba(37, 99, 235, 0.2);
  transform: scale(1.05);
}

.counter-detail-card .no-phone {
  font-size: 0.85rem;
  color: var(--auth-text-muted);
  font-style: italic;
}

/* Address details */
.address-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.counter-detail-card .address-text {
  font-weight: 600;
  color: #475569;
}

.address-text-bg {
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.35;
}

/* Card Actions */
.card-footer-actions {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(241, 245, 249, 0.8);
}

.map-nav-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  border: 1.5px solid rgba(226, 232, 240, 0.8);
  background: #ffffff;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
  box-sizing: border-box;
}

.map-nav-btn:hover {
  background: var(--auth-primary-light);
  color: var(--auth-primary);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.05);
}

.map-nav-btn i {
  font-size: 0.95rem;
  transition: transform 0.2s;
}

.map-nav-btn:hover i {
  transform: translateX(2px);
}

/* Empty search result state */
.counters-empty-state {
  text-align: center;
  padding: 70px 20px;
  color: var(--auth-text-muted);
  background: #ffffff;
  border-radius: 24px;
  border: 1px dashed rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.01);
}

.counters-empty-state i {
  font-size: 3rem;
  opacity: 0.25;
  margin-bottom: 16px;
  display: block;
}

.counters-empty-state p {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--auth-text-dark);
}

/* Smooth Entrance Fade-in */
.animate-fade-in {
  animation: element-fade-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

@keyframes element-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Counters view layout visibility controls */
.app-container.show-counters-view #custom-counters-page {
  display: block !important;
}

.app-container.show-counters-view > :not(.main-header):not(.announcement-bar):not(.corporate-footer):not(#custom-counters-page) {
  display: none !important;
}


