:root {
  --portal-primary: #22c55e;
  --portal-primary-light: #4ade80;
  --portal-primary-dark: #16a34a;
  --portal-primary-rgb: 34, 197, 94;
  --portal-secondary: #525252;
  --portal-accent: #22c55e;
  --portal-success: #22c55e;
  --portal-warning: #eab308;
  --portal-danger: #ef4444;
  --portal-background: #0a0a0a;
  --portal-surface: #141414;
  --portal-surface-hover: #1c1c1c;
  --portal-surface-elevated: #1f1f1f;
  --portal-text: #fafafa;
  --portal-text-secondary: #a3a3a3;
  --portal-text-muted: #737373;
  --portal-border: #262626;
  --portal-border-light: #1f1f1f;
  --portal-radius-sm: 6px;
  --portal-radius: 10px;
  --portal-radius-lg: 14px;
  --portal-radius-xl: 20px;
  --portal-shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --portal-shadow: 0 4px 12px rgba(0,0,0,0.4);
  --portal-shadow-md: 0 8px 24px rgba(0,0,0,0.5);
  --portal-shadow-lg: 0 16px 40px rgba(0,0,0,0.6);
  --portal-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --portal-transition: all 0.2s ease;
  --portal-transition-slow: all 0.3s ease;
}

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

body.portal-barber_modern {
  font-family: var(--portal-font);
  background: var(--portal-background);
  color: var(--portal-text);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--portal-font);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.portal-header {
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--portal-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.portal-header .header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.portal-brand a {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  transition: var(--portal-transition);
}
.portal-brand a:hover {
  opacity: 0.9;
}
.portal-brand .brand-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--portal-primary);
  color: #0a0a0a;
  border-radius: var(--portal-radius);
  font-size: 1.25rem;
}
.portal-brand .portal-logo {
  max-height: 44px;
  width: auto;
}
.portal-brand .brand-text h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--portal-text);
  margin: 0;
}

.portal-nav.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.portal-nav.desktop-nav .nav-link {
  padding: 0.5rem 1rem;
  color: var(--portal-text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--portal-radius);
  transition: var(--portal-transition);
}
.portal-nav.desktop-nav .nav-link:hover {
  color: var(--portal-text);
  background: var(--portal-surface-hover);
}
.portal-nav.desktop-nav .nav-link.active {
  color: var(--portal-primary);
  background: rgba(var(--portal-primary-rgb), 0.1);
}

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

.btn-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius);
  color: var(--portal-text-secondary);
  text-decoration: none;
  transition: var(--portal-transition);
}
.btn-cart:hover {
  background: var(--portal-surface-hover);
  color: var(--portal-text);
  border-color: var(--portal-primary);
}
.btn-cart .cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--portal-primary);
  color: #0a0a0a;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.125rem 0.4rem;
  border-radius: 50px;
  min-width: 18px;
  text-align: center;
}

.btn-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  border-radius: var(--portal-radius);
  color: var(--portal-text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: var(--portal-transition);
}
.btn-logout:hover {
  color: var(--portal-danger);
  background: rgba(239, 68, 68, 0.1);
}

.btn-login {
  padding: 0.5rem 1rem;
  color: var(--portal-text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: var(--portal-transition);
}
.btn-login:hover {
  color: var(--portal-text);
}

.btn-register {
  padding: 0.625rem 1.25rem;
  background: var(--portal-primary);
  color: #0a0a0a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--portal-radius);
  transition: var(--portal-transition);
}
.btn-register:hover {
  background: var(--portal-primary-light);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-menu-toggle .bar {
  width: 24px;
  height: 2px;
  background: var(--portal-text);
  border-radius: 2px;
  transition: var(--portal-transition);
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

.hero-section {
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, var(--portal-surface) 0%, var(--portal-background) 100%);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translateX(-50%) translateY(-60%);
  background: radial-gradient(circle, rgba(var(--portal-primary-rgb), 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 992px) {
  .hero-section .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.hero-section .hero-content {
  position: relative;
}
.hero-section .hero-content .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(var(--portal-primary-rgb), 0.1);
  color: var(--portal-primary);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-section .hero-content .hero-badge i {
  font-size: 1rem;
}
.hero-section .hero-content .hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--portal-text);
  margin-bottom: 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
@media (max-width: 768px) {
  .hero-section .hero-content .hero-title {
    font-size: 2.25rem;
  }
}
.hero-section .hero-content .hero-subtitle {
  font-size: 1.125rem;
  color: var(--portal-text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 480px;
}
@media (max-width: 992px) {
  .hero-section .hero-content .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}
.hero-section .hero-content .hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}
@media (max-width: 992px) {
  .hero-section .hero-content .hero-actions {
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .hero-section .hero-content .hero-actions {
    flex-direction: column;
  }
}
.hero-section .hero-content .hero-stats {
  display: flex;
  gap: 2rem;
}
@media (max-width: 992px) {
  .hero-section .hero-content .hero-stats {
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .hero-section .hero-content .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
}
.hero-section .hero-content .hero-stats .stat {
  text-align: left;
}
@media (max-width: 992px) {
  .hero-section .hero-content .hero-stats .stat {
    text-align: center;
  }
}
.hero-section .hero-content .hero-stats .stat .stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--portal-text);
}
.hero-section .hero-content .hero-stats .stat .stat-label {
  font-size: 0.8125rem;
  color: var(--portal-text-muted);
}
.hero-section .hero-content .hero-stats .stat-divider {
  width: 1px;
  background: var(--portal-border);
}
@media (max-width: 480px) {
  .hero-section .hero-content .hero-stats .stat-divider {
    display: none;
  }
}
.hero-section .hero-visual {
  position: relative;
}
@media (max-width: 992px) {
  .hero-section .hero-visual {
    display: none;
  }
}
.hero-section .hero-visual .hero-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%;
}
.hero-section .hero-visual .hero-image-wrapper .hero-shape {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--portal-primary-rgb), 0.1) 0%, transparent 50%);
  border-radius: 50%;
}
.hero-section .hero-visual .hero-image-wrapper .hero-icon-large {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  color: var(--portal-primary);
  opacity: 0.5;
}
.hero-section .hero-visual .hero-image-wrapper .hero-icon-large svg {
  width: 100%;
  height: 100%;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--portal-primary);
  color: #0a0a0a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--portal-radius);
  transition: var(--portal-transition);
}
.btn-hero-primary:hover {
  background: var(--portal-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--portal-primary-rgb), 0.3);
  color: #0a0a0a;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: transparent;
  border: 1px solid var(--portal-border);
  color: var(--portal-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--portal-radius);
  transition: var(--portal-transition);
}
.btn-hero-secondary:hover {
  background: var(--portal-surface);
  border-color: var(--portal-primary);
  color: var(--portal-primary);
}

.portal-home.barber-modern-home {
  padding: 4rem 0;
}

.services-section .services-header {
  text-align: center;
  margin-bottom: 3rem;
}
.services-section .services-header .header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--portal-surface);
  color: var(--portal-text-secondary);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1rem;
  border: 1px solid var(--portal-border);
}
.services-section .services-header .services-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--portal-text);
  margin-bottom: 0.75rem;
}
.services-section .services-header .services-subtitle {
  font-size: 1.0625rem;
  color: var(--portal-text-secondary);
  max-width: 400px;
  margin: 0 auto;
}
.services-section .categories-nav {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.services-section .categories-nav .category-tab {
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: 1px solid var(--portal-border);
  color: var(--portal-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--portal-transition);
}
.services-section .categories-nav .category-tab:hover {
  background: var(--portal-surface);
  color: var(--portal-text);
}
.services-section .categories-nav .category-tab.active {
  background: var(--portal-primary);
  color: #0a0a0a;
  border-color: var(--portal-primary);
}
.services-section .category-section {
  margin-bottom: 3rem;
}
.services-section .category-section .category-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--portal-border);
}
.services-section .category-section .category-label .category-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.services-section .category-section .category-label .category-title .category-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--portal-primary-rgb), 0.15);
  border-radius: var(--portal-radius);
  transition: var(--portal-transition);
}
.services-section .category-section .category-label .category-title .category-icon i {
  font-size: 1.1rem;
  color: var(--portal-primary);
}
.services-section .category-section .category-label .category-title span {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--portal-text);
}
.services-section .category-section .category-label .service-count {
  font-size: 0.875rem;
  color: var(--portal-text-muted);
}
.services-section .category-section .row {
  row-gap: 1.5rem;
}

.service-card {
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-lg);
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--portal-transition);
  margin-bottom: 1rem;
}
.service-card:hover {
  border-color: var(--portal-primary);
  background: var(--portal-surface-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.service-card:hover .service-icon {
  background: var(--portal-primary);
  color: #0a0a0a;
}
.service-card .service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.service-card .service-card-header .service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--portal-primary-rgb), 0.1);
  color: var(--portal-primary);
  border-radius: var(--portal-radius);
  font-size: 1.25rem;
  transition: var(--portal-transition);
}
.service-card .service-card-header .service-duration {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--portal-text-muted);
  background: var(--portal-surface-elevated);
  padding: 0.375rem 0.75rem;
  border-radius: 50px;
}
.service-card .service-card-header .service-duration i {
  font-size: 0.875rem;
}
.service-card .service-card-body {
  flex: 1;
}
.service-card .service-card-body .service-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--portal-text);
  margin-bottom: 0.5rem;
}
.service-card .service-card-body .service-description {
  font-size: 0.875rem;
  color: var(--portal-text-muted);
  line-height: 1.5;
  margin: 0;
}
.service-card .service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--portal-border);
}
.service-card .service-card-footer .service-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.service-card .service-card-footer .service-price .currency {
  font-size: 0.875rem;
  color: var(--portal-text-muted);
  font-weight: 500;
}
.service-card .service-card-footer .service-price .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--portal-primary);
}
.service-card .service-card-footer .btn-add-service {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1rem;
  background: var(--portal-primary);
  color: #0a0a0a;
  font-weight: 600;
  font-size: 0.8125rem;
  text-decoration: none;
  border: none;
  border-radius: var(--portal-radius);
  cursor: pointer;
  transition: var(--portal-transition);
}
@media (max-width: 480px) {
  .service-card .service-card-footer .btn-add-service span {
    display: none;
  }
}
.service-card .service-card-footer .btn-add-service:hover {
  background: var(--portal-primary-light);
  transform: translateY(-1px);
}
.service-card .service-card-footer .btn-add-service.selected {
  background: var(--portal-text-muted);
  cursor: default;
  opacity: 0.7;
}
.service-card .service-card-footer .btn-add-service.selected:hover {
  background: var(--portal-text-muted);
  transform: none;
}

.cta-banner {
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-xl);
  padding: 3rem;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}
.cta-banner .cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}
@media (max-width: 768px) {
  .cta-banner .cta-content {
    flex-direction: column;
    text-align: center;
  }
}
.cta-banner .cta-content .cta-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--portal-text);
  margin-bottom: 0.5rem;
}
.cta-banner .cta-content .cta-info p {
  color: var(--portal-text-secondary);
  margin: 0;
}
.cta-banner .cta-content .cta-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .cta-banner .cta-content .cta-actions {
    flex-direction: column;
    width: 100%;
  }
}
.cta-banner .cta-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(var(--portal-primary-rgb), 0.05));
  pointer-events: none;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: var(--portal-primary);
  color: #0a0a0a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--portal-radius);
  transition: var(--portal-transition);
  white-space: nowrap;
}
.btn-cta-primary:hover {
  background: var(--portal-primary-light);
  transform: translateY(-2px);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: transparent;
  border: 1px solid var(--portal-border);
  color: var(--portal-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--portal-radius);
  transition: var(--portal-transition);
  white-space: nowrap;
}
.btn-cta-secondary:hover {
  background: var(--portal-surface-hover);
  border-color: var(--portal-text-muted);
}

.features-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
@media (max-width: 992px) {
  .features-section {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .features-section {
    grid-template-columns: 1fr;
  }
}
.features-section .feature {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-lg);
  transition: var(--portal-transition);
}
.features-section .feature:hover {
  border-color: rgba(var(--portal-primary-rgb), 0.3);
  transform: translateY(-4px);
}
.features-section .feature:hover .feature-icon {
  background: var(--portal-primary);
  color: #0a0a0a;
}
.features-section .feature .feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--portal-primary-rgb), 0.1);
  color: var(--portal-primary);
  border-radius: var(--portal-radius);
  font-size: 1.5rem;
  transition: var(--portal-transition);
}
.features-section .feature h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--portal-text);
  margin-bottom: 0.5rem;
}
.features-section .feature p {
  font-size: 0.875rem;
  color: var(--portal-text-muted);
  margin: 0;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}
.empty-state .empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--portal-surface);
  border-radius: 50%;
  font-size: 2rem;
  color: var(--portal-text-muted);
}
.empty-state h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--portal-text);
  margin-bottom: 0.5rem;
}
.empty-state p {
  color: var(--portal-text-muted);
}

.portal-footer {
  background: var(--portal-surface);
  border-top: 1px solid var(--portal-border);
  margin-top: auto;
}
.portal-footer .footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
}
@media (max-width: 992px) {
  .portal-footer .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .portal-footer .footer-main {
    grid-template-columns: 1fr;
  }
}
.portal-footer .footer-brand .brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.portal-footer .footer-brand .brand-logo img {
  max-height: 40px;
}
.portal-footer .footer-brand .brand-logo i {
  font-size: 1.5rem;
  color: var(--portal-primary);
}
.portal-footer .footer-brand .brand-logo .brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--portal-text);
}
.portal-footer .footer-brand .brand-description {
  font-size: 0.9375rem;
  color: var(--portal-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.portal-footer .footer-brand .social-links {
  display: flex;
  gap: 0.75rem;
}
.portal-footer .footer-brand .social-links .social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--portal-surface-elevated);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius);
  color: var(--portal-text-secondary);
  text-decoration: none;
  transition: var(--portal-transition);
}
.portal-footer .footer-brand .social-links .social-link:hover {
  background: var(--portal-primary);
  color: #0a0a0a;
  border-color: var(--portal-primary);
}
.portal-footer .footer-links h5, .portal-footer .footer-contact h5, .portal-footer .footer-newsletter h5 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--portal-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}
.portal-footer .footer-links ul, .portal-footer .footer-contact ul, .portal-footer .footer-newsletter ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.portal-footer .footer-links ul li, .portal-footer .footer-contact ul li, .portal-footer .footer-newsletter ul li {
  margin-bottom: 0.75rem;
}
.portal-footer .footer-links ul li a, .portal-footer .footer-contact ul li a, .portal-footer .footer-newsletter ul li a {
  color: var(--portal-text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: var(--portal-transition);
}
.portal-footer .footer-links ul li a:hover, .portal-footer .footer-contact ul li a:hover, .portal-footer .footer-newsletter ul li a:hover {
  color: var(--portal-primary);
}
.portal-footer .footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--portal-text-secondary);
  font-size: 0.9375rem;
}
.portal-footer .footer-contact ul li i {
  color: var(--portal-primary);
  width: 18px;
}
.portal-footer .footer-newsletter p {
  color: var(--portal-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}
.portal-footer .footer-newsletter .btn-footer {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--portal-primary);
  color: #0a0a0a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--portal-radius);
  transition: var(--portal-transition);
}
.portal-footer .footer-newsletter .btn-footer:hover {
  background: var(--portal-primary-light);
  transform: translateY(-1px);
}
.portal-footer .footer-bottom {
  border-top: 1px solid var(--portal-border);
  padding: 1.5rem 0;
}
.portal-footer .footer-bottom .footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 576px) {
  .portal-footer .footer-bottom .footer-bottom-content {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
.portal-footer .footer-bottom .footer-bottom-content p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--portal-text-muted);
}

.portal-main {
  min-height: calc(100vh - 180px);
}

.form-control, .form-select {
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  color: var(--portal-text);
  border-radius: var(--portal-radius);
  padding: 0.75rem 1rem;
  transition: var(--portal-transition);
  font-size: 1rem;
}
.form-control:focus, .form-select:focus {
  background: var(--portal-surface-hover);
  border-color: var(--portal-primary);
  color: var(--portal-text);
  box-shadow: 0 0 0 3px rgba(var(--portal-primary-rgb), 0.15);
  outline: none;
}
.form-control::placeholder, .form-select::placeholder {
  color: var(--portal-text-muted);
}

.form-label {
  color: var(--portal-text);
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.card {
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-lg);
  overflow: hidden;
}

.alert {
  border-radius: var(--portal-radius);
  border: none;
  padding: 1rem 1.25rem;
}

.alert-success {
  background: rgba(var(--portal-primary-rgb), 0.15);
  color: var(--portal-primary-light);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.alert-info {
  background: rgba(var(--portal-primary-rgb), 0.1);
  color: var(--portal-primary);
}

.btn-primary {
  background: var(--portal-primary);
  border: none;
  color: #0a0a0a;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--portal-radius);
  transition: var(--portal-transition);
  font-size: 0.9375rem;
}
.btn-primary:hover {
  background: var(--portal-primary-light);
  color: #0a0a0a;
  transform: translateY(-1px);
}
.btn-primary:active {
  background: var(--portal-primary-dark);
}

.btn-outline-primary {
  background: transparent;
  border: 1.5px solid var(--portal-primary);
  color: var(--portal-primary);
  font-weight: 500;
  padding: 0.625rem 1.25rem;
  border-radius: var(--portal-radius);
  transition: var(--portal-transition);
  font-size: 0.9375rem;
}
.btn-outline-primary:hover {
  background: var(--portal-primary);
  color: #0a0a0a;
}

.btn-outline-secondary {
  background: transparent;
  border: 1px solid var(--portal-border);
  color: var(--portal-text-secondary);
  font-weight: 500;
  padding: 0.625rem 1.25rem;
  border-radius: var(--portal-radius);
  transition: var(--portal-transition);
}
.btn-outline-secondary:hover {
  background: var(--portal-surface-hover);
  color: var(--portal-text);
  border-color: var(--portal-text-muted);
}

.btn-link {
  color: var(--portal-text-secondary);
  text-decoration: none;
  padding: 0.5rem;
}
.btn-link:hover {
  color: var(--portal-primary);
}

.cart-item {
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius);
  padding: 1.25rem;
  margin-bottom: 0.75rem;
  transition: var(--portal-transition);
}
.cart-item:hover {
  border-color: rgba(var(--portal-primary-rgb), 0.4);
}

.cart-total {
  background: var(--portal-surface);
  border: 1px solid var(--portal-primary);
  border-radius: var(--portal-radius-lg);
  padding: 1.5rem;
}
.cart-total .total-label {
  font-size: 0.9375rem;
  color: var(--portal-text-secondary);
}
.cart-total .total-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--portal-primary);
}

.booking-card {
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-lg);
  padding: 1.5rem;
  margin-bottom: 0.75rem;
  transition: var(--portal-transition);
  border-left: 3px solid var(--portal-primary);
}
.booking-card:hover {
  background: var(--portal-surface-hover);
}

.badge {
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
}

.badge-pending {
  background: rgba(234, 179, 8, 0.15);
  color: var(--portal-warning);
}

.badge-confirmed {
  background: rgba(var(--portal-primary-rgb), 0.15);
  color: var(--portal-primary);
}

.badge-completed {
  background: rgba(var(--portal-primary-rgb), 0.2);
  color: var(--portal-primary-light);
}

.badge-canceled {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.text-primary {
  color: var(--portal-primary) !important;
}

.text-muted {
  color: var(--portal-text-muted) !important;
}

.bg-primary {
  background: var(--portal-primary) !important;
}

@media (max-width: 992px) {
  .portal-nav.desktop-nav {
    display: none;
  }
  .header-actions .btn-login {
    display: none;
  }
}
@media (max-width: 768px) {
  .portal-header .header-content {
    height: 64px;
  }
  .portal-brand .brand-text h1 {
    font-size: 1.125rem;
  }
  .hero-section {
    padding: 3rem 0;
  }
  .hero-section .hero-content .hero-title {
    font-size: 2rem;
  }
  .services-section .services-header .services-title {
    font-size: 1.75rem;
  }
  .service-card .service-card-footer {
    flex-direction: column;
    gap: 1rem;
  }
  .service-card .service-card-footer .btn-add-service {
    width: 100%;
    justify-content: center;
  }
}
.barber-preview {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.barber-preview .preview-header {
  background: var(--portal-surface);
  border-bottom: 1px solid var(--portal-border);
  padding: 0.875rem 0;
}
.barber-preview .preview-header .header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.barber-preview .preview-header .header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.barber-preview .preview-header .header-brand .brand-logo {
  max-height: 36px;
  width: auto;
}
.barber-preview .preview-header .header-brand .brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--portal-text);
}
.barber-preview .preview-header .header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.barber-preview .preview-header .header-actions .btn-login {
  padding: 0.5rem 1rem;
  color: var(--portal-text-secondary);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--portal-transition);
}
.barber-preview .preview-header .header-actions .btn-login:hover {
  color: var(--portal-text);
}
.barber-preview .preview-header .header-actions .btn-register {
  padding: 0.5rem 1rem;
  background: var(--portal-primary);
  color: #0a0a0a;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--portal-radius);
  cursor: pointer;
  transition: var(--portal-transition);
}
.barber-preview .preview-header .header-actions .btn-register:hover {
  background: var(--portal-primary-light);
}
.barber-preview .preview-main {
  flex: 1;
  padding: 2rem 0;
}
.barber-preview .section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.barber-preview .section-header .section-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--portal-primary-rgb), 0.1);
  color: var(--portal-primary);
  border-radius: var(--portal-radius);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.barber-preview .section-header .section-title-content .section-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--portal-text);
  margin: 0 0 0.125rem;
}
.barber-preview .section-header .section-title-content .section-subtitle {
  font-size: 0.875rem;
  color: var(--portal-text-muted);
  margin: 0;
}
.barber-preview .category-group {
  margin-bottom: 1.5rem;
}
.barber-preview .category-group .category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.875rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--portal-border);
}
.barber-preview .category-group .category-header .category-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--portal-text);
}
.barber-preview .category-group .category-header .category-count {
  font-size: 0.75rem;
  color: var(--portal-text-muted);
  background: var(--portal-surface-elevated);
  padding: 0.25rem 0.625rem;
  border-radius: 50px;
}
.barber-preview .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.625rem;
}
.barber-preview .service-card-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1rem;
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius);
  transition: var(--portal-transition);
}
.barber-preview .service-card-compact:hover {
  border-color: var(--portal-primary);
  background: var(--portal-surface-hover);
}
.barber-preview .service-card-compact:hover .btn-add {
  background: var(--portal-primary);
  color: #0a0a0a;
}
.barber-preview .service-card-compact .service-info {
  flex: 1;
  min-width: 0;
}
.barber-preview .service-card-compact .service-info .service-name {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--portal-text);
  margin-bottom: 0.125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.barber-preview .service-card-compact .service-info .service-meta {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--portal-text-muted);
}
.barber-preview .service-card-compact .service-info .service-meta i {
  font-size: 0.7rem;
}
.barber-preview .service-card-compact .service-action {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}
.barber-preview .service-card-compact .service-action .service-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--portal-primary);
}
.barber-preview .service-card-compact .service-action .btn-add {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--portal-primary-rgb), 0.1);
  color: var(--portal-primary);
  border-radius: var(--portal-radius-sm);
  cursor: pointer;
  transition: var(--portal-transition);
}
.barber-preview .service-card-compact .service-action .btn-add i {
  font-size: 0.875rem;
}
.barber-preview .preview-footer {
  background: var(--portal-surface);
  border-top: 1px solid var(--portal-border);
  padding: 1rem 0;
}
.barber-preview .preview-footer .footer-text {
  text-align: center;
  font-size: 0.75rem;
  color: var(--portal-text-muted);
  margin: 0;
}

.booking-modal .modal-content {
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-lg);
  box-shadow: var(--portal-shadow-lg);
}
.booking-modal .modal-header {
  background: var(--portal-surface-elevated);
  border-bottom: 1px solid var(--portal-border);
  padding: 1.25rem 1.5rem;
}
.booking-modal .modal-header .modal-title {
  font-weight: 600;
  color: var(--portal-text);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
}
.booking-modal .modal-header .modal-title i {
  color: var(--portal-primary);
  font-size: 1.3rem;
}
.booking-modal .modal-header .btn-close {
  filter: invert(1);
  opacity: 0.6;
}
.booking-modal .modal-header .btn-close:hover {
  opacity: 1;
}
.booking-modal .modal-body {
  padding: 1.5rem;
  background: var(--portal-surface);
}
.booking-modal .modal-footer {
  background: var(--portal-surface-elevated);
  border-top: 1px solid var(--portal-border);
  padding: 1rem 1.5rem;
  gap: 0.75rem;
}
.booking-modal .modal-footer .btn-secondary {
  background: transparent;
  border: 1px solid var(--portal-border);
  color: var(--portal-text-secondary);
  border-radius: var(--portal-radius);
  padding: 0.6rem 1.25rem;
  font-weight: 500;
}
.booking-modal .modal-footer .btn-secondary:hover {
  background: var(--portal-surface-hover);
  color: var(--portal-text);
}
.booking-modal .modal-footer .btn-primary {
  background: var(--portal-primary);
  border: none;
  color: #0a0a0a;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: var(--portal-radius);
}
.booking-modal .modal-footer .btn-primary:hover:not(:disabled) {
  background: var(--portal-primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}
.booking-modal .modal-footer .btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.service-info-card {
  background: var(--portal-background);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.service-info-card .service-info-header h6 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--portal-text);
  margin: 0;
}
.service-info-card .service-info-details {
  display: flex;
  gap: 1.25rem;
}
.service-info-card .service-info-details .service-detail {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--portal-text-secondary);
  background: var(--portal-surface);
  padding: 0.4rem 0.75rem;
  border-radius: var(--portal-radius-sm);
}
.service-info-card .service-info-details .service-detail i {
  color: var(--portal-primary);
  font-size: 0.9rem;
}
.service-info-card .service-info-details .service-detail.price {
  color: var(--portal-primary);
  font-weight: 600;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--portal-text-secondary);
  margin-bottom: 1rem;
}
.section-label i {
  color: var(--portal-primary);
  font-size: 1rem;
}

.calendar-widget {
  background: var(--portal-background);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius);
  padding: 1rem;
}
.calendar-widget .calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.calendar-widget .calendar-header .calendar-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--portal-text);
}
.calendar-widget .calendar-header .calendar-nav {
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  color: var(--portal-text-secondary);
  width: 32px;
  height: 32px;
  border-radius: var(--portal-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--portal-transition);
}
.calendar-widget .calendar-header .calendar-nav:hover {
  background: var(--portal-surface-hover);
  color: var(--portal-primary);
  border-color: var(--portal-primary);
}
.calendar-widget .calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 0.5rem;
}
.calendar-widget .calendar-weekdays span {
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--portal-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0;
}
.calendar-widget .calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.calendar-widget .calendar-days .calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: var(--portal-radius-sm);
  border: none;
  background: transparent;
  color: var(--portal-text);
  cursor: pointer;
  transition: var(--portal-transition);
}
.calendar-widget .calendar-days .calendar-day.empty {
  cursor: default;
}
.calendar-widget .calendar-days .calendar-day.today {
  background: rgba(34, 197, 94, 0.15);
  color: var(--portal-primary);
  font-weight: 700;
}
.calendar-widget .calendar-days .calendar-day.available:hover {
  background: var(--portal-surface-hover);
  color: var(--portal-primary);
}
.calendar-widget .calendar-days .calendar-day.selected {
  background: var(--portal-primary);
  color: #0a0a0a;
  font-weight: 700;
}
.calendar-widget .calendar-days .calendar-day.past {
  color: var(--portal-text-muted);
  opacity: 0.3;
  cursor: not-allowed;
}
.calendar-widget .calendar-days .calendar-day.sunday {
  color: var(--portal-danger);
  opacity: 0.5;
}
.calendar-widget .calendar-days .calendar-day:disabled {
  cursor: not-allowed;
}
.calendar-widget .calendar-legend {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--portal-border);
}
.calendar-widget .calendar-legend .legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  color: var(--portal-text-muted);
}
.calendar-widget .calendar-legend .legend-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.calendar-widget .calendar-legend .legend-item .dot.today {
  background: rgba(34, 197, 94, 0.3);
}
.calendar-widget .calendar-legend .legend-item .dot.sunday {
  background: var(--portal-danger);
  opacity: 0.5;
}

.slots-section .slots-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  color: var(--portal-text-secondary);
}
.slots-section .slots-loading .spinner-border {
  color: var(--portal-primary);
}
.slots-section .slots-wrapper {
  min-height: 200px;
}
.slots-section .slots-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--portal-text-muted);
  background: var(--portal-background);
  border: 1px dashed var(--portal-border);
  border-radius: var(--portal-radius);
}
.slots-section .slots-placeholder i {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  opacity: 0.4;
}
.slots-section .slots-placeholder p {
  margin: 0;
  font-size: 0.85rem;
}

.slots-container .slots-header {
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.slots-container .slots-header .slots-date {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--portal-text);
}
.slots-container .slots-header .slots-day {
  font-size: 0.8rem;
  color: var(--portal-text-muted);
}
.slots-container .time-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 0.5rem;
}
.slots-container .time-slots-grid::-webkit-scrollbar {
  width: 4px;
}
.slots-container .time-slots-grid::-webkit-scrollbar-track {
  background: var(--portal-background);
  border-radius: 2px;
}
.slots-container .time-slots-grid::-webkit-scrollbar-thumb {
  background: var(--portal-border);
  border-radius: 2px;
}
.slots-container .time-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 0.5rem;
  border-radius: var(--portal-radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--portal-border);
  background: var(--portal-background);
  color: var(--portal-text);
  cursor: pointer;
  transition: var(--portal-transition);
}
.slots-container .time-slot i {
  font-size: 0.75rem;
}
.slots-container .time-slot.available:hover {
  border-color: var(--portal-primary);
  color: var(--portal-primary);
  background: rgba(34, 197, 94, 0.1);
}
.slots-container .time-slot.selected {
  background: var(--portal-primary);
  border-color: var(--portal-primary);
  color: #0a0a0a;
  font-weight: 600;
}
.slots-container .time-slot.selected i {
  display: none;
}
.slots-container .time-slot.unavailable {
  background: var(--portal-surface);
  color: var(--portal-text-muted);
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}
.slots-container .time-slot.unavailable i {
  color: var(--portal-danger);
}
.slots-container .no-slots {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  color: var(--portal-text-muted);
  background: var(--portal-background);
  border: 1px dashed var(--portal-border);
  border-radius: var(--portal-radius);
}
.slots-container .no-slots i {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--portal-warning);
}
.slots-container .no-slots p {
  margin: 0;
  font-size: 0.85rem;
}

.selection-summary {
  display: flex;
  gap: 2rem;
  padding: 1rem 1.25rem;
  background: var(--portal-background);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius);
}
.selection-summary .summary-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.selection-summary .summary-item .summary-label {
  font-size: 0.8rem;
  color: var(--portal-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.selection-summary .summary-item .summary-value {
  font-size: 0.95rem;
  color: var(--portal-primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .booking-modal .modal-dialog {
    margin: 0.5rem;
  }
  .booking-modal .modal-body {
    padding: 1rem;
  }
  .booking-modal .row > .col-md-6 {
    margin-bottom: 1.5rem;
  }
  .booking-modal .row > .col-md-6:last-child {
    margin-bottom: 0;
  }
  .service-info-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .calendar-widget .calendar-days .calendar-day {
    font-size: 0.75rem;
  }
  .slots-container .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .selection-summary {
    flex-direction: column;
    gap: 0.75rem;
  }
}
.cart-page {
  min-height: calc(100vh - 200px);
  padding: 3rem 0;
}
.cart-page .cart-header {
  text-align: center;
  margin-bottom: 3rem;
}
.cart-page .cart-header .header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(34, 197, 94, 0.15);
  border-radius: 100px;
  margin-bottom: 1rem;
}
.cart-page .cart-header .header-badge i {
  color: var(--portal-primary);
}
.cart-page .cart-header .header-badge span {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--portal-primary);
}
.cart-page .cart-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--portal-text);
  margin: 0 0 0.5rem 0;
}
.cart-page .cart-header p {
  color: var(--portal-text-muted);
  margin: 0;
  font-size: 1rem;
}
.cart-page .cart-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 992px) {
  .cart-page .cart-content {
    grid-template-columns: 1fr;
  }
}
.cart-page .cart-items-section .items-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--portal-border);
}
.cart-page .cart-items-section .items-header .items-count {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--portal-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.cart-page .cart-items-section .items-header .btn-add-more {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius);
  color: var(--portal-text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--portal-transition);
}
.cart-page .cart-items-section .items-header .btn-add-more:hover {
  border-color: var(--portal-primary);
  color: var(--portal-primary);
}
.cart-page .cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cart-page .cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius);
  padding: 1rem 1.25rem;
  transition: var(--portal-transition);
}
.cart-page .cart-item:hover {
  border-color: var(--portal-primary);
  background: var(--portal-surface-hover);
}
.cart-page .cart-item .item-visual .item-icon {
  width: 48px;
  height: 48px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: var(--portal-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-page .cart-item .item-visual .item-icon i {
  font-size: 1.25rem;
  color: var(--portal-primary);
}
.cart-page .cart-item .item-info {
  flex: 1;
  min-width: 0;
}
.cart-page .cart-item .item-info .item-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--portal-text);
  margin: 0 0 0.35rem 0;
}
.cart-page .cart-item .item-info .item-meta {
  display: flex;
  gap: 0.75rem;
}
.cart-page .cart-item .item-info .item-meta .meta-tag {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--portal-text-muted);
}
.cart-page .cart-item .item-info .item-meta .meta-tag i {
  font-size: 0.85rem;
}
.cart-page .cart-item .item-price-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.cart-page .cart-item .item-price-section .item-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--portal-primary);
}
.cart-page .cart-item .item-price-section .btn-remove {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--portal-radius-sm);
  color: var(--portal-text-muted);
  cursor: pointer;
  transition: var(--portal-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-page .cart-item .item-price-section .btn-remove:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--portal-danger);
  color: var(--portal-danger);
}
.cart-page .cart-summary-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (max-width: 992px) {
  .cart-page .cart-summary-section {
    order: -1;
  }
}
.cart-page .summary-card {
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-lg);
  overflow: hidden;
}
.cart-page .summary-card .summary-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--portal-border);
}
.cart-page .summary-card .summary-header h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--portal-text);
  margin: 0;
}
.cart-page .summary-card .summary-details {
  padding: 1.25rem 1.5rem;
}
.cart-page .summary-card .summary-details .detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.cart-page .summary-card .summary-details .detail-row span:first-child {
  color: var(--portal-text-muted);
}
.cart-page .summary-card .summary-details .detail-row span:last-child {
  color: var(--portal-text);
  font-weight: 500;
}
.cart-page .summary-card .summary-details .detail-row.duration {
  padding-top: 0.75rem;
  border-top: 1px solid var(--portal-border);
}
.cart-page .summary-card .summary-details .detail-row:last-child {
  margin-bottom: 0;
}
.cart-page .summary-card .summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--portal-background);
  border-top: 1px solid var(--portal-border);
}
.cart-page .summary-card .summary-total span:first-child {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--portal-text);
}
.cart-page .summary-card .summary-total .total-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--portal-primary);
}
.cart-page .summary-card .summary-actions {
  padding: 1.25rem 1.5rem;
  padding-top: 0;
}
.cart-page .summary-card .summary-actions .btn-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--portal-primary);
  color: #0a0a0a;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  border-radius: var(--portal-radius);
  cursor: pointer;
  transition: var(--portal-transition);
}
.cart-page .summary-card .summary-actions .btn-checkout:hover {
  background: var(--portal-primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}
.cart-page .summary-card .summary-extra {
  padding: 0 1.5rem 1.25rem;
  text-align: center;
}
.cart-page .summary-card .summary-extra .btn-clear {
  background: transparent;
  border: none;
  color: var(--portal-text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--portal-transition);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cart-page .summary-card .summary-extra .btn-clear:hover {
  color: var(--portal-danger);
}
.cart-page .features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius);
}
.cart-page .features-list .feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--portal-text-secondary);
}
.cart-page .features-list .feature i {
  width: 20px;
  color: var(--portal-primary);
}
.cart-page .cart-empty {
  text-align: center;
  padding: 4rem 2rem;
}
.cart-page .cart-empty .empty-visual {
  margin-bottom: 1.5rem;
}
.cart-page .cart-empty .empty-visual .empty-icon {
  width: 100px;
  height: 100px;
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.cart-page .cart-empty .empty-visual .empty-icon i {
  font-size: 2.5rem;
  color: var(--portal-text-muted);
}
.cart-page .cart-empty h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--portal-text);
  margin: 0 0 0.5rem 0;
}
.cart-page .cart-empty p {
  color: var(--portal-text-muted);
  margin: 0 0 1.5rem 0;
  font-size: 0.95rem;
}
.cart-page .cart-empty .btn-browse {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--portal-primary);
  color: #0a0a0a;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  border-radius: var(--portal-radius);
  transition: var(--portal-transition);
}
.cart-page .cart-empty .btn-browse:hover {
  background: var(--portal-primary-light);
  transform: translateY(-1px);
}

.booking-page {
  padding: 2rem 0 4rem;
  min-height: 80vh;
}
.booking-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.booking-page .booking-header {
  text-align: center;
  margin-bottom: 3rem;
}
.booking-page .booking-header .header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(var(--portal-primary-rgb), 0.15);
  border-radius: 2rem;
  margin-bottom: 1rem;
}
.booking-page .booking-header .header-badge i {
  color: var(--portal-primary);
  font-size: 1rem;
}
.booking-page .booking-header .header-badge span {
  color: var(--portal-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.booking-page .booking-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--portal-text);
  margin: 0 0 0.5rem;
}
.booking-page .booking-header p {
  color: var(--portal-text-muted);
  margin: 0;
  font-size: 1rem;
}
.booking-page .form-errors {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--portal-radius-lg);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.booking-page .form-errors i {
  color: #ef4444;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}
.booking-page .form-errors .error-content strong {
  display: block;
  color: #ef4444;
  margin-bottom: 0.5rem;
}
.booking-page .form-errors .error-content ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--portal-text-secondary);
}
.booking-page .form-errors .error-content ul li {
  margin-bottom: 0.25rem;
}
.booking-page .booking-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 991px) {
  .booking-page .booking-content {
    grid-template-columns: 1fr;
  }
}
.booking-page .booking-card {
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-lg);
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.booking-page .booking-card .card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--portal-border);
}
.booking-page .booking-card .card-header .card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--portal-primary-rgb), 0.15);
  border-radius: var(--portal-radius);
}
.booking-page .booking-card .card-header .card-icon i {
  color: var(--portal-primary);
  font-size: 1.25rem;
}
.booking-page .booking-card .card-header .card-title h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--portal-text);
  margin: 0 0 0.15rem;
}
.booking-page .booking-card .card-header .card-title p {
  color: var(--portal-text-muted);
  margin: 0;
  font-size: 0.85rem;
}
.booking-page .booking-card .card-body {
  padding: 1.5rem;
}
.booking-page .date-picker-container {
  position: relative;
  max-width: 280px;
}
.booking-page .date-picker-container .date-picker-input {
  width: 100%;
  padding: 0.875rem 1rem;
  padding-right: 3rem;
  background: var(--portal-background);
  border: 2px solid var(--portal-border);
  border-radius: var(--portal-radius);
  color: var(--portal-text);
  font-size: 1rem;
  transition: var(--portal-transition);
  cursor: pointer;
}
.booking-page .date-picker-container .date-picker-input:hover {
  border-color: var(--portal-primary);
}
.booking-page .date-picker-container .date-picker-input:focus {
  outline: none;
  border-color: var(--portal-primary);
  box-shadow: 0 0 0 3px rgba(var(--portal-primary-rgb), 0.15);
}
.booking-page .date-picker-container .date-picker-input::-webkit-calendar-picker-indicator {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}
.booking-page .date-picker-container .date-picker-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--portal-primary);
  pointer-events: none;
  pointer-events: none;
}
.booking-page .date-picker-container .date-picker-icon i {
  font-size: 1.1rem;
}
.booking-page .time-slots-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--portal-text-muted);
}
.booking-page .time-slots-empty .empty-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--portal-primary-rgb), 0.1);
  border-radius: 50%;
  margin: 0 auto 1rem;
}
.booking-page .time-slots-empty .empty-icon i {
  font-size: 1.5rem;
  color: var(--portal-primary);
  opacity: 0.6;
}
.booking-page .time-slots-empty p {
  margin: 0;
  font-size: 0.95rem;
}
.booking-page .loading-indicator {
  text-align: center;
  padding: 2rem;
}
.booking-page .loading-indicator.hidden {
  display: none;
}
.booking-page .loading-indicator .loading-spinner {
  margin-bottom: 1rem;
}
.booking-page .loading-indicator .loading-spinner .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--portal-border);
  border-top-color: var(--portal-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}
.booking-page .loading-indicator span {
  color: var(--portal-text-secondary);
  font-size: 0.9rem;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.booking-page .time-slots-wrapper.hidden {
  display: none;
}
.booking-page .time-slots-wrapper.loading {
  opacity: 0.5;
  pointer-events: none;
}
.booking-page .notes-textarea {
  width: 100%;
  padding: 1rem;
  background: var(--portal-background);
  border: 2px solid var(--portal-border);
  border-radius: var(--portal-radius);
  color: var(--portal-text);
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
  min-height: 100px;
  transition: var(--portal-transition);
}
.booking-page .notes-textarea::placeholder {
  color: var(--portal-text-muted);
}
.booking-page .notes-textarea:focus {
  outline: none;
  border-color: var(--portal-primary);
  box-shadow: 0 0 0 3px rgba(var(--portal-primary-rgb), 0.15);
}
.booking-page .booking-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.booking-page .booking-actions .btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: transparent;
  color: var(--portal-text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid var(--portal-border);
  border-radius: var(--portal-radius);
  transition: var(--portal-transition);
}
.booking-page .booking-actions .btn-back:hover {
  color: var(--portal-text);
  border-color: var(--portal-text-secondary);
}
.booking-page .booking-actions .btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--portal-primary);
  color: #0a0a0a;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  border-radius: var(--portal-radius);
  cursor: pointer;
  transition: var(--portal-transition);
}
.booking-page .booking-actions .btn-submit:hover:not(:disabled) {
  background: var(--portal-primary-light);
  transform: translateY(-1px);
}
.booking-page .booking-actions .btn-submit:disabled, .booking-page .booking-actions .btn-submit.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.booking-page .booking-summary-section {
  position: sticky;
  top: 100px;
}
@media (max-width: 991px) {
  .booking-page .booking-summary-section {
    position: static;
  }
}
.booking-page .summary-card {
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-lg);
  overflow: hidden;
}
.booking-page .summary-card .summary-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--portal-border);
}
.booking-page .summary-card .summary-header h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--portal-text);
  margin: 0;
}
.booking-page .summary-card .summary-services {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--portal-border);
}
.booking-page .summary-card .summary-service-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.75rem 0;
}
.booking-page .summary-card .summary-service-item:first-child {
  padding-top: 0;
}
.booking-page .summary-card .summary-service-item:last-child {
  padding-bottom: 0;
}
.booking-page .summary-card .summary-service-item:not(:last-child) {
  border-bottom: 1px dashed var(--portal-border);
}
.booking-page .summary-card .summary-service-item .service-info .service-name {
  display: block;
  color: var(--portal-text);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.booking-page .summary-card .summary-service-item .service-info .service-duration {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--portal-text-muted);
  font-size: 0.8rem;
}
.booking-page .summary-card .summary-service-item .service-info .service-duration i {
  font-size: 0.75rem;
}
.booking-page .summary-card .summary-service-item .service-price {
  color: var(--portal-primary);
  font-weight: 600;
  font-size: 0.95rem;
}
.booking-page .summary-card .summary-details {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--portal-border);
}
.booking-page .summary-card .summary-details .detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--portal-text-secondary);
  font-size: 0.9rem;
}
.booking-page .summary-card .summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: rgba(var(--portal-primary-rgb), 0.05);
}
.booking-page .summary-card .summary-total span:first-child {
  font-weight: 600;
  color: var(--portal-text);
}
.booking-page .summary-card .summary-total .total-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--portal-primary);
}
.booking-page .summary-card .summary-selection {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--portal-border);
}
.booking-page .summary-card .summary-selection .selection-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--portal-text-secondary);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.booking-page .summary-card .summary-selection .selection-label i {
  color: var(--portal-primary);
}
.booking-page .summary-card .summary-selection .selection-value {
  color: var(--portal-text);
  font-weight: 500;
  font-size: 0.95rem;
}
.booking-page .summary-card .summary-selection .selection-value.visible {
  color: var(--portal-primary);
}
.booking-page .features-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.booking-page .features-list .feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius);
}
.booking-page .features-list .feature i {
  color: var(--portal-primary);
  font-size: 1rem;
}
.booking-page .features-list .feature span {
  color: var(--portal-text-secondary);
  font-size: 0.9rem;
}

.slots-container .slots-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--portal-border);
}
.slots-container .slots-header .slots-date-info .slots-date {
  font-size: 1rem;
  color: var(--portal-text);
  font-weight: 600;
}
.slots-container .slots-header .slots-date-info .slots-day {
  color: var(--portal-text-muted);
  font-size: 0.85rem;
  margin-left: 0.35rem;
}
.slots-container .slots-header .slots-legend {
  display: flex;
  gap: 1rem;
}
.slots-container .slots-header .slots-legend .legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--portal-text-muted);
}
.slots-container .slots-header .slots-legend .legend-item .legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.slots-container .slots-header .slots-legend .legend-item.available .legend-dot {
  background: #22c55e;
}
.slots-container .slots-header .slots-legend .legend-item.unavailable .legend-dot {
  background: #ef4444;
}
.slots-container .time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 0.625rem;
}
.slots-container .time-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  background: var(--portal-background);
  border: 2px solid var(--portal-border);
  border-radius: var(--portal-radius);
  cursor: pointer;
  transition: var(--portal-transition);
  min-height: 60px;
}
.slots-container .time-slot .slot-time {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--portal-text);
}
.slots-container .time-slot .slot-status {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.25rem;
  font-size: 0.7rem;
}
.slots-container .time-slot .slot-status i {
  font-size: 0.8rem;
}
.slots-container .time-slot .slot-status .status-text {
  display: none;
}
.slots-container .time-slot.available {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}
.slots-container .time-slot.available .slot-status {
  color: #22c55e;
}
.slots-container .time-slot.available:hover {
  background: rgba(34, 197, 94, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}
.slots-container .time-slot.available.selected {
  background: #22c55e;
  border-color: #22c55e;
}
.slots-container .time-slot.available.selected .slot-time,
.slots-container .time-slot.available.selected .slot-status {
  color: #fff;
}
.slots-container .time-slot.unavailable {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
  cursor: not-allowed;
  opacity: 0.7;
}
.slots-container .time-slot.unavailable .slot-time {
  text-decoration: line-through;
  color: var(--portal-text-muted);
}
.slots-container .time-slot.unavailable .slot-status {
  color: #ef4444;
}
.slots-container .time-slot.unavailable .slot-status .status-text {
  display: inline;
}
.slots-container .no-slots {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--portal-text-muted);
}
.slots-container .no-slots i {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.5;
}
.slots-container .no-slots p {
  margin: 0;
  font-size: 0.95rem;
}
.slots-container .slots-error {
  text-align: center;
  padding: 2rem;
  color: #ef4444;
}
.slots-container .slots-error i {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.slots-container .slots-error p {
  margin: 0;
}

.bookings-list-page {
  padding: 2rem 0 4rem;
  min-height: calc(100vh - 200px);
}
.bookings-list-page .page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .bookings-list-page .page-header {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
}
.bookings-list-page .page-header .header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.bookings-list-page .page-header .header-content .header-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--portal-primary-rgb), 0.15);
  border-radius: var(--portal-radius-lg);
}
.bookings-list-page .page-header .header-content .header-icon i {
  font-size: 1.5rem;
  color: var(--portal-primary);
}
.bookings-list-page .page-header .header-content .header-text h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--portal-text);
  margin: 0 0 0.25rem;
}
.bookings-list-page .page-header .header-content .header-text p {
  color: var(--portal-text-muted);
  margin: 0;
  font-size: 0.9rem;
}
.bookings-list-page .page-header .btn-new-booking {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--portal-primary);
  color: #0a0a0a;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: var(--portal-radius);
  transition: var(--portal-transition);
}
.bookings-list-page .page-header .btn-new-booking:hover {
  background: var(--portal-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--portal-primary-rgb), 0.3);
}
.bookings-list-page .bookings-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .bookings-list-page .bookings-stats {
    grid-template-columns: 1fr;
  }
}
.bookings-list-page .bookings-stats .stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-lg);
}
.bookings-list-page .bookings-stats .stat-card .stat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--portal-radius);
}
.bookings-list-page .bookings-stats .stat-card .stat-icon i {
  font-size: 1.25rem;
}
.bookings-list-page .bookings-stats .stat-card .stat-icon.pending {
  background: rgba(234, 179, 8, 0.15);
}
.bookings-list-page .bookings-stats .stat-card .stat-icon.pending i {
  color: #eab308;
}
.bookings-list-page .bookings-stats .stat-card .stat-icon.confirmed {
  background: rgba(var(--portal-primary-rgb), 0.15);
}
.bookings-list-page .bookings-stats .stat-card .stat-icon.confirmed i {
  color: var(--portal-primary);
}
.bookings-list-page .bookings-stats .stat-card .stat-icon.total {
  background: rgba(99, 102, 241, 0.15);
}
.bookings-list-page .bookings-stats .stat-card .stat-icon.total i {
  color: #6366f1;
}
.bookings-list-page .bookings-stats .stat-card .stat-info {
  display: flex;
  flex-direction: column;
}
.bookings-list-page .bookings-stats .stat-card .stat-info .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--portal-text);
}
.bookings-list-page .bookings-stats .stat-card .stat-info .stat-label {
  font-size: 0.8rem;
  color: var(--portal-text-muted);
}
.bookings-list-page .bookings-section {
  margin-bottom: 2.5rem;
}
.bookings-list-page .bookings-section.past-section {
  opacity: 0.8;
}
.bookings-list-page .bookings-section .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--portal-border);
}
.bookings-list-page .bookings-section .section-header .section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.bookings-list-page .bookings-section .section-header .section-title i {
  font-size: 1.25rem;
  color: var(--portal-primary);
}
.bookings-list-page .bookings-section .section-header .section-title h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--portal-text);
  margin: 0;
}
.bookings-list-page .bookings-section .section-header .section-count {
  font-size: 0.85rem;
  color: var(--portal-text-muted);
}
.bookings-list-page .bookings-section .bookings-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.bookings-list-page .booking-card-modern {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-lg);
  text-decoration: none;
  transition: var(--portal-transition);
}
.bookings-list-page .booking-card-modern:hover {
  border-color: var(--portal-primary);
  background: var(--portal-surface-hover);
  transform: translateX(4px);
}
.bookings-list-page .booking-card-modern:hover .card-arrow {
  color: var(--portal-primary);
  transform: translateX(4px);
}
.bookings-list-page .booking-card-modern .card-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 0.75rem;
  background: rgba(var(--portal-primary-rgb), 0.1);
  border-radius: var(--portal-radius);
  border: 1px solid rgba(var(--portal-primary-rgb), 0.2);
}
.bookings-list-page .booking-card-modern .card-date .date-day {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--portal-primary);
  line-height: 1;
}
.bookings-list-page .booking-card-modern .card-date .date-month {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--portal-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.bookings-list-page .booking-card-modern .card-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (max-width: 768px) {
  .bookings-list-page .booking-card-modern .card-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
.bookings-list-page .booking-card-modern .card-content .card-main {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.bookings-list-page .booking-card-modern .card-content .card-main .card-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--portal-text);
  font-weight: 600;
}
.bookings-list-page .booking-card-modern .card-content .card-main .card-time i {
  color: var(--portal-primary);
  font-size: 0.9rem;
}
.bookings-list-page .booking-card-modern .card-content .card-main .card-time .time-weekday {
  color: var(--portal-text-muted);
  font-weight: 400;
  font-size: 0.9rem;
  text-transform: capitalize;
}
.bookings-list-page .booking-card-modern .card-content .card-main .card-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.bookings-list-page .booking-card-modern .card-content .card-main .card-services .service-tag {
  padding: 0.25rem 0.625rem;
  background: var(--portal-surface-elevated);
  border: 1px solid var(--portal-border);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--portal-text-secondary);
}
.bookings-list-page .booking-card-modern .card-content .card-main .card-services .service-more {
  padding: 0.25rem 0.5rem;
  background: rgba(var(--portal-primary-rgb), 0.1);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--portal-primary);
  font-weight: 600;
}
.bookings-list-page .booking-card-modern .card-content .card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
@media (max-width: 768px) {
  .bookings-list-page .booking-card-modern .card-content .card-meta {
    width: 100%;
    justify-content: space-between;
  }
}
.bookings-list-page .booking-card-modern .card-content .card-meta .card-total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--portal-primary);
}
.bookings-list-page .booking-card-modern .card-content .card-meta .card-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.bookings-list-page .booking-card-modern .card-content .card-meta .card-status i {
  font-size: 0.8rem;
}
.bookings-list-page .booking-card-modern .card-content .card-meta .card-status.status-pending {
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
}
.bookings-list-page .booking-card-modern .card-content .card-meta .card-status.status-confirmed {
  background: rgba(var(--portal-primary-rgb), 0.15);
  color: var(--portal-primary);
}
.bookings-list-page .booking-card-modern .card-content .card-meta .card-status.status-rejected {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
.bookings-list-page .booking-card-modern .card-content .card-meta .card-status.status-completed {
  background: rgba(99, 102, 241, 0.15);
  color: #6366f1;
}
.bookings-list-page .booking-card-modern .card-content .card-meta .card-status.status-canceled {
  background: rgba(107, 114, 128, 0.15);
  color: #6b7280;
}
.bookings-list-page .booking-card-modern .card-arrow {
  color: var(--portal-text-muted);
  font-size: 1.25rem;
  transition: var(--portal-transition);
}
@media (max-width: 768px) {
  .bookings-list-page .booking-card-modern .card-arrow {
    display: none;
  }
}
.bookings-list-page .empty-state {
  text-align: center;
  padding: 4rem 2rem;
}
.bookings-list-page .empty-state .empty-visual {
  margin-bottom: 1.5rem;
}
.bookings-list-page .empty-state .empty-visual .empty-icon {
  width: 100px;
  height: 100px;
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.bookings-list-page .empty-state .empty-visual .empty-icon i {
  font-size: 2.5rem;
  color: var(--portal-text-muted);
}
.bookings-list-page .empty-state h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--portal-text);
  margin: 0 0 0.5rem 0;
}
.bookings-list-page .empty-state p {
  color: var(--portal-text-muted);
  margin: 0 0 1.5rem 0;
  font-size: 0.95rem;
}
.bookings-list-page .empty-state .btn-book-now {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--portal-primary);
  color: #0a0a0a;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  border-radius: var(--portal-radius);
  transition: var(--portal-transition);
}
.bookings-list-page .empty-state .btn-book-now:hover {
  background: var(--portal-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--portal-primary-rgb), 0.3);
}

.booking-detail-page {
  padding: 2rem 0 4rem;
  min-height: calc(100vh - 200px);
}
.booking-detail-page .back-navigation {
  margin-bottom: 2rem;
}
.booking-detail-page .back-navigation .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--portal-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--portal-transition);
}
.booking-detail-page .back-navigation .back-link:hover {
  color: var(--portal-primary);
}
.booking-detail-page .detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--portal-border);
}
@media (max-width: 768px) {
  .booking-detail-page .detail-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}
.booking-detail-page .detail-header .header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.booking-detail-page .detail-header .header-content .header-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--portal-primary-rgb), 0.15);
  border-radius: var(--portal-radius-lg);
}
.booking-detail-page .detail-header .header-content .header-icon i {
  font-size: 1.5rem;
  color: var(--portal-primary);
}
.booking-detail-page .detail-header .header-content .header-text h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--portal-text);
  margin: 0 0 0.25rem;
}
.booking-detail-page .detail-header .header-content .header-text p {
  color: var(--portal-text-muted);
  margin: 0;
  font-size: 0.9rem;
}
.booking-detail-page .detail-header .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
}
.booking-detail-page .detail-header .status-badge i {
  font-size: 1rem;
}
.booking-detail-page .detail-header .status-badge.status-pending {
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
}
.booking-detail-page .detail-header .status-badge.status-confirmed {
  background: rgba(var(--portal-primary-rgb), 0.15);
  color: var(--portal-primary);
}
.booking-detail-page .detail-header .status-badge.status-rejected {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
.booking-detail-page .detail-header .status-badge.status-completed {
  background: rgba(99, 102, 241, 0.15);
  color: #6366f1;
}
.booking-detail-page .detail-header .status-badge.status-canceled {
  background: rgba(107, 114, 128, 0.15);
  color: #6b7280;
}
.booking-detail-page .detail-content {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 991px) {
  .booking-detail-page .detail-content {
    grid-template-columns: 1fr;
  }
}
.booking-detail-page .detail-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.booking-detail-page .detail-card {
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-lg);
  overflow: hidden;
}
.booking-detail-page .detail-card .card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--portal-border);
}
.booking-detail-page .detail-card .card-header .card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--portal-primary-rgb), 0.1);
  border-radius: var(--portal-radius);
}
.booking-detail-page .detail-card .card-header .card-icon i {
  font-size: 1.1rem;
  color: var(--portal-primary);
}
.booking-detail-page .detail-card .card-header .card-icon.danger {
  background: rgba(239, 68, 68, 0.1);
}
.booking-detail-page .detail-card .card-header .card-icon.danger i {
  color: #ef4444;
}
.booking-detail-page .detail-card .card-header h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--portal-text);
  margin: 0;
}
.booking-detail-page .detail-card .card-body {
  padding: 1.5rem;
}
.booking-detail-page .detail-card.rejection-card {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.05);
}
.booking-detail-page .detail-card.rejection-card .rejection-text {
  color: #f87171;
  margin: 0;
}
.booking-detail-page .datetime-display {
  display: flex;
  align-items: center;
  gap: 2rem;
}
@media (max-width: 480px) {
  .booking-detail-page .datetime-display {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
.booking-detail-page .datetime-display .date-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 2rem;
  background: rgba(var(--portal-primary-rgb), 0.1);
  border-radius: var(--portal-radius-lg);
  border: 2px solid var(--portal-primary);
}
.booking-detail-page .datetime-display .date-box .day {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--portal-primary);
  line-height: 1;
}
.booking-detail-page .datetime-display .date-box .month {
  font-size: 1rem;
  font-weight: 600;
  color: var(--portal-text);
  text-transform: capitalize;
}
.booking-detail-page .datetime-display .date-box .year {
  font-size: 0.85rem;
  color: var(--portal-text-muted);
}
.booking-detail-page .datetime-display .time-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.booking-detail-page .datetime-display .time-info .time-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.booking-detail-page .datetime-display .time-info .time-display i {
  font-size: 1.25rem;
  color: var(--portal-primary);
}
.booking-detail-page .datetime-display .time-info .time-display span {
  font-size: 2rem;
  font-weight: 700;
  color: var(--portal-text);
}
.booking-detail-page .datetime-display .time-info .weekday {
  font-size: 0.95rem;
  color: var(--portal-text-secondary);
  text-transform: capitalize;
}
.booking-detail-page .services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.booking-detail-page .services-list .service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--portal-border);
}
.booking-detail-page .services-list .service-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.booking-detail-page .services-list .service-item:first-child {
  padding-top: 0;
}
.booking-detail-page .services-list .service-item .service-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.booking-detail-page .services-list .service-item .service-info .service-name {
  font-weight: 500;
  color: var(--portal-text);
}
.booking-detail-page .services-list .service-item .service-info .service-duration {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--portal-text-muted);
}
.booking-detail-page .services-list .service-item .service-info .service-duration i {
  font-size: 0.75rem;
}
.booking-detail-page .services-list .service-item .service-price {
  font-weight: 600;
  color: var(--portal-primary);
  font-size: 1.05rem;
}
.booking-detail-page .notes-text {
  color: var(--portal-text-secondary);
  margin: 0;
  line-height: 1.6;
}
.booking-detail-page .detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (max-width: 991px) {
  .booking-detail-page .detail-sidebar {
    order: -1;
  }
}
.booking-detail-page .summary-card {
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-lg);
  overflow: hidden;
}
.booking-detail-page .summary-card .summary-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--portal-border);
}
.booking-detail-page .summary-card .summary-header i {
  color: var(--portal-primary);
  font-size: 1.1rem;
}
.booking-detail-page .summary-card .summary-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--portal-text);
  margin: 0;
}
.booking-detail-page .summary-card .summary-body {
  padding: 1rem 1.25rem;
}
.booking-detail-page .summary-card .summary-body .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.9rem;
}
.booking-detail-page .summary-card .summary-body .summary-row span:first-child {
  color: var(--portal-text-muted);
}
.booking-detail-page .summary-card .summary-body .summary-row span:last-child {
  color: var(--portal-text);
  font-weight: 500;
}
.booking-detail-page .summary-card .summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: rgba(var(--portal-primary-rgb), 0.05);
  border-top: 1px solid var(--portal-border);
}
.booking-detail-page .summary-card .summary-total span:first-child {
  font-weight: 600;
  color: var(--portal-text);
}
.booking-detail-page .summary-card .summary-total .total-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--portal-primary);
}
.booking-detail-page .info-card {
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-lg);
  padding: 1rem 1.25rem;
}
.booking-detail-page .info-card .info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.booking-detail-page .info-card .info-row > i {
  color: var(--portal-primary);
  font-size: 1.1rem;
  margin-top: 0.125rem;
}
.booking-detail-page .info-card .info-row .info-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.booking-detail-page .info-card .info-row .info-content .info-label {
  font-size: 0.8rem;
  color: var(--portal-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.booking-detail-page .info-card .info-row .info-content .info-value {
  color: var(--portal-text);
  font-size: 0.9rem;
}
.booking-detail-page .action-card .btn-cancel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: transparent;
  border: 2px solid var(--portal-danger);
  border-radius: var(--portal-radius);
  color: var(--portal-danger);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--portal-transition);
}
.booking-detail-page .action-card .btn-cancel:hover {
  background: var(--portal-danger);
  color: #fff;
}

.portal-auth {
  min-height: calc(100vh - 200px);
  position: relative;
  overflow: hidden;
}
.portal-auth .auth-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.portal-auth .auth-background .auth-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2322c55e' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.portal-auth .auth-hero {
  position: relative;
  height: 100%;
  min-height: 600px;
  border-radius: var(--portal-radius-xl) 0 0 var(--portal-radius-xl);
  overflow: hidden;
}
.portal-auth .auth-hero .hero-image {
  position: absolute;
  inset: 0;
}
.portal-auth .auth-hero .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.portal-auth .auth-hero .hero-image .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.6) 50%, rgba(10, 10, 10, 0.95) 100%);
}
.portal-auth .auth-hero .hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
  z-index: 2;
}
.portal-auth .auth-hero .hero-content .hero-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--portal-primary);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(var(--portal-primary-rgb), 0.4);
}
.portal-auth .auth-hero .hero-content .hero-icon svg {
  width: 30px;
  height: 30px;
  color: #0a0a0a;
}
.portal-auth .auth-hero .hero-content h2 {
  font-family: var(--portal-font);
  font-size: 2rem;
  font-weight: 700;
  color: var(--portal-text);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
.portal-auth .auth-hero .hero-content .hero-tagline {
  font-size: 1.15rem;
  color: var(--portal-primary);
  margin: 0 0 1.5rem;
  font-weight: 500;
}
.portal-auth .auth-hero .hero-content .hero-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.portal-auth .auth-hero .hero-content .hero-features .feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--portal-text-secondary);
  font-size: 0.95rem;
}
.portal-auth .auth-hero .hero-content .hero-features .feature i {
  color: var(--portal-primary);
  font-size: 1.1rem;
}
.portal-auth .auth-card {
  background: var(--portal-surface);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-xl);
  overflow: hidden;
  box-shadow: var(--portal-shadow-lg);
  position: relative;
}
.portal-auth .auth-card .auth-card-header {
  text-align: center;
  padding: 2rem 2rem 1.5rem;
  position: relative;
}
.portal-auth .auth-card .auth-card-header .header-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--portal-primary);
}
.portal-auth .auth-card .auth-card-header .header-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--portal-primary);
  border-radius: 50%;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 15px rgba(var(--portal-primary-rgb), 0.3);
}
.portal-auth .auth-card .auth-card-header .header-icon i {
  font-size: 1.75rem;
  color: #0a0a0a;
}
.portal-auth .auth-card .auth-card-header h2 {
  font-family: var(--portal-font);
  font-size: 1.5rem;
  color: var(--portal-text);
  margin: 0 0 0.5rem;
}
.portal-auth .auth-card .auth-card-header p {
  color: var(--portal-text-secondary);
  font-size: 0.9rem;
  margin: 0;
}
.portal-auth .auth-card .auth-card-body {
  padding: 0 2rem 1.5rem;
}
.portal-auth .auth-card .auth-card-body .auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--portal-radius);
  margin-bottom: 1.5rem;
}
.portal-auth .auth-card .auth-card-body .auth-alert.alert-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--portal-danger);
}
.portal-auth .auth-card .auth-card-body .auth-alert.alert-danger > i {
  color: var(--portal-danger);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.portal-auth .auth-card .auth-card-body .auth-alert.alert-danger .alert-content strong {
  display: block;
  color: var(--portal-danger);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.portal-auth .auth-card .auth-card-body .auth-alert.alert-danger .alert-content ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.85rem;
  color: #f87171;
}
.portal-auth .auth-card .auth-card-body .auth-alert.alert-danger .alert-content ul li {
  margin-bottom: 0.25rem;
}
.portal-auth .auth-card .auth-card-body .auth-form .form-group {
  margin-bottom: 1.25rem;
}
.portal-auth .auth-card .auth-card-body .auth-form .form-group.half {
  flex: 1;
  min-width: 0;
}
.portal-auth .auth-card .auth-card-body .auth-form .form-group .form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--portal-text);
  margin-bottom: 0.5rem;
}
.portal-auth .auth-card .auth-card-body .auth-form .form-group .form-label i {
  color: var(--portal-primary);
  font-size: 0.95rem;
}
.portal-auth .auth-card .auth-card-body .auth-form .form-group .input-wrapper {
  position: relative;
}
.portal-auth .auth-card .auth-card-body .auth-form .form-group .input-wrapper .form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--portal-background);
  border: 2px solid var(--portal-border);
  border-radius: var(--portal-radius);
  color: var(--portal-text);
  font-size: 0.95rem;
  transition: var(--portal-transition);
}
.portal-auth .auth-card .auth-card-body .auth-form .form-group .input-wrapper .form-control::placeholder {
  color: var(--portal-text-muted);
}
.portal-auth .auth-card .auth-card-body .auth-form .form-group .input-wrapper .form-control:hover {
  border-color: rgba(var(--portal-primary-rgb), 0.5);
}
.portal-auth .auth-card .auth-card-body .auth-form .form-group .input-wrapper .form-control:focus {
  outline: none;
  border-color: var(--portal-primary);
  box-shadow: 0 0 0 3px rgba(var(--portal-primary-rgb), 0.15);
}
.portal-auth .auth-card .auth-card-body .auth-form .form-row {
  display: flex;
  gap: 1rem;
}
@media (max-width: 576px) {
  .portal-auth .auth-card .auth-card-body .auth-form .form-row {
    flex-direction: column;
    gap: 0;
  }
}
.portal-auth .auth-card .auth-card-body .auth-form .form-actions {
  margin-top: 1.5rem;
}
.portal-auth .auth-card .auth-card-body .auth-form .form-actions .btn-submit {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--portal-primary);
  border: none;
  border-radius: var(--portal-radius);
  color: #0a0a0a;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--portal-transition);
}
.portal-auth .auth-card .auth-card-body .auth-form .form-actions .btn-submit:hover {
  background: var(--portal-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--portal-primary-rgb), 0.4);
}
.portal-auth .auth-card .auth-card-body .auth-form .form-actions .btn-submit:active {
  transform: translateY(0);
}
.portal-auth .auth-card .auth-card-footer {
  padding: 1.5rem 2rem 2rem;
  text-align: center;
}
.portal-auth .auth-card .auth-card-footer .footer-divider {
  position: relative;
  margin-bottom: 1.25rem;
}
.portal-auth .auth-card .auth-card-footer .footer-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--portal-border);
}
.portal-auth .auth-card .auth-card-footer .footer-divider span {
  position: relative;
  background: var(--portal-surface);
  padding: 0 1rem;
  color: var(--portal-text-muted);
  font-size: 0.85rem;
}
.portal-auth .auth-card .auth-card-footer .login-link {
  color: var(--portal-text-secondary);
  margin: 0;
  font-size: 0.95rem;
}
.portal-auth .auth-card .auth-card-footer .login-link .link-primary {
  color: var(--portal-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--portal-transition);
}
.portal-auth .auth-card .auth-card-footer .login-link .link-primary:hover {
  color: var(--portal-primary-light);
  text-decoration: underline;
}

.registration-page .auth-hero {
  border-radius: var(--portal-radius-xl) 0 0 var(--portal-radius-xl);
}
.registration-page .auth-card {
  height: 100%;
  border-radius: 0 var(--portal-radius-xl) var(--portal-radius-xl) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 991px) {
  .registration-page .auth-card {
    border-radius: var(--portal-radius-xl);
  }
}

.login-page .auth-hero {
  border-radius: var(--portal-radius-xl) 0 0 var(--portal-radius-xl);
}
.login-page .auth-card {
  height: 100%;
  border-radius: 0 var(--portal-radius-xl) var(--portal-radius-xl) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 991px) {
  .login-page .auth-card {
    border-radius: var(--portal-radius-xl);
  }
}

@media (max-width: 991px) {
  .portal-auth .auth-card .auth-card-header {
    padding: 1.5rem 1.5rem 1rem;
  }
  .portal-auth .auth-card .auth-card-header .header-icon {
    width: 50px;
    height: 50px;
  }
  .portal-auth .auth-card .auth-card-header .header-icon i {
    font-size: 1.5rem;
  }
  .portal-auth .auth-card .auth-card-header h2 {
    font-size: 1.35rem;
  }
  .portal-auth .auth-card .auth-card-body {
    padding: 0 1.5rem 1rem;
  }
  .portal-auth .auth-card .auth-card-footer {
    padding: 1rem 1.5rem 1.5rem;
  }
}
@media (max-width: 576px) {
  .portal-auth .auth-card .auth-card-header {
    padding: 1.25rem 1.25rem 1rem;
  }
  .portal-auth .auth-card .auth-card-body {
    padding: 0 1.25rem 1rem;
  }
  .portal-auth .auth-card .auth-card-body .auth-form .form-group {
    margin-bottom: 1rem;
  }
  .portal-auth .auth-card .auth-card-body .auth-form .form-group .form-control {
    padding: 0.75rem 1rem;
  }
  .portal-auth .auth-card .auth-card-footer {
    padding: 1rem 1.25rem 1.25rem;
  }
}
