/* Modern UI/UX Styles */
:root {
  --primary: #0078d4;
  --primary-hover: #106ebe;
  --success: #107c10;
  --danger: #d13438;
  --danger-hover: #a4262c;
  --gray-50: #f0f0f0;
  --gray-100: #e8e8e8;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-600: #666;
  --gray-900: #1a1a1a;
  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}

* { box-sizing: border-box; }

body { 
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  margin: 0;
  padding: 0;
  background: var(--gray-50);
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Utility classes */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }

/* Header styles */
header { 
  background: white;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}

header h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  flex-shrink: 0;
}

.header-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.header-nav a {
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
  white-space: nowrap;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.header-nav a:hover { 
  color: var(--primary);
}

.nav-badge {
  display: inline-block;
  background: var(--danger);
  color: white;
  border-radius: 10px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 600;
  min-width: 18px;
  text-align: center;
  line-height: 1.2;
}

.header-auth {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: auto;
}

.header-right {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-left: auto;
}

/* User menu dropdown */
.user-menu {
  position: relative;
}

.user-menu-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  color: var(--gray-900);
}

.user-menu-button:hover {
  background: var(--gray-100);
  border-color: var(--gray-300);
}

.user-avatar {
  font-size: 18px;
}

.user-name {
  font-weight: 500;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-menu-arrow {
  font-size: 10px;
  transition: transform 0.2s;
}

.user-menu-button:hover .user-menu-arrow {
  transform: translateY(2px);
}

.user-menu-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s;
  z-index: 1000;
}

.user-menu-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-menu-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--gray-900);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s;
  border-bottom: 1px solid var(--gray-100);
}

.user-menu-dropdown a:last-child {
  border-bottom: none;
}

.user-menu-dropdown a:hover {
  background: var(--gray-50);
}

.user-menu-dropdown a span {
  font-size: 16px;
}

/* Hamburger Menu */
.hamburger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 150;
}

.hamburger-menu span {
  width: 24px;
  height: 3px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-menu:hover span {
  background: var(--primary);
}

/* Side Navigation */
.side-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.side-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.side-nav {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  background: white;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 200;
  transition: left 0.3s ease;
  overflow-y: auto;
}

.side-nav.open {
  left: 0;
}

.side-nav-header {
  padding: 24px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: white;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-avatar-large {
  font-size: 48px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.side-nav-user-info {
  flex: 1;
  min-width: 0;
}

.side-nav-user-name {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-nav-user-email {
  font-size: 13px;
  opacity: 0.9;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-nav-links {
  padding: 16px 0;
}

.side-nav-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: var(--gray-900);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s;
  position: relative;
}

.side-nav-links a:hover {
  background: var(--gray-50);
  color: var(--primary);
  padding-left: 24px;
}

.side-nav-links a .nav-badge {
  margin-left: auto;
}

@media (max-width: 480px) {
  .side-nav {
    width: 280px;
    left: -280px;
  }

  .header-container {
    padding: 12px 16px;
  }

  header h1 {
    font-size: 18px;
  }

  .user-menu-button .user-name {
    display: none;
  }
}


header p {
  margin: 0;
  font-size: 14px;
  color: var(--gray-600);
}

header a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

header a:hover { color: var(--primary-hover); }

main { 
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 24px;
}

h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 24px 0;
  color: var(--gray-900);
}

h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 24px 0 12px 0;
  color: var(--gray-900);
}

/* Cards */
.card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--gray-200);
}

/* Buttons */
button, .btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  font-family: inherit;
}

button:disabled, .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

button.primary, .btn-primary {
  background: var(--primary);
  color: white;
}

button.primary:hover:not(:disabled), .btn-primary:hover:not(:disabled) {
  background: var(--primary-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

button.danger, .btn-danger {
  background: var(--danger);
  color: white;
}

button.danger:hover:not(:disabled), .btn-danger:hover:not(:disabled) {
  background: var(--danger-hover);
}

button.secondary, .btn-secondary {
  background: white;
  color: var(--primary);
  border: 1px solid var(--gray-300);
}

button.secondary:hover:not(:disabled), .btn-secondary:hover:not(:disabled) {
  background: var(--gray-50);
  border-color: var(--primary);
}

/* Forms */
label {
  display: block;
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 14px;
  color: var(--gray-900);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="tel"],
input[type="number"],
select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  margin-top: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

.error {
  background: #fef2f2;
  color: var(--danger);
  padding: 12px 16px;
  border-radius: var(--radius);
  border-left: 4px solid var(--danger);
  margin-bottom: 16px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideDown 0.3s ease-out;
}

.error::before {
  content: '⚠️';
  font-size: 20px;
  flex-shrink: 0;
}

.success {
  background: #f0fdf4;
  color: var(--success);
  padding: 12px 16px;
  border-radius: var(--radius);
  border-left: 4px solid var(--success);
  margin-bottom: 16px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideDown 0.3s ease-out;
}

.success::before {
  content: '✅';
  font-size: 20px;
  flex-shrink: 0;
}

@keyframes slideDown {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

thead {
  background: var(--gray-50);
}

th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-600);
  border-bottom: 2px solid var(--gray-200);
}

td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-200);
}

tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background: var(--gray-50);
}

/* Lists */
ul {
  list-style: none;
  padding: 0;
}

ul li {
  background: white;
  padding: 16px;
  margin-bottom: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: box-shadow 0.2s;
}

ul li:hover {
  box-shadow: var(--shadow-md);
}

ul li a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}

ul li a:hover {
  text-decoration: underline;
}

/* Weekly grid styles */
#weekControls {
  background: white;
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

#weekControls button {
  min-width: 40px;
}

#weekTitle {
  flex: 1;
  min-width: 200px;
  font-size: 16px;
  color: var(--gray-900);
}

#weeklyGrid {
  background: white;
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

#weeklyGrid table {
  box-shadow: none;
}

#weeklyGrid th {
  background: var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 10;
}

#weeklyGrid td.available {
  background: #ecfdf5;
  cursor: pointer;
  color: var(--success);
  font-weight: 500;
  transition: all 0.2s;
}

#weeklyGrid td.available:hover {
  background: #d1fae5;
  transform: scale(1.02);
  box-shadow: var(--shadow-sm);
}

#weeklyGrid td.selected {
  background: #dbeafe !important;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-weight: 600;
}

/* Professional picker */
#prof-picker {
  background: white;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  z-index: 999;
}

#prof-picker label {
  display: block;
  margin: 8px 0;
  font-weight: normal;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background 0.2s;
}

#prof-picker label:hover {
  background: var(--gray-50);
}

#prof-picker button {
  margin-top: 12px;
  margin-right: 8px;
}

/* Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Status badges */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-scheduled { background: #dbeafe; color: #1e40af; }
.badge-completed { background: var(--gray-100); color: var(--gray-600); }
.badge-cancelled { background: #fee2e2; color: #991b1b; }

/* Responsive */
@media (max-width: 768px) {
  /* Header - mobile optimized */
  header { 
    padding: 12px 16px; 
  }
  
  header h1 {
    font-size: 20px;
    margin-bottom: 6px;
  }
  
  header p {
    font-size: 13px;
    line-height: 1.8;
  }
  
  header a {
    display: inline-block;
    margin: 2px 0;
  }
  
  /* Main content */
  main { 
    padding: 0 16px; 
    margin: 16px auto; 
  }
  
  h2 { 
    font-size: 22px; 
    margin-bottom: 16px;
  }
  
  h3 {
    font-size: 18px;
  }
  
  /* Cards - reduce padding on mobile */
  .card { 
    padding: 16px; 
    margin-bottom: 16px;
  }
  
  /* Tables - horizontal scroll for wide tables */
  table { 
    font-size: 13px;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  thead, tbody, tr {
    display: table;
    width: 100%;
    table-layout: fixed;
  }
  
  th, td { 
    padding: 10px 8px;
    font-size: 13px;
  }
  
  th {
    font-size: 11px;
  }
  
  /* Stack table cells on very small screens */
  @media (max-width: 480px) {
    table, thead, tbody, th, td, tr {
      display: block;
    }
    
    thead tr {
      position: absolute;
      top: -9999px;
      left: -9999px;
    }
    
    tr {
      margin-bottom: 16px;
      border: 1px solid var(--gray-200);
      border-radius: var(--radius);
      background: white;
    }
    
    td {
      position: relative;
      padding-left: 40%;
      text-align: right;
      border-bottom: 1px solid var(--gray-100);
    }
    
    td:last-child {
      border-bottom: none;
    }
    
    td::before {
      content: attr(data-label);
      position: absolute;
      left: 12px;
      width: 35%;
      padding-right: 10px;
      text-align: left;
      font-weight: 600;
      color: var(--gray-600);
      font-size: 12px;
      text-transform: uppercase;
    }
  }
  
  /* Buttons - full width on mobile */
  .btn, button {
    font-size: 14px;
    padding: 12px 16px;
    width: 100%;
    margin-bottom: 8px;
  }
  
  .btn + .btn,
  button + button {
    margin-left: 0 !important;
  }
  
  /* Forms - better touch targets */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="date"],
  input[type="tel"],
  select {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 12px;
  }
  
  label {
    font-size: 14px;
  }
  
  /* Grid layouts - stack on mobile */
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Modal - full width on mobile */
  .modal-content {
    width: 95%;
    padding: 24px 20px;
    max-width: none;
  }
  
  .modal-title {
    font-size: 18px;
  }
  
  .modal-message {
    font-size: 14px;
    margin-left: 0;
  }
  
  .modal-actions {
    flex-direction: column-reverse;
  }
  
  .modal-actions .btn {
    width: 100%;
    margin: 4px 0;
  }
  
  /* Toast - adjust position */
  .toast {
    left: 12px;
    right: 12px;
    bottom: 12px;
    min-width: auto;
  }
  
  /* Week controls - stack on mobile */
  #weekControls { 
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  #weekControls button {
    width: 100%;
    margin: 0;
  }
  
  #weekTitle {
    order: -1;
    text-align: center;
    margin-bottom: 8px;
    font-size: 15px;
  }
  
  #prevWeek, #nextWeek {
    display: inline-block;
    width: 48%;
  }
  
  /* Weekly grid - horizontal scroll */
  #weeklyGrid { 
    padding: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .weekly-grid {
    min-width: 600px;
  }
  
  /* Professional picker - full width */
  #prof-picker {
    left: 50% !important;
    transform: translateX(-50%);
    width: 90%;
    max-width: 320px;
    top: 50% !important;
    margin-top: -100px;
  }
  
  /* Error/Success messages */
  .error, .success {
    font-size: 13px;
    padding: 12px 14px;
  }
  
  .error::before, .success::before {
    font-size: 18px;
  }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  main {
    padding: 0 32px;
  }
  
  .card {
    padding: 20px;
  }
  
  h2 {
    font-size: 26px;
  }
}

/* Large screen optimizations */
@media (min-width: 1400px) {
  main {
    max-width: 1400px;
  }
}

/* Mobile responsive header */
@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    padding: 12px 16px;
    gap: 12px;
  }
  
  header h1 {
    font-size: 20px;
    width: 100%;
  }
  
  .header-nav {
    order: 3;
    width: 100%;
    gap: 16px;
    padding-top: 8px;
    border-top: 1px solid var(--gray-100);
  }
  
  .header-nav a {
    font-size: 13px;
  }
  
  .user-menu {
    margin-left: 0;
  }
  
  .user-name {
    max-width: 100px;
  }
  
  .header-auth {
    margin-left: 0;
  }
  
  .header-auth .btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Increase tap targets */
  button, .btn, a {
    min-height: 44px;
    padding: 12px 20px;
  }
  
  .user-menu-button {
    min-height: 44px;
    padding: 10px 14px;
  }
  
  /* Remove hover effects on touch devices */
  button:hover, .btn:hover, a:hover {
    transform: none;
  }
  
  /* Better touch scrolling */
  table, #weeklyGrid {
    -webkit-overflow-scrolling: touch;
  }
}

/* Print styles */
@media print {
  header {
    position: static;
    box-shadow: none;
  }
  
  .btn, button {
    display: none;
  }
  
  .modal-overlay, .toast {
    display: none;
  }
  
  table {
    box-shadow: none;
  }
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease-out;
}

.modal-content {
  background: white;
  border-radius: 12px;
  padding: 32px;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease-out;
  position: relative;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.modal-icon {
  font-size: 32px;
  line-height: 1;
}

.modal-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: var(--gray-900);
}

.modal-message {
  font-size: 15px;
  color: var(--gray-700);
  margin: 0 0 24px 44px;
  line-height: 1.5;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.modal-actions .btn {
  min-width: 100px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Toast notifications */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: white;
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2000;
  min-width: 300px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease-out;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.toast-message {
  font-size: 15px;
  color: var(--gray-900);
  font-weight: 500;
}

.toast-success {
  border-left: 4px solid var(--success);
}

.toast-error {
  border-left: 4px solid var(--danger);
}

.toast-info {
  border-left: 4px solid var(--primary);
}

.toast-warning {
  border-left: 4px solid #f59e0b;
}

/* Footer styles */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-300);
  margin-top: 60px;
  padding: 40px 0 20px;
  border-top: 1px solid var(--gray-800);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 16px 0;
}

.footer-section p {
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.6;
}

.footer-section a {
  display: block;
  color: var(--gray-300);
  text-decoration: none;
  margin: 8px 0;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--gray-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: var(--gray-400);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-links span {
  color: var(--gray-600);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
