:root {
  --portal-primary: #4f46e5;
  --portal-primary-light: #818cf8;
  --portal-primary-dark: #4338ca;
  --portal-primary-rgb: 79, 70, 229;
  --portal-secondary: #64748b;
  --portal-accent: #06b6d4;
  --portal-success: #10b981;
  --portal-warning: #f59e0b;
  --portal-danger: #ef4444;
  --portal-background: #ffffff;
  --portal-surface: #f8fafc;
  --portal-surface-hover: #f1f5f9;
  --portal-text: #0f172a;
  --portal-text-secondary: #475569;
  --portal-text-muted: #94a3b8;
  --portal-border: #e2e8f0;
  --portal-border-light: #f1f5f9;
  --portal-radius-sm: 6px;
  --portal-radius: 12px;
  --portal-radius-lg: 16px;
  --portal-radius-xl: 24px;
  --portal-shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --portal-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --portal-shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --portal-shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --portal-shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.15);
  --portal-font: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --portal-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --portal-transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body.portal-classic {
  font-family: var(--portal-font);
  background: linear-gradient(180deg, var(--portal-surface) 0%, #ffffff 100%);
  color: var(--portal-text);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

.portal-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--portal-border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--portal-transition);
}
.portal-header.scrolled {
  box-shadow: var(--portal-shadow);
}
.portal-header .header-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portal-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.portal-brand .brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--portal-primary) 0%, var(--portal-primary-light) 100%);
  border-radius: var(--portal-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(var(--portal-primary-rgb), 0.3);
}
.portal-brand h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--portal-text);
  margin: 0;
  letter-spacing: -0.02em;
}
.portal-brand a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--portal-transition);
}
.portal-brand a:hover {
  opacity: 0.85;
}

.portal-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.portal-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 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);
  position: relative;
}
.portal-nav .nav-link:hover {
  color: var(--portal-primary);
  background: rgba(var(--portal-primary-rgb), 0.06);
}
.portal-nav .nav-link.active {
  color: var(--portal-primary);
  background: rgba(var(--portal-primary-rgb), 0.08);
}
.portal-nav .nav-link i {
  font-size: 1.125rem;
}
.portal-nav .nav-link-cta {
  background: linear-gradient(135deg, var(--portal-primary) 0%, var(--portal-primary-dark) 100%);
  color: white !important;
  box-shadow: 0 4px 12px rgba(var(--portal-primary-rgb), 0.25);
}
.portal-nav .nav-link-cta:hover {
  background: linear-gradient(135deg, var(--portal-primary-dark) 0%, var(--portal-primary) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(var(--portal-primary-rgb), 0.35);
}
.portal-nav .nav-divider {
  width: 1px;
  height: 24px;
  background: var(--portal-border);
  margin: 0 0.5rem;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  background: var(--portal-danger);
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.portal-main {
  min-height: calc(100vh - 72px - 200px);
  padding: 0;
}

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

.portal-hero {
  padding: 4rem 0 3rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(var(--portal-primary-rgb), 0.03) 0%, transparent 100%);
  border-bottom: 1px solid var(--portal-border-light);
}
.portal-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(var(--portal-primary-rgb), 0.08);
  color: var(--portal-primary);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.portal-hero .hero-badge i {
  font-size: 1rem;
}
.portal-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--portal-text);
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.portal-hero .hero-subtitle {
  font-size: 1.125rem;
  color: var(--portal-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.welcome-message {
  padding: 3rem 0 2rem;
  text-align: center;
}
.welcome-message p {
  font-size: 1.25rem;
  color: var(--portal-text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.services-section {
  padding: 3rem 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--portal-border-light);
}
.section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--portal-text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-header h2 i {
  color: var(--portal-primary);
}
.section-header .section-count {
  font-size: 0.875rem;
  color: var(--portal-text-muted);
  background: var(--portal-surface);
  padding: 0.375rem 0.875rem;
  border-radius: 50px;
}

.service-category {
  margin-bottom: 3rem;
}
.service-category:last-child {
  margin-bottom: 0;
}
.service-category .category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.service-category .category-header .category-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--portal-primary) 0%, var(--portal-primary-light) 100%);
  border-radius: var(--portal-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}
.service-category .category-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--portal-text);
  margin: 0;
}
.service-category .category-header .category-count {
  margin-left: auto;
  font-size: 0.8125rem;
  color: var(--portal-text-muted);
  background: var(--portal-surface);
  padding: 0.25rem 0.625rem;
  border-radius: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--portal-background);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-lg);
  padding: 1.5rem;
  transition: var(--portal-transition-slow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--portal-primary) 0%, var(--portal-accent) 100%);
  opacity: 0;
  transition: var(--portal-transition);
}
.service-card:hover {
  border-color: var(--portal-primary-light);
  box-shadow: var(--portal-shadow-lg);
  transform: translateY(-4px);
}
.service-card:hover::before {
  opacity: 1;
}
.service-card .service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.service-card .service-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--portal-text);
  margin: 0;
  line-height: 1.4;
}
.service-card .service-price {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--portal-primary);
  white-space: nowrap;
}
.service-card .service-price small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--portal-text-muted);
}
.service-card .service-description {
  font-size: 0.9375rem;
  color: var(--portal-text-secondary);
  margin: 0 0 1rem;
  line-height: 1.6;
  flex-grow: 1;
}
.service-card .service-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--portal-border-light);
}
.service-card .service-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--portal-text-muted);
}
.service-card .service-meta .meta-item i {
  font-size: 1rem;
  color: var(--portal-text-secondary);
}
.service-card .service-actions {
  display: flex;
  gap: 0.75rem;
}

.btn {
  font-family: var(--portal-font);
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: var(--portal-radius);
  transition: var(--portal-transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  border: none;
  font-size: 0.9375rem;
  line-height: 1;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn i {
  font-size: 1.125rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--portal-primary) 0%, var(--portal-primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(var(--portal-primary-rgb), 0.25);
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--portal-primary-rgb), 0.35);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--portal-surface);
  color: var(--portal-text-secondary);
  border: 1px solid var(--portal-border);
}
.btn-secondary:hover:not(:disabled) {
  background: var(--portal-surface-hover);
  color: var(--portal-text);
  border-color: var(--portal-text-muted);
}

.btn-outline-primary {
  background: transparent;
  color: var(--portal-primary);
  border: 2px solid var(--portal-primary);
}
.btn-outline-primary:hover:not(:disabled) {
  background: var(--portal-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(var(--portal-primary-rgb), 0.25);
}

.btn-outline-secondary {
  background: transparent;
  color: var(--portal-text-secondary);
  border: 2px solid var(--portal-border);
}
.btn-outline-secondary:hover:not(:disabled) {
  background: var(--portal-surface);
  border-color: var(--portal-text-muted);
}

.btn-outline-danger {
  background: transparent;
  color: var(--portal-danger);
  border: 2px solid var(--portal-danger);
}
.btn-outline-danger:hover:not(:disabled) {
  background: var(--portal-danger);
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: var(--portal-text-secondary);
  padding: 0.5rem 0.75rem;
}
.btn-ghost:hover:not(:disabled) {
  background: var(--portal-surface);
  color: var(--portal-text);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
.btn-sm i {
  font-size: 1rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
  border-radius: var(--portal-radius-lg);
}

.btn-icon {
  padding: 0.625rem;
  width: 40px;
  height: 40px;
}

.btn-block {
  width: 100%;
}

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

.card-body {
  padding: 1.5rem;
}

.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--portal-border-light);
  background: var(--portal-surface);
}
.card-header h2, .card-header h3, .card-header h4 {
  margin: 0;
  font-weight: 600;
}

.card-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--portal-border-light);
  background: var(--portal-surface);
}

.auth-container {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: linear-gradient(180deg, var(--portal-surface) 0%, #ffffff 50%);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--portal-background);
  border-radius: var(--portal-radius-xl);
  box-shadow: var(--portal-shadow-xl);
  border: 1px solid var(--portal-border-light);
  overflow: hidden;
}
.auth-card .auth-header {
  padding: 2.5rem 2rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(var(--portal-primary-rgb), 0.04) 0%, transparent 100%);
}
.auth-card .auth-header .auth-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--portal-primary) 0%, var(--portal-primary-light) 100%);
  border-radius: var(--portal-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 24px rgba(var(--portal-primary-rgb), 0.3);
}
.auth-card .auth-header .auth-icon i {
  font-size: 1.75rem;
  color: white;
}
.auth-card .auth-header h1, .auth-card .auth-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--portal-text);
  margin: 0 0 0.5rem;
}
.auth-card .auth-header p {
  color: var(--portal-text-secondary);
  margin: 0;
  font-size: 0.9375rem;
}
.auth-card .auth-body {
  padding: 1.5rem 2rem 2.5rem;
}
.auth-card .auth-footer {
  padding: 1.5rem 2rem;
  background: var(--portal-surface);
  border-top: 1px solid var(--portal-border-light);
  text-align: center;
  font-size: 0.9375rem;
  color: var(--portal-text-secondary);
}
.auth-card .auth-footer a {
  color: var(--portal-primary);
  font-weight: 600;
  text-decoration: none;
}
.auth-card .auth-footer a:hover {
  text-decoration: underline;
}

.form-group {
  margin-bottom: 1.25rem;
}

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

.form-control, .form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--portal-border);
  border-radius: var(--portal-radius);
  font-size: 1rem;
  font-family: var(--portal-font);
  color: var(--portal-text);
  background: var(--portal-background);
  transition: var(--portal-transition);
}
.form-control::placeholder, .form-select::placeholder {
  color: var(--portal-text-muted);
}
.form-control:hover, .form-select:hover {
  border-color: var(--portal-text-muted);
}
.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--portal-primary);
  box-shadow: 0 0 0 4px rgba(var(--portal-primary-rgb), 0.1);
}
.form-control.is-invalid, .form-select.is-invalid {
  border-color: var(--portal-danger);
}
.form-control.is-invalid:focus, .form-select.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.form-text {
  font-size: 0.8125rem;
  color: var(--portal-text-muted);
  margin-top: 0.375rem;
}

.invalid-feedback {
  color: var(--portal-danger);
  font-size: 0.8125rem;
  margin-top: 0.375rem;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.cart-container {
  padding: 2rem 0 4rem;
}

.cart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 992px) {
  .cart-grid {
    grid-template-columns: 1fr 380px;
  }
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  background: var(--portal-background);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-lg);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--portal-transition);
}
.cart-item:hover {
  border-color: var(--portal-primary-light);
  box-shadow: var(--portal-shadow);
}
.cart-item .item-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(var(--portal-primary-rgb), 0.1) 0%, rgba(var(--portal-primary-rgb), 0.05) 100%);
  border-radius: var(--portal-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-item .item-icon i {
  font-size: 1.25rem;
  color: var(--portal-primary);
}
.cart-item .item-details {
  flex-grow: 1;
  min-width: 0;
}
.cart-item .item-details h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--portal-text);
  margin: 0 0 0.25rem;
}
.cart-item .item-details .item-meta {
  font-size: 0.875rem;
  color: var(--portal-text-muted);
}
.cart-item .item-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--portal-primary);
  white-space: nowrap;
}
.cart-item .item-remove {
  color: var(--portal-text-muted);
  padding: 0.5rem;
  border-radius: var(--portal-radius-sm);
  transition: var(--portal-transition);
}
.cart-item .item-remove:hover {
  color: var(--portal-danger);
  background: rgba(239, 68, 68, 0.1);
}

.cart-summary {
  position: sticky;
  top: 88px;
}
.cart-summary .card {
  border: 2px solid var(--portal-border);
}
.cart-summary .summary-header {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(var(--portal-primary-rgb), 0.05) 0%, transparent 100%);
  border-bottom: 1px solid var(--portal-border-light);
}
.cart-summary .summary-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--portal-text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cart-summary .summary-header h3 i {
  color: var(--portal-primary);
}
.cart-summary .summary-body {
  padding: 1.5rem;
}
.cart-summary .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}
.cart-summary .summary-row:not(:last-child) {
  border-bottom: 1px dashed var(--portal-border-light);
}
.cart-summary .summary-row .label {
  color: var(--portal-text-secondary);
  font-size: 0.9375rem;
}
.cart-summary .summary-row .value {
  font-weight: 600;
  color: var(--portal-text);
}
.cart-summary .summary-row.total {
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 2px solid var(--portal-border);
  border-bottom: none;
}
.cart-summary .summary-row.total .label {
  font-weight: 600;
  color: var(--portal-text);
  font-size: 1rem;
}
.cart-summary .summary-row.total .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--portal-primary);
}
.cart-summary .summary-footer {
  padding: 1.5rem;
  background: var(--portal-surface);
  border-top: 1px solid var(--portal-border-light);
}

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

.booking-card {
  background: var(--portal-background);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-lg);
  padding: 1.5rem;
  transition: var(--portal-transition);
}
.booking-card:hover {
  border-color: var(--portal-primary-light);
  box-shadow: var(--portal-shadow);
}
.booking-card .booking-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.booking-card .booking-id {
  font-size: 0.875rem;
  color: var(--portal-text-muted);
  font-weight: 500;
}
.booking-card .booking-date {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--portal-text);
  margin: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.booking-card .booking-date i {
  color: var(--portal-primary);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.badge i {
  font-size: 0.875rem;
}

.badge-pending {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.badge-confirmed {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.badge-completed {
  background: rgba(79, 70, 229, 0.1);
  color: var(--portal-primary);
}

.badge-canceled, .badge-rejected {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.bg-warning {
  background: rgba(245, 158, 11, 0.1) !important;
  color: #d97706 !important;
}

.bg-success {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #059669 !important;
}

.bg-danger {
  background: rgba(239, 68, 68, 0.1) !important;
  color: #dc2626 !important;
}

.bg-info {
  background: rgba(6, 182, 212, 0.1) !important;
  color: #0891b2 !important;
}

.bg-secondary {
  background: var(--portal-surface) !important;
  color: var(--portal-text-secondary) !important;
}

.portal-flash {
  padding: 1rem 0;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--portal-radius);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}
.alert i {
  font-size: 1.25rem;
}
.alert.alert-success {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.alert.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.alert.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.alert.alert-info {
  background: rgba(6, 182, 212, 0.1);
  color: #0891b2;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.portal-footer {
  background: var(--portal-background);
  border-top: 1px solid var(--portal-border-light);
  margin-top: auto;
}
.portal-footer .footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 768px) {
  .portal-footer .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.portal-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--portal-text);
}
.portal-footer .footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.portal-footer .footer-links a {
  color: var(--portal-text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: var(--portal-transition);
}
.portal-footer .footer-links a:hover {
  color: var(--portal-primary);
}
.portal-footer .footer-powered {
  font-size: 0.875rem;
  color: var(--portal-text-muted);
}
.portal-footer .footer-powered a {
  color: var(--portal-primary);
  text-decoration: none;
  font-weight: 500;
}
.portal-footer .footer-powered a:hover {
  text-decoration: underline;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}
.empty-state .empty-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--portal-surface) 0%, var(--portal-border-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.empty-state .empty-icon i {
  font-size: 2.5rem;
  color: var(--portal-text-muted);
}
.empty-state h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--portal-text);
  margin: 0 0 0.5rem;
}
.empty-state p {
  color: var(--portal-text-secondary);
  max-width: 400px;
  margin: 0 auto 1.5rem;
}

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

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

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

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

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

.text-center {
  text-align: center !important;
}

.text-end {
  text-align: right !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 2rem !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.me-1 {
  margin-right: 0.25rem !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.me-3 {
  margin-right: 1rem !important;
}

.ms-auto {
  margin-left: auto !important;
}

.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.py-4 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.py-5 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.px-3 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.px-4 {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.d-flex {
  display: flex !important;
}

.d-grid {
  display: grid !important;
}

.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

.flex-column {
  flex-direction: column !important;
}

.flex-grow-1 {
  flex-grow: 1 !important;
}

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-end {
  justify-content: flex-end !important;
}

.gap-1 {
  gap: 0.25rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

.gap-4 {
  gap: 1.5rem !important;
}

.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

.small {
  font-size: 0.875rem !important;
}

.lead {
  font-size: 1.125rem !important;
}

.fw-normal {
  font-weight: 400 !important;
}

.fw-medium {
  font-weight: 500 !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.border {
  border: 1px solid var(--portal-border) !important;
}

.border-bottom {
  border-bottom: 1px solid var(--portal-border) !important;
}

.border-top {
  border-top: 1px solid var(--portal-border) !important;
}

.rounded {
  border-radius: var(--portal-radius) !important;
}

.rounded-lg {
  border-radius: var(--portal-radius-lg) !important;
}

.shadow {
  box-shadow: var(--portal-shadow) !important;
}

.shadow-lg {
  box-shadow: var(--portal-shadow-lg) !important;
}

.list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: -0.625rem;
}

.g-3 {
  margin: -0.5rem;
}
.g-3 > * {
  padding: 0.5rem;
}

.g-4 {
  margin: -0.75rem;
}
.g-4 > * {
  padding: 0.75rem;
}

[class*=col-] {
  padding: 0.625rem;
  width: 100%;
}

@media (min-width: 576px) {
  .col-sm-6 {
    width: 50%;
  }
  .col-sm-12 {
    width: 100%;
  }
}
@media (min-width: 768px) {
  .col-md-4 {
    width: 33.333%;
  }
  .col-md-6 {
    width: 50%;
  }
  .col-md-8 {
    width: 66.666%;
  }
  .col-md-12 {
    width: 100%;
  }
  .text-md-end {
    text-align: right !important;
  }
  .d-md-flex {
    display: flex !important;
  }
  .d-md-none {
    display: none !important;
  }
  .d-md-block {
    display: block !important;
  }
}
@media (min-width: 992px) {
  .col-lg-3 {
    width: 25%;
  }
  .col-lg-4 {
    width: 33.333%;
  }
  .col-lg-5 {
    width: 41.666%;
  }
  .col-lg-6 {
    width: 50%;
  }
  .col-lg-7 {
    width: 58.333%;
  }
  .col-lg-8 {
    width: 66.666%;
  }
  .col-lg-9 {
    width: 75%;
  }
  .d-lg-flex {
    display: flex !important;
  }
  .d-lg-none {
    display: none !important;
  }
  .d-lg-block {
    display: block !important;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--portal-border);
}
.divider span {
  padding: 0 1rem;
  color: var(--portal-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

:root {
  --portal-primary: #8b5cf6;
  --portal-primary-dark: #7c3aed;
  --portal-secondary: #06b6d4;
  --portal-background: #ffffff;
  --portal-surface: #f5f3ff;
  --portal-text: #1f2937;
  --portal-text-muted: #6b7280;
  --portal-border: rgba(139, 92, 246, 0.2);
  --portal-radius: 16px;
  --portal-shadow: 0 10px 40px rgba(139, 92, 246, 0.15);
  --portal-font: 'Poppins', sans-serif;
}

body.portal-modern {
  font-family: var(--portal-font);
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  min-height: 100vh;
}

.portal-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.1);
}

.portal-brand h1 {
  background: linear-gradient(135deg, var(--portal-primary) 0%, var(--portal-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-modern-primary,
.btn-primary {
  background: linear-gradient(135deg, var(--portal-primary) 0%, #a78bfa 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-modern-primary:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.btn-modern-outline,
.btn-outline-primary {
  border: 2px solid var(--portal-primary);
  color: var(--portal-primary);
  background: rgba(139, 92, 246, 0.05);
}

.btn-modern-outline:hover,
.btn-outline-primary:hover {
  background: var(--portal-primary);
  color: white;
}

.card {
  border: none;
  box-shadow: var(--portal-shadow);
  border-radius: var(--portal-radius);
  overflow: hidden;
}

.service-card {
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  border-color: var(--portal-primary);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.service-price {
  background: linear-gradient(135deg, var(--portal-primary) 0%, var(--portal-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.auth-card {
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.25);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--portal-primary);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}

.badge {
  border-radius: 8px;
  font-weight: 600;
}

.portal-footer {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  color: white;
  border: none;
}

.portal-footer h5 {
  color: white;
}

.portal-footer .text-muted {
  color: rgba(255, 255, 255, 0.6) !important;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.service-card {
  animation: fadeInUp 0.5s ease-out;
}
