/* Custom Styles for Navbat UZ Portal */

/* Fonts */
@font-face {
    font-family: 'Manrope';
    src: url('/customer-assets/wr2/styles/fonts/Manrope-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Primary Colors */
    --primary-10: color(display-p3 0 0.113 0.2);
    --primary-20: color(display-p3 0 0.2 0.329);
    --primary-30: color(display-p3 0 0.29 0.466);
    --primary-40: color(display-p3 0 0.388 0.611);
    --primary-50: color(display-p3 0.145 0.486 0.737);
    --primary-60: color(display-p3 0.282 0.588 0.843);
    --primary-70: color(display-p3 0.4 0.694 0.956);
    --primary-80: color(display-p3 0.596 0.796 1);
    --primary-90: color(display-p3 0.807 0.898 1);
    --primary-95: color(display-p3 0.909 0.949 1);
    --primary-99: color(display-p3 0.988 0.988 1);
    --primary-100: color(display-p3 1 1 1);
    
    /* Secondary Colors */
    --secondary-10: color(display-p3 0.054 0.113 0.164);
    --secondary-20: color(display-p3 0.141 0.196 0.25);
    --secondary-30: color(display-p3 0.227 0.282 0.341);
    --secondary-40: color(display-p3 0.321 0.376 0.435);
    --secondary-50: color(display-p3 0.415 0.47 0.537);
    --secondary-60: color(display-p3 0.517 0.572 0.639);
    --secondary-70: color(display-p3 0.619 0.678 0.745);
    --secondary-80: color(display-p3 0.725 0.784 0.854);
    --secondary-90: color(display-p3 0.835 0.894 0.968);
    --secondary-95: color(display-p3 0.909 0.949 1);
    --secondary-99: color(display-p3 0.988 0.988 1);
    --secondary-100: color(display-p3 1 1 1);
    
    /* Tertiary Colors */
    --tertiary-10: color(display-p3 0.137 0.082 0.2);
    --tertiary-20: color(display-p3 0.223 0.164 0.286);
    --tertiary-30: color(display-p3 0.313 0.25 0.38);
    --tertiary-40: color(display-p3 0.407 0.341 0.478);
    --tertiary-50: color(display-p3 0.509 0.439 0.576);
    --tertiary-60: color(display-p3 0.611 0.537 0.682);
    --tertiary-70: color(display-p3 0.721 0.639 0.792);
    --tertiary-80: color(display-p3 0.831 0.745 0.901);
    --tertiary-90: color(display-p3 0.937 0.858 1);
    --tertiary-95: color(display-p3 0.976 0.925 1);
    --tertiary-99: color(display-p3 1 0.984 1);
    --tertiary-100: color(display-p3 1 1 1);
    
    /* Error Colors */
    --error-10: color(display-p3 0.254 0 0.007);
    --error-20: color(display-p3 0.411 0 0.019);
    --error-30: color(display-p3 0.576 0 0.039);
    --error-40: color(display-p3 0.729 0.101 0.101);
    --error-50: color(display-p3 0.87 0.215 0.188);
    --error-60: color(display-p3 1 0.329 0.286);
    --error-70: color(display-p3 1 0.537 0.49);
    --error-80: color(display-p3 1 0.705 0.67);
    --error-90: color(display-p3 1 0.854 0.839);
    --error-95: color(display-p3 1 0.929 0.917);
    --error-99: color(display-p3 1 0.984 1);
    --error-100: color(display-p3 1 1 1);
    
    /* Neutral Colors */
    --neutral-10: color(display-p3 0.101 0.109 0.117);
    --neutral-20: color(display-p3 0.184 0.188 0.2);
    --neutral-30: color(display-p3 0.27 0.278 0.29);
    --neutral-40: color(display-p3 0.364 0.368 0.38);
    --neutral-50: color(display-p3 0.462 0.466 0.478);
    --neutral-60: color(display-p3 0.564 0.564 0.58);
    --neutral-70: color(display-p3 0.666 0.67 0.682);
    --neutral-80: color(display-p3 0.776 0.776 0.788);
    --neutral-90: color(display-p3 0.886 0.886 0.898);
    --neutral-95: color(display-p3 0.945 0.941 0.956);
    --neutral-99: color(display-p3 0.988 0.988 1);
    --neutral-100: color(display-p3 1 1 1);
    
    /* Neutral Variant Colors */
    --neutral-var-10: color(display-p3 0.09 0.109 0.133);
    --neutral-var-20: color(display-p3 0.172 0.192 0.215);
    --neutral-var-30: color(display-p3 0.258 0.278 0.305);
    --neutral-var-40: color(display-p3 0.352 0.372 0.4);
    --neutral-var-50: color(display-p3 0.447 0.466 0.498);
    --neutral-var-60: color(display-p3 0.549 0.568 0.6);
    --neutral-var-70: color(display-p3 0.654 0.67 0.701);
    --neutral-var-80: color(display-p3 0.76 0.78 0.811);
    --neutral-var-90: color(display-p3 0.87 0.89 0.921);
    --neutral-var-95: color(display-p3 0.929 0.945 0.976);
    --neutral-var-99: color(display-p3 0.988 0.988 1);
    --neutral-var-100: color(display-p3 1 1 1);
}

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Touch-friendly improvements */
button, 
input, 
select, 
textarea, 
a {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input, 
textarea {
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Prevent horizontal scroll on mobile */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--neutral-10);
    background-color: var(--neutral-100);
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}

.header-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.header-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.header-navigation .nav-link:hover {
    background-color: #f3f4f6;
    color: #111827;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-symbol {
    position: relative;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chain-part {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
}

.chain-part:nth-child(1) {
    top: 8px;
    left: 8px;
}

.chain-part:nth-child(2) {
    top: 8px;
    right: 8px;
}

.chain-part:nth-child(3) {
    bottom: 8px;
    left: 8px;
}

.plus-symbol {
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-smart {
    font-size: 18px;
    font-weight: 700;
    color: #3b82f6;
    letter-spacing: 0.5px;
}

.logo-clinic {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: 0.5px;
}

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

/* Old login-button styles removed - now handled by unified button system */

/* User Menu Styles */
.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-name {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

/* Old logout-button styles removed - now handled by unified button system */

/* Unified Button System */
:root {
  /* Primary Colors */
  --primary-color: #3b82f6;
  --primary-hover: #2563eb;
  --primary-active: #1d4ed8;
  
  /* Secondary Colors */
  --secondary-color: #6b7280;
  --secondary-hover: #4b5563;
  --secondary-active: #374151;
  
  /* Success Colors */
  --success-color: #10b981;
  --success-hover: #059669;
  --success-active: #047857;
  
  /* Danger Colors */
  --danger-color: #ef4444;
  --danger-hover: #dc2626;
  --danger-active: #b91c1c;
  
  /* Warning Colors */
  --warning-color: #f59e0b;
  --warning-hover: #d97706;
  --warning-active: #b45309;
  
  /* Neutral Colors */
  --neutral-color: #f8fafc;
  --neutral-hover: #e2e8f0;
  --neutral-active: #cbd5e1;
  
  /* Button Sizes */
  --btn-sm-padding: 8px 16px;
  --btn-md-padding: 12px 24px;
  --btn-lg-padding: 16px 32px;
  --btn-xl-padding: 20px 40px;
  
  /* Button Font Sizes */
  --btn-sm-font: 14px;
  --btn-md-font: 16px;
  --btn-lg-font: 18px;
  --btn-xl-font: 20px;
  
  /* Button Border Radius */
  --btn-radius: 8px;
  --btn-radius-lg: 12px;
}

/* Base Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--btn-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.btn:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Button Sizes */
.btn-sm {
  padding: var(--btn-sm-padding);
  font-size: var(--btn-sm-font);
  min-height: 36px;
}

.btn-md {
  padding: var(--btn-md-padding);
  font-size: var(--btn-md-font);
  min-height: 44px;
}

.btn-lg {
  padding: var(--btn-lg-padding);
  font-size: var(--btn-lg-font);
  min-height: 52px;
}

.btn-xl {
  padding: var(--btn-xl-padding);
  font-size: var(--btn-xl-font);
  min-height: 60px;
}

/* Button Variants */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-hover), var(--primary-active));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  background: white;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.btn-success {
  background: linear-gradient(135deg, var(--success-color), var(--success-hover));
  color: white;
}

.btn-success:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--success-hover), var(--success-active));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger-color), var(--danger-hover));
  color: white;
}

.btn-danger:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--danger-hover), var(--danger-active));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-warning {
  background: linear-gradient(135deg, var(--warning-color), var(--warning-hover));
  color: white;
}

.btn-warning:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--warning-hover), var(--warning-active));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-neutral {
  background: var(--neutral-color);
  color: var(--secondary-color);
  border: 1px solid var(--neutral-active);
}

.btn-neutral:hover:not(:disabled) {
  background: var(--neutral-hover);
  color: var(--secondary-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--secondary-color);
  border: none;
}

.btn-ghost:hover:not(:disabled) {
  background: var(--neutral-color);
  color: var(--secondary-hover);
}

/* Button Widths */
.btn-full {
  width: 100%;
}

.btn-auto {
  width: auto;
}

/* Legacy Button Compatibility */
.btn-login, .login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--btn-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
  padding: var(--btn-md-padding);
  font-size: var(--btn-md-font);
  min-height: 44px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: white;
}

.btn-login:hover:not(:disabled), .login-button:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-hover), var(--primary-active));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-appointment, .appointment-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--btn-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
  padding: var(--btn-lg-padding);
  font-size: var(--btn-lg-font);
  min-height: 52px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: white;
}

.btn-appointment:hover:not(:disabled), .appointment-button:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-hover), var(--primary-active));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-service, .service-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--btn-radius-lg);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
  padding: var(--btn-lg-padding);
  font-size: var(--btn-md-font);
  min-height: 52px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: white;
  text-align: center;
}

.btn-service:hover:not(:disabled), .service-button:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-hover), var(--primary-active));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-user-service, .user-service-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid var(--secondary-color);
  border-radius: var(--btn-radius-lg);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
  padding: var(--btn-lg-padding);
  font-size: var(--btn-md-font);
  min-height: 52px;
  background: white;
  color: var(--secondary-color);
  text-align: center;
}

.btn-user-service:hover:not(:disabled), .user-service-button:hover:not(:disabled) {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.btn-logout, .logout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--btn-radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
  padding: var(--btn-sm-padding);
  font-size: var(--btn-sm-font);
  min-height: 36px;
  background: linear-gradient(135deg, var(--danger-color), var(--danger-hover));
  color: white;
}

.btn-logout:hover:not(:disabled), .logout-button:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--danger-hover), var(--danger-active));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-select, .select-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--btn-radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
  padding: var(--btn-sm-padding);
  font-size: var(--btn-sm-font);
  min-height: 36px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: white;
}

.btn-select:hover:not(:disabled), .select-button:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-hover), var(--primary-active));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-book, .book-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--btn-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
  padding: var(--btn-md-padding);
  font-size: var(--btn-md-font);
  min-height: 44px;
  background: linear-gradient(135deg, var(--success-color), var(--success-hover));
  color: white;
}

.btn-book:hover:not(:disabled), .book-button:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--success-hover), var(--success-active));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-cancel, .cancel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--neutral-active);
  border-radius: var(--btn-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
  padding: var(--btn-md-padding);
  font-size: var(--btn-md-font);
  min-height: 44px;
  background: var(--neutral-color);
  color: var(--secondary-color);
}

.btn-cancel:hover:not(:disabled), .cancel-button:hover:not(:disabled) {
  background: var(--neutral-hover);
  color: var(--secondary-hover);
  transform: translateY(-1px);
}

.btn-back, .back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--btn-radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
  padding: var(--btn-sm-padding);
  font-size: var(--btn-sm-font);
  min-height: 36px;
  background: transparent;
  color: var(--secondary-color);
}

.btn-back:hover:not(:disabled), .back-button:hover:not(:disabled) {
  background: var(--neutral-color);
  color: var(--secondary-hover);
}

.btn-close, .close-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--btn-radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
  padding: 8px;
  font-size: var(--btn-sm-font);
  min-width: 32px;
  min-height: 32px;
  background: transparent;
  color: var(--secondary-color);
}

.btn-close:hover:not(:disabled), .close-button:hover:not(:disabled) {
  background: var(--neutral-color);
  color: var(--secondary-hover);
}

.btn-confirm, .confirm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--btn-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
  padding: var(--btn-md-padding);
  font-size: var(--btn-md-font);
  min-height: 44px;
  background: linear-gradient(135deg, var(--success-color), var(--success-hover));
  color: white;
}

.btn-confirm:hover:not(:disabled), .confirm-button:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--success-hover), var(--success-active));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-resend, .resend-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--btn-radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: underline;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
  padding: var(--btn-sm-padding);
  font-size: var(--btn-sm-font);
  min-height: 36px;
  background: transparent;
  color: var(--secondary-color);
}

.btn-resend:hover:not(:disabled), .resend-button:hover:not(:disabled) {
  background: var(--neutral-color);
  color: var(--secondary-hover);
}

.btn-change-service, .change-service-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--btn-radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
  padding: var(--btn-sm-padding);
  font-size: var(--btn-sm-font);
  min-height: 36px;
  background: linear-gradient(135deg, var(--warning-color), var(--warning-hover));
  color: white;
}

.btn-change-service:hover:not(:disabled), .change-service-button:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--warning-hover), var(--warning-active));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Button Styles */
.active_a {
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    flex: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.size_sm {
    padding: 8px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 20px;
    height: 36px;
}

.active_a:hover {
    background-color: var(--primary-90);
    color: var(--primary-50);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .notification-message {
        padding: 16px;
        font-size: 15px;
        border-radius: 12px;
    }
}

.messages_list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notification-message {
    padding: 12px 16px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification-message:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.notification-success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.notification-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.notification-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.notification-info {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

/* Free Block Styles */
.free_block {
    background: var(--primary-95);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
}

.free_block__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-50);
    margin-bottom: 16px;
}

.free_block__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.free_block__containerItem {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--primary-100);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.free_block__containerItem:hover {
    background: var(--primary-90);
    transform: translateY(-2px);
}

.free_block__containerItem_name {
    font-size: 16px;
    font-weight: 500;
    color: var(--neutral-10);
}

.free_block__containerItem_icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wr-icon {
    display: inline-block;
    width: 26px;
    height: 26px;
    background-color: var(--primary-100);
    border-radius: 4px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Icon specific styles */
.wr-icon.i-calendar {
    background-image: url('/customer-assets/wr2/styles/icons/calendar.svg');
}

.wr-icon.i-document {
    background-image: url('/customer-assets/wr2/styles/icons/document.svg');
}

.wr-icon.i-services {
    background-image: url('/customer-assets/wr2/styles/icons/services.svg');
}

.wr-icon.i-login {
    background-image: url('/customer-assets/wr2/styles/icons/login.svg');
}

/* Auth Block Styles */
.auth_block {
    background: var(--primary-100);
    border: 2px solid var(--secondary-80);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
}

.auth_block__header {
    margin-bottom: 20px;
}

.auth_block__header__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--neutral-10);
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth_block__login_link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-80);
    font-size: 14px;
    font-weight: 500;
}

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

.auth_block__item {
    padding: 16px;
    background: var(--primary-95);
    border-radius: 12px;
    border: 1px solid var(--secondary-90);
}

/* Main Content Styles */
.main-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
    text-align: left;
}

/* Appointment Section */
.appointment-section {
    margin-bottom: 48px;
}

.appointment-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.appointment-button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 20px 32px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.appointment-button:hover {
    background: #2563eb;
    color: white;
    text-decoration: none;
}

.appointment-divider {
    width: 2px;
    height: 60px;
    background: white;
    margin: 0 20px;
}

.appointment-info {
    flex: 1;
    padding: 20px 32px 20px 0;
    font-size: 16px;
    color: #374151;
    font-weight: 500;
}

/* About Us Section */
.about-us-section {
    margin-bottom: 48px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.service-button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 20px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.service-button:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* About You Section */
.about-you-section {
    margin-bottom: 48px;
}

.auth-notice {
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 24px;
    font-weight: 500;
}

.user-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.user-service-button {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    padding: 20px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.user-service-button:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Reservation Page Styles */
.reservation-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.reservation-content {
    max-width: 800px;
    margin: 0 auto;
}

.reservation-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 48px;
    text-align: center;
}

/* Information Box */
.info-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon {
    flex-shrink: 0;
}

.info-circle {
    width: 32px;
    height: 32px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.info-content {
    flex: 1;
}

.info-content p {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #374151;
    line-height: 1.5;
}

.info-content p:last-child {
    margin-bottom: 0;
}

/* Accordion Styles */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.accordion-button {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    min-height: 60px;
    touch-action: manipulation;
}

.accordion-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.accordion-button:hover::before {
    left: 100%;
}

.accordion-button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.accordion-button.active {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 4px 20px rgba(29, 78, 216, 0.3);
}

.accordion-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-text {
    flex: 1;
    text-align: left;
}

.accordion-content {
    padding: 32px;
    background: #fafbfc;
    border-top: 1px solid #e5e7eb;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.branch-item,
.service-item,
.doctor-item {
    padding: 20px 24px;
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.service-item-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.service-name {
    margin: 0;
    font-size: 16px;
    color: #374151;
    line-height: 1.5;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.branch-item:hover,
.service-item:hover,
.doctor-item:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.branch-item:last-child,
.service-item:last-child,
.doctor-item:last-child {
    margin-bottom: 0;
}

.branch-item p,
.service-item p {
    margin: 0;
    font-size: 16px;
    color: #374151;
    line-height: 1.5;
}

.doctor-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.doctor-item p {
    margin: 0;
    font-size: 16px;
    color: #374151;
    font-weight: 500;
}

.select-button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.select-button:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

/* Login Page Styles */
.login-container {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.login-content {
    width: 100%;
    max-width: 400px;
}

.login-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.login-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 32px;
}

.phone-step,
.sms-step {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
}

.form-input {
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    background: white;
    min-height: 48px;
    -webkit-appearance: none;
    appearance: none;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input:disabled {
    background: #f9fafb;
    color: #6b7280;
    cursor: not-allowed;
}

.input-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Mobile form improvements */
@media (max-width: 768px) {
    .form-input {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 44px;
    }
    
    .form-label {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 8px;
        display: block;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    /* Button improvements for mobile */
    button {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }
    
    .login-button,
    .appointment-button,
    .service-button,
    .user-service-button {
        min-height: 48px;
        font-size: 16px;
        font-weight: 600;
    }
}

.sms-input {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 4px;
}

.form-hint {
    font-size: 14px;
    color: #6b7280;
    margin-top: 4px;
}

.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.login-button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.login-button:hover:not(:disabled) {
    background: #2563eb;
    transform: translateY(-1px);
}

.login-button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.sms-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.back-button {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 14px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.back-button:hover {
    background: #f3f4f6;
    color: #374151;
}

.sms-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.resend-section {
    text-align: center;
    margin-top: 16px;
}

.resend-button {
    background: none;
    border: none;
    color: #3b82f6;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.resend-button:hover:not(:disabled) {
    color: #2563eb;
}

.resend-button:disabled {
    color: #9ca3af;
    cursor: not-allowed;
    text-decoration: none;
}

/* SMS Session Info */
.sms-session-info {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 12px;
    margin-top: 12px;
}

.session-details {
    font-size: 12px;
    color: #0369a1;
    margin-bottom: 4px;
    word-break: break-all;
}

.session-details:last-child {
    margin-bottom: 0;
}

/* Test SMS Info */
.test-sms-info {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 12px;
    margin-top: 12px;
}

.test-code {
    font-size: 14px;
    color: #92400e;
    font-weight: 600;
    margin-bottom: 4px;
}

.test-hint {
    font-size: 12px;
    color: #a16207;
    font-style: italic;
}


/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 20px 16px;
    }
    
    .header-container {
        padding: 0 16px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    .header-navigation {
        display: none;
    }
    
    
    .header-actions {
        justify-content: flex-end;
        gap: 12px;
    }
    
    .header-hamburger-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: white;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        font-size: 18px;
        color: #374151;
        cursor: pointer;
        margin-left: 12px;
        transition: all 0.2s ease;
    }
    
    .header-hamburger-btn:hover {
        background: #f8fafc;
        border-color: #3b82f6;
    }
    
    .logo-section {
        justify-content: flex-start;
    }
    
    .appointment-card {
        flex-direction: column;
        margin-bottom: 24px;
    }
    
    .appointment-button {
        padding: 16px 24px;
        font-size: 16px;
        width: 100%;
        border-radius: 12px 12px 0 0;
    }
    
    .appointment-divider {
        width: 100%;
        height: 2px;
        margin: 0;
    }
    
    .appointment-info {
        padding: 20px;
        text-align: center;
        font-size: 14px;
        line-height: 1.5;
    }
    
    .services-grid,
    .user-services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .service-button,
    .user-service-button {
        padding: 16px 20px;
        font-size: 15px;
        border-radius: 12px;
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .auth-notice {
        font-size: 14px;
        margin-bottom: 16px;
        text-align: center;
        padding: 12px;
        background: #f9fafb;
        border-radius: 8px;
    }
    
    .reservation-container {
        padding: 20px 16px;
    }
    
    .reservation-title {
        font-size: 24px;
    }
    
    .info-box {
        flex-direction: column;
        text-align: center;
    }
    
    .doctor-item {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .login-container {
        padding: 20px 16px;
    }
    
    .login-card {
        padding: 24px;
    }
    
    .login-title {
        font-size: 24px;
    }
    
    .sms-input {
        font-size: 20px;
        letter-spacing: 2px;
    }
    
    /* Additional reservation page mobile styles */
    .reservation-container {
        padding: 16px;
    }
    
    .reservation-header h1 {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .info-box {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }
    
    .info-icon {
        align-self: center;
    }
    
    .accordion-button {
        padding: 20px 16px;
        font-size: 16px;
        gap: 12px;
    }
    
    .accordion-content {
        padding: 20px 16px;
    }
    
    .branch-item,
    .service-item,
    .doctor-item {
        padding: 16px;
        margin-bottom: 12px;
    }
    
    .doctor-item {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .select-button {
        width: 100%;
        padding: 10px 16px;
        font-size: 14px;
    }
    
    /* Service Card Mobile Styles */
    .service-item {
        padding: 16px;
        margin-bottom: 12px;
    }
    
    .service-item-content {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: stretch !important;
    }
    
    .service-name {
        font-size: 14px !important;
        line-height: 1.4 !important;
        text-align: center !important;
        margin-bottom: 8px !important;
    }
    
    .service-item .select-button {
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 14px !important;
        min-height: 44px !important;
    }
    
    /* Modal styles for mobile */
    .modal-overlay {
        padding: 8px;
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .modal-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        max-height: calc(100vh - 40px) !important;
        border-radius: 12px !important;
    }
    
    .modal-header {
        padding: 16px 20px !important;
        position: sticky;
        top: 0;
        background: white;
        z-index: 10;
    }
    
    .modal-body {
        padding: 20px !important;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
    
    /* Form styles for mobile */
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-input {
        padding: 14px;
        font-size: 16px;
        border-radius: 8px;
    }
    
    .form-label {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .login-button {
        padding: 14px 20px;
        font-size: 16px;
        width: 100%;
    }
    
    /* SMS input mobile styles */
    .sms-input {
        font-size: 20px;
        letter-spacing: 2px;
        text-align: center;
        padding: 16px;
    }
    
    /* Time slots mobile grid */
    .time-slots {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .time-slots button {
        padding: 10px 8px;
        font-size: 13px;
        min-height: 44px;
    }
    
    /* Date buttons mobile grid */
    .date-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .date-buttons button {
        padding: 12px 8px;
        font-size: 13px;
        min-height: 48px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .main-content {
        padding: 16px 12px;
    }
    
    .header-container {
        padding: 0 12px;
    }
    
    .logo-text {
        font-size: 14px;
    }
    
    .logo-smart,
    .logo-clinic {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .appointment-button {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .appointment-info {
        padding: 16px;
        font-size: 13px;
    }
    
    .service-button,
    .user-service-button {
        padding: 14px 16px;
        font-size: 14px;
        min-height: 48px;
    }
    
    .reservation-container {
        padding: 16px 12px;
    }
    
    .reservation-header h1 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .accordion-button {
        padding: 20px 16px;
        font-size: 16px;
    }
    
    .accordion-content {
        padding: 20px 16px;
    }
    
    .branch-item,
    .service-item,
    .doctor-item {
        padding: 16px;
        margin-bottom: 12px;
    }
    
    .select-button {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .login-card {
        padding: 20px;
        margin: 0 8px;
    }
    
    .login-title {
        font-size: 20px;
        margin-bottom: 24px;
    }
    
    .form-input {
        padding: 14px;
        font-size: 16px;
    }
    
    .sms-input {
        font-size: 18px;
        letter-spacing: 2px;
    }
    
    /* Additional mobile improvements */
    .free_block__container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .free_block__containerItem {
        padding: 12px;
        min-height: 56px;
    }
    
    .free_block__containerItem_name {
        font-size: 14px;
    }
    
    .wr-icon {
        width: 20px;
        height: 20px;
    }
    
    /* Improve text readability on mobile */
    p, span, div {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Better spacing for mobile */
    .main-content > section {
        margin-bottom: 32px;
    }
    
    .main-content > section:last-child {
        margin-bottom: 0;
    }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .header-container {
        padding: 8px 16px;
    }
    
    .main-content {
        padding: 16px;
    }
    
    .reservation-container {
        padding: 16px;
    }
    
    .modal-content {
        max-height: 85vh !important;
    }
}

/* HamburgerMenu Styles - теперь управляются в самих компонентах */

/* Mobile Doctors List Styles */
.doctors-grid {
    display: grid;
    gap: 16px;
}

@media (max-width: 768px) {
    .doctors-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0;
    }
    
    .doctors-list {
        padding: 0;
    }
}


/* Clinic Info Styles */
.clinic-info {
    padding: 0;
}

.clinic-notice {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.clinic-notice h3 {
    color: #1e293b;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* -------------------------------------------------------------------------- */
/* Clinics Page Styles                                                        */
/* -------------------------------------------------------------------------- */

.clinicsPage {
    min-height: 100vh;
    background: #f8f9fa;
}

.clinicsPage .mainContent {
    padding: 32px 0;
}

.clinicsPage .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
}

.clinicsPage .pageTitle {
    text-align: center;
    color: #333;
    font-size: 40px;
    margin-bottom: 32px;
    font-weight: 700;
}

.clinicsPage .infoBlock {
    background: white;
    border: 1px solid #e3f2fd;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.clinicsPage .infoIcon {
    background: #2196f3;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.clinicsPage .infoContent {
    flex: 1;
}

.clinicsPage .infoContent p {
    margin: 8px 0;
    color: #333;
    font-size: 15px;
    line-height: 1.4;
}

.clinicsSection {
    margin-top: 32px;
}

.clinicsSection .sectionHeader {
    margin-bottom: 16px;
}

.clinicsSection .sectionHeader h2 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

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

.clinicDetails {
    padding: 24px;
    background: white;
}

.contactSection {
    margin-bottom: 24px;
}

.contactSection:last-child {
    margin-bottom: 0;
}

.contactSection h4 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px 0;
}

.contactItem {
    margin-bottom: 12px;
    color: #555;
    font-size: 15px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contactItem:last-child {
    margin-bottom: 0;
}

.contactItem strong {
    color: #333;
    font-weight: 600;
}

.contactIcon {
    color: #2196f3;
    flex-shrink: 0;
}

.accordion-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.accordion-arrow svg {
    transition: transform 0.3s ease;
}

.accordion-button .accordion-arrow svg {
    transform: rotate(0deg);
}

.accordion-button.active .accordion-arrow svg {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .clinicsPage .pageTitle {
        font-size: 32px;
    }

    .clinicsPage .infoBlock {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        text-align: center;
    }

    .clinicDetails {
        padding: 20px;
    }

    .accordion-button {
        padding: 24px;
        font-size: 18px;
    }
}

.infoBox {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.infoIcon {
    flex-shrink: 0;
}

.infoCircle {
    width: 32px;
    height: 32px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.infoContent {
    flex: 1;
}

.infoContent p {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #374151;
    line-height: 1.5;
}

.infoContent p:last-child {
    margin-bottom: 0;
}

/* -------------------------------------------------------------------------- */
/* Services Page Styles                                                       */
/* -------------------------------------------------------------------------- */

.servicesPage {
    min-height: 100vh;
    background: #f8f9fa;
}

.servicesPage .mainContent {
    padding: 32px 0;
}

.servicesPage .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
}

.servicesPage .pageTitle {
    text-align: center;
    color: #333;
    font-size: 40px;
    margin-bottom: 32px;
    font-weight: 700;
}

.servicesSection {
    margin-top: 32px;
}

.servicesSection .sectionHeader {
    margin-bottom: 16px;
}

.servicesSection .sectionHeader h2 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.serviceDetails {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.serviceCategoryDescription {
    padding: 16px 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    color: #475569;
    line-height: 1.5;
}

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

.serviceCard {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.serviceCard:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.serviceCardHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.serviceName {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
}

.servicePrice {
    font-size: 18px;
    font-weight: 700;
    color: #2563eb;
    white-space: nowrap;
}

.servicePrice--empty {
    color: #94a3b8;
    font-weight: 500;
}

.serviceDescription {
    margin: 12px 0 0 0;
    color: #475569;
    line-height: 1.6;
}

.serviceMeta {
    display: flex;
    gap: 16px;
    color: #64748b;
    font-size: 14px;
    margin-top: 4px;
}

.serviceMeta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

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

.serviceSubcategoryTitle {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #334155;
    border-left: 4px solid #2563eb;
    padding-left: 12px;
}

/* -------------------------------------------------------------------------- */
/* Specialists Page Styles                                                    */
/* -------------------------------------------------------------------------- */

.specialistsPage {
    min-height: 100vh;
    background: #f8f9fa;
}

.specialistsPage .mainContent {
    padding: 32px 0;
}

.specialistsPage .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px;
}

.specialistsPage .pageTitle {
    text-align: center;
    color: #1f2937;
    font-size: 40px;
    margin-bottom: 32px;
    font-weight: 700;
}

.specialistsSection,
.allSpecialistsSection {
    margin-top: 32px;
}

.specialistsSection .sectionHeader,
.allSpecialistsSection .sectionHeader {
    margin-bottom: 16px;
}

.specialistsSection .sectionHeader h2,
.allSpecialistsSection .sectionHeader h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #1f2937;
}

.allSpecialistsSection .sectionHeader p {
    margin: 8px 0 0 0;
    color: #64748b;
}

.specialistDetails {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.specialistSubcategoryTitle {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

.emptyState {
    padding: 24px;
    background: #f8fafc;
    border: 1px dashed #cbd5f5;
    border-radius: 12px;
    color: #475569;
    text-align: center;
}

.doctorCard {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.doctorCard--selected {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12), 0 4px 12px rgba(15, 23, 42, 0.08);
}

.doctorCard:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    border-color: #94a3b8;
}

.doctorCard-avatar {
    width: 110px;
    height: 110px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    font-weight: 700;
    flex-shrink: 0;
}

.doctorCard-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctorCard-avatarPlaceholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 2px;
}

.doctorCard-info {
    flex: 1;
    min-width: 0;
}

.doctorCard-name {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.doctorCard-role {
    margin: 6px 0 0 0;
    font-size: 15px;
    font-weight: 600;
    color: #2563eb;
}

.doctorCard-meta {
    margin: 8px 0 0 0;
    font-size: 14px;
    color: #64748b;
}

.doctorCard-clinics {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doctorCard-clinicsLabel {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.doctorCard-clinicList {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.doctorCard-clinic {
    background: #eff6ff;
    color: #1d4ed8;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
}

.doctorCard-actions {
    margin-top: 16px;
}

.doctorCard-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doctorCard-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.25);
}

@media (max-width: 900px) {
    .doctorCard {
        padding: 16px;
        gap: 16px;
    }

    .doctorCard-avatar {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 768px) {
    .specialistsPage .pageTitle {
        font-size: 32px;
    }

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

    .doctorCard-info {
        width: 100%;
    }

    .doctorCard-clinics {
        align-items: center;
    }

    .doctorCard-clinicList {
        justify-content: center;
    }

    .doctorCard-actions {
        width: 100%;
    }

    .doctorCard-button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .servicesPage .pageTitle {
        font-size: 32px;
    }

    .serviceCard {
        padding: 16px 18px;
    }

    .serviceName {
        font-size: 16px;
    }

    .servicePrice {
        font-size: 16px;
    }

    .serviceMeta {
        flex-direction: column;
        gap: 6px;
    }
}

/* -------------------------------------------------------------------------- */
/* Reservation Page Styles                                                    */
/* -------------------------------------------------------------------------- */

.reservationPage {
    min-height: 100vh;
    background: #f8f9fa;
}

.reservationPage .mainContent {
    padding: 32px 0;
}

.reservationPage .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px;
}

.reservationPage .pageTitle {
    text-align: center;
    color: #1f2937;
    font-size: 40px;
    margin-bottom: 32px;
    font-weight: 700;
}

.reservationAccordions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reservationClinicList,
.reservationServiceList,
.reservationDoctorList {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reservationClinicCard,
.reservationServiceCard {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.reservationClinicTitle {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.reservationClinicDescription {
    margin: 0;
    color: #475569;
    line-height: 1.5;
}

.reservationClinicDetails {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    color: #334155;
    font-size: 14px;
}

.reservationClinicDetails div {
    display: flex;
    gap: 8px;
}

.reservationClinicLabel {
    font-weight: 600;
    color: #1f2937;
}

.reservationServiceHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.reservationServiceHeader h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.reservationServiceCount {
    font-size: 14px;
    color: #64748b;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
}

.reservationServiceDescription {
    margin: 12px 0;
    color: #475569;
    line-height: 1.6;
}

.reservationServiceItems {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reservationServiceItems li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 15px;
    color: #1f2937;
}

.reservationServicePrice {
    font-weight: 700;
    color: #2563eb;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .reservationPage .pageTitle {
        font-size: 32px;
    }

    .reservationClinicCard,
    .reservationServiceCard {
        padding: 20px;
    }

    .reservationServiceHeader {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .reservationServiceItems li {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* -------------------------------------------------------------------------- */
/* Custom Hamburger Menu Styles (desktop & mobile)                            */
/* -------------------------------------------------------------------------- */

.hamburger-button-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1001;
}

.hamburger-button-container.is-hidden {
    display: none;
}

.desktop-hamburger-button {
    position: absolute;
    top: 20px;
    left: 20px;
    background: transparent;
    border: 1px solid rgba(229, 231, 235, 0.3);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 80px;
    height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.desktop-hamburger-button:hover {
    background: rgba(248, 250, 252, 0.8);
    border-color: #3b82f6;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
}

.desktop-hamburger-button:active {
    background: rgba(248, 250, 252, 0.9);
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.hamburger-icon {
    width: 24px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background: #3b82f6;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.menu-label {
    font-size: 12px;
    font-weight: 600;
    color: #3b82f6;
    text-align: center;
    line-height: 1;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(4px);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.hamburger-menu {
    position: fixed;
    top: 0;
    left: 0;
    background: white;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

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

.desktop-side-menu {
    width: 300px;
    height: 100vh;
}

.mobile-side-menu {
    width: 280px;
    height: 100vh;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mobile-side-menu .menu-header {
    padding: 12px 16px;
}

.menu-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-header .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.mobile-side-menu .logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.menu-close-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.menu-close-button:hover {
    background: #e2e8f0;
    color: #374151;
    transform: scale(1.1);
}

.menu-close-button:active {
    transform: scale(0.95);
}

.menu-content {
    padding: 16px;
    flex: 1;
    overflow-y: auto;
    background: white;
}

.mobile-side-menu .menu-content {
    padding: 12px;
}

.menu-section {
    margin-bottom: 16px;
}

.menu-section:last-child {
    margin-bottom: 0;
}

.hamburger-menu .section-title {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-side-menu .section-title {
    font-size: 10px;
}

.menu-link {
    display: block;
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 4px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: left;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mobile-side-menu .menu-link {
    padding: 8px 12px;
    font-size: 13px;
}

.menu-link:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.menu-link.main {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border-color: #3b82f6;
}

.menu-link.main:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.menu-link.primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-color: #10b981;
}

.menu-link.primary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.menu-link.login {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border-color: #8b5cf6;
}

.menu-link.login:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.menu-link.logout {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border-color: #ef4444;
}

.menu-link.logout:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.menu-link.disabled {
    background: #f3f4f6;
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.6;
}

.menu-link.disabled:hover {
    background: #f3f4f6;
    color: #9ca3af;
    border-color: #e5e7eb;
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mobile-hamburger-button {
    position: relative;
    z-index: 1001;
    background: transparent;
    border: 1px solid rgba(229, 231, 235, 0.3);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.mobile-hamburger-button .hamburger-icon {
    width: 20px;
    height: 16px;
}

.mobile-hamburger-button .hamburger-icon span {
    height: 2px;
}

.mobile-hamburger-button:hover {
    background: rgba(248, 250, 252, 0.8);
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
}

.mobile-hamburger-button:active {
    background: rgba(248, 250, 252, 0.9);
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

@media (max-width: 768px) {
    .hamburger-button-container {
        display: none !important;
    }

    .desktop-side-menu {
        display: none;
    }
}

@media (min-width: 769px) {
    .mobile-hamburger-button {
        display: none !important;
    }

    .mobile-side-menu {
        display: none;
    }
}

@media (max-width: 480px) {
    .mobile-side-menu {
        width: 100vw;
        max-width: 280px;
    }

    .mobile-side-menu .menu-header {
        padding: 10px 12px;
    }

    .mobile-side-menu .menu-content {
        padding: 10px;
    }

    .mobile-side-menu .menu-link {
        padding: 8px 12px;
        font-size: 13px;
    }

    .mobile-side-menu .section-title {
        font-size: 10px;
        margin-bottom: 8px;
    }
}

.clinic-description {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    background: white;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.clinic-details {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.clinic-address,
.clinic-hours,
.clinic-phone {
    background: white;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    line-height: 1.5;
}

.clinic-address strong,
.clinic-hours strong,
.clinic-phone strong {
    color: #374151;
    font-weight: 600;
}

.coming-soon {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.coming-soon-text {
    color: #92400e;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Mobile styles for clinic info */
@media (max-width: 768px) {
    .clinic-notice {
        padding: 16px;
    }
    
    .clinic-notice h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .clinic-description {
        font-size: 14px;
        padding: 12px;
        margin-bottom: 16px;
    }
    
    .clinic-details {
        gap: 8px;
        margin-bottom: 16px;
    }
    
    .clinic-address,
    .clinic-hours,
    .clinic-phone {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .coming-soon {
        padding: 12px;
    }
    
    .coming-soon-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .clinic-notice {
        padding: 12px;
    }
    
    .clinic-notice h3 {
        font-size: 16px;
    }
    
    .clinic-description {
        font-size: 13px;
        padding: 10px;
    }
    
    .clinic-address,
    .clinic-hours,
    .clinic-phone {
        padding: 8px 10px;
        font-size: 12px;
    }
}

.hamburger-menu .menu-link {
    display: block;
    padding: 16px 20px;
    margin-bottom: 8px;
    border-radius: 12px;
    text-decoration: none !important;
    color: #374151;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    font-size: 16px;
    text-align: left;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}

.hamburger-menu .menu-link:hover {
    background: #f1f5f9;
    color: #1e293b;
    text-decoration: none !important;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hamburger-menu .menu-link.primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.hamburger-menu .menu-link.primary:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.hamburger-menu .menu-link.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.hamburger-menu .section-title {
    margin: 0 0 18px 0;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hamburger-menu .menu-section {
    margin-bottom: 36px;
}


/* Глобальные стили для ссылок в меню */
.hamburger-menu a {
    text-decoration: none !important;
}

.hamburger-menu a:hover {
    text-decoration: none !important;
}

.hamburger-menu a:visited {
    text-decoration: none !important;
}

.hamburger-menu a:focus {
    text-decoration: none !important;
}

.hamburger-menu a:active {
    text-decoration: none !important;
}

/* Custom scrollbar styles for date selection */
.date-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.date-scroll-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.date-scroll-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.date-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 32px 24px 32px;
    border-bottom: 1px solid #f1f5f9;
}

.modal-header h2 {
    margin: 0;
    color: #1e293b;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.close-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.close-button:hover {
    background: #f3f4f6;
    color: #374151;
}

.modal-body {
    padding: 32px;
}

.modal-footer {
    padding: 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: center;
}

/* Success Modal Specific Styles */
.success-modal .modal-header {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 12px 12px 0 0;
}

.success-modal .modal-header h2 {
    color: white;
}

.success-modal .close-button {
    color: white;
}

.success-modal .close-button:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.booking-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.info-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.info-item .label {
    font-weight: 600;
    color: #374151;
}

.info-item .value {
    margin: 0;
    color: #6b7280;
    font-weight: 500;
}

.success-message {
    text-align: center;
    padding: 20px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    color: #065f46;
}

.success-message p {
    margin: 0;
    font-weight: 500;
}

.confirm-button {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.confirm-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.confirm-button:active {
    transform: translateY(0);
}

/* Doctor Booking Panel */
.bookingPanel-wrapper {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
    padding: 80px 20px;
}

.doctor-booking {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
    padding: 40px;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.doctor-booking__header {
    margin-bottom: 32px;
    text-align: left;
}

.doctor-booking__title {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.doctor-booking__subtitle {
    color: #475569;
    font-size: 16px;
}

.doctor-booking__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.doctor-booking__column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.doctor-booking__field {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.doctor-booking__label {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.doctor-booking__select,
.doctor-booking__input {
    border: 1px solid #cbd5f5;
    border-radius: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    font-size: 15px;
    color: #0f172a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.doctor-booking__select:focus,
.doctor-booking__input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    background: #ffffff;
}

.doctor-booking__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.doctor-booking__chip {
    border: 1px solid transparent;
    border-radius: 9999px;
    padding: 10px 18px;
    background: #e2e8f0;
    color: #1e293b;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.doctor-booking__chip:hover {
    background: #cbd5f5;
}

.doctor-booking__chip--active {
    background: #6366f1;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.35);
}

.doctor-booking__chip-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    font-size: 11px;
}

.doctor-booking__slots {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #f8fafc;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.doctor-booking__slots-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.doctor-booking__slots-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.doctor-booking__refresh {
    border: none;
    background: none;
    color: #6366f1;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.doctor-booking__refresh:hover:not(:disabled) {
    background: rgba(99, 102, 241, 0.1);
}

.doctor-booking__refresh:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.doctor-booking__state {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #475569;
    font-size: 15px;
}

.doctor-booking__spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(99, 102, 241, 0.2);
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.doctor-booking__slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.doctor-booking__slot {
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 12px;
    padding: 12px;
    background: #ffffff;
    color: #1e293b;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.doctor-booking__slot:hover {
    border-color: #6366f1;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.doctor-booking__slot--selected {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.35);
}

.doctor-booking__actions {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.doctor-booking__alert {
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
}

.doctor-booking__alert--error {
    background: rgba(248, 113, 113, 0.12);
    color: #b91c1c;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.doctor-booking__alert--success {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.doctor-booking__auth p {
    margin-bottom: 12px;
    color: #475569;
}

.doctor-booking__button {
    border: none;
    border-radius: 12px;
    padding: 14px 22px;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.doctor-booking__button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.35);
}

.doctor-booking__button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.doctor-booking__button--secondary {
    background: rgba(99, 102, 241, 0.12);
    color: #4c1d95;
    border: 1px solid rgba(79, 70, 229, 0.35);
}

.doctor-booking__empty {
    font-size: 14px;
    color: #64748b;
    padding: 12px 0;
}

@media (max-width: 1024px) {
    .doctor-booking {
        padding: 32px 24px;
    }

    .doctor-booking__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .bookingPanel-wrapper {
        padding: 60px 12px;
    }

    .doctor-booking {
        padding: 24px 16px;
        border-radius: 20px;
    }

    .doctor-booking__title {
        font-size: 22px;
    }

    .doctor-booking__chips {
        gap: 10px;
    }

    .doctor-booking__slot-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    }
}