/* index.css */
/* Premium Medical-Slate Dark Mode and Glassmorphism styling system */

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

:root {
  /* HSL Harmonious Colors */
  --bg-base: hsl(222, 25%, 8%);
  --bg-surface: rgba(30, 41, 59, 0.6);
  --bg-surface-active: rgba(51, 65, 85, 0.85);
  --border-glow: rgba(255, 255, 255, 0.08);
  --border-glow-active: rgba(255, 255, 255, 0.16);

  --color-primary: hsl(180, 80%, 45%);
  --color-primary-glow: rgba(20, 184, 166, 0.15);
  --color-primary-hover: hsl(180, 90%, 55%);
  
  --color-success: hsl(150, 75%, 45%);
  --color-success-bg: rgba(16, 185, 129, 0.12);
  
  --color-warning: hsl(40, 85%, 50%);
  --color-warning-bg: rgba(245, 158, 11, 0.15);
  
  --color-danger: hsl(340, 85%, 55%);
  --color-danger-bg: rgba(239, 68, 68, 0.15);

  --color-text-main: hsl(210, 40%, 98%);
  --color-text-muted: hsl(215, 25%, 70%);
  --color-text-dark: hsl(220, 30%, 40%);

  --font-family-title: 'Outfit', sans-serif;
  --font-family-body: 'Inter', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --sidebar-width: 260px;
}

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

body {
  background-color: var(--bg-base);
  background-image: 
    radial-gradient(at 0% 0%, rgba(13, 148, 136, 0.07) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(99, 102, 241, 0.05) 0px, transparent 50%);
  color: var(--color-text-main);
  font-family: var(--font-family-body);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

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

/* Glassmorphism Panel Template */
.glass-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-glow-active);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
}

/* Layout Shell */
.app-container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar styling */
aside.sidebar {
  width: var(--sidebar-width);
  background: rgba(15, 23, 42, 0.85);
  border-right: 1px solid var(--border-glow);
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  position: fixed;
  height: 100vh;
  z-index: 100;
  transition: var(--transition-smooth);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-primary), hsl(150, 75%, 45%));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0f172a;
}

.logo-text h2 {
  font-size: 18px;
  color: #fff;
}

.logo-text p {
  font-size: 10px;
  color: var(--color-text-muted);
}

nav.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.nav-item:hover, .nav-item.active {
  background: var(--color-primary-glow);
  color: var(--color-primary-hover);
  border-color: rgba(20, 184, 166, 0.2);
}

.nav-item svg {
  width: 20px;
  height: 20px;
}

/* User Profile Widget in Sidebar */
.profile-widget {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #fff;
  border: 2px solid var(--color-primary);
}

.user-details {
  overflow: hidden;
}

.user-details h4 {
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.user-details p {
  font-size: 11px;
  color: var(--color-text-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.btn-signout {
  width: 100%;
  padding: 8px 12px;
  background: rgba(239, 68, 68, 0.1);
  color: var(--color-danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn-signout:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fff;
}

/* Main Content Area */
main.main-content {
  flex-grow: 1;
  margin-left: var(--sidebar-width);
  padding: 32px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Topbar Header */
header.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.4);
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid var(--border-glow);
}

.header-left h1 {
  font-size: 24px;
  color: #fff;
  background: linear-gradient(to right, #fff, var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-left p {
  color: var(--color-text-muted);
  font-size: 12px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Lang Switcher */
.lang-selector {
  display: flex;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  padding: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.lang-btn.active {
  background: var(--color-primary);
  color: #0f172a;
}

/* Simulator Account Selector widget */
.sim-account-widget {
  background: rgba(20, 184, 166, 0.05);
  border: 1px dashed rgba(20, 184, 166, 0.3);
  padding: 16px;
  border-radius: 12px;
}

.sim-accounts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.sim-account-btn {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-smooth);
}

.sim-account-btn:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: var(--color-primary);
}

.sim-account-btn.active {
  background: var(--color-primary-glow);
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(20, 184, 166, 0.2);
}

.sim-account-btn h5 {
  font-size: 11px;
  color: #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.sim-account-btn p {
  font-size: 9px;
  color: var(--color-primary);
  font-weight: bold;
}

.sim-account-btn span {
  font-size: 9px;
  color: var(--color-text-muted);
}

/* Modules Views Wrapper */
.view-panel {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.view-panel.active {
  display: block;
}

/* Scheduler / Calendar Grid layout */
.scheduler-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 16px;
}

.date-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 13px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--color-primary);
  color: #0f172a;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 0 15px rgba(20, 184, 166, 0.4);
}

.btn-secondary {
  background: rgba(51, 65, 85, 0.4);
  color: #fff;
  border: 1px solid var(--border-glow);
}

.btn-secondary:hover {
  background: rgba(51, 65, 85, 0.7);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--color-danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
  background: var(--color-danger);
  color: #fff;
}

.btn-success {
  background: var(--color-success);
  color: #0f172a;
}

.btn-success:hover {
  background: hsl(150, 85%, 55%);
}

.date-display {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  min-width: 140px;
  text-align: center;
}

.lock-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.lock-badge.locked {
  background: var(--color-danger-bg);
  color: var(--color-danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.lock-badge.unlocked {
  background: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Scheduler Table Layout */
.scheduler-outer {
  overflow-x: auto;
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.3);
}

.scheduler-grid {
  display: grid;
  grid-template-columns: 80px repeat(var(--or-cols, 1), 1fr);
  position: relative;
  min-width: 700px;
}

.grid-cell {
  border-right: 1px solid var(--border-glow);
  border-bottom: 1px solid var(--border-glow);
  min-height: 50px;
  position: relative;
  background: transparent;
}

.grid-header-cell {
  background: rgba(30, 41, 59, 0.4);
  padding: 12px;
  text-align: center;
  font-weight: 600;
  border-bottom: 2px solid var(--border-glow);
  border-right: 1px solid var(--border-glow);
  color: #fff;
}

.time-col-header {
  border-right: 1px solid var(--border-glow);
  background: rgba(15, 23, 42, 0.5);
}

.time-cell {
  background: rgba(15, 23, 42, 0.4);
  color: var(--color-text-muted);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-glow);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-weight: bold;
}

/* Operations cards relative positioning */
.operation-card {
  position: absolute;
  left: 6px;
  right: 6px;
  border-radius: 8px;
  padding: 8px;
  font-size: 11px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  border-left: 4px solid var(--color-primary);
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-left-width: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10;
}

.operation-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.25);
  z-index: 15;
}

.operation-card.confirmed {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-left: 4px solid var(--color-success);
}

.operation-card.cancelled {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-left: 4px solid var(--color-danger);
  background-image: repeating-linear-gradient(45deg, rgba(239, 68, 68, 0.05) 0, rgba(239, 68, 68, 0.05) 10px, transparent 10px, transparent 20px);
}

/* Prep and Recovery Zones */
.card-time {
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.card-patient {
  font-weight: 600;
  font-family: var(--font-family-title);
  font-size: 12px;
  color: #fff;
  margin-bottom: 1px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.card-detail {
  color: var(--color-text-muted);
  font-size: 9px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.card-prep-block {
  position: absolute;
  left: 6px;
  right: 6px;
  border-radius: 4px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px dashed rgba(245, 158, 11, 0.3);
  font-size: 9px;
  color: var(--color-warning);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  font-weight: bold;
}

/* Modals Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.3s ease-out;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: hsl(222, 25%, 12%);
  border: 1px solid var(--border-glow);
  width: 100%;
  max-width: 550px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 18px;
  color: #fff;
}

.close-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 20px;
  cursor: pointer;
}

.close-btn:hover {
  color: #fff;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  max-height: 70vh;
}

.modal-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: rgba(15,23,42,0.3);
}

/* Forms controls */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-family: var(--font-family-body);
  font-size: 13px;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(30, 41, 59, 0.8);
  box-shadow: 0 0 8px rgba(20, 184, 166, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Dashboard & Analytics View */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.stat-card {
  padding: 20px;
  text-align: left;
}

.stat-card h3 {
  font-size: 28px;
  color: #fff;
  margin-top: 6px;
}

.stat-card p {
  color: var(--color-text-muted);
  font-size: 12px;
}

.charts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.chart-card {
  padding: 20px;
  min-height: 240px;
}

.chart-card h4 {
  margin-bottom: 16px;
  color: var(--color-text-muted);
  font-size: 13px;
  text-transform: uppercase;
}

.svg-chart {
  width: 100%;
  height: auto;
}

.chart-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  color: var(--color-text-dark);
  font-weight: 500;
}

/* Billing & Subscriptions View */
.billing-toggle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.plan-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.plan-card.active-plan {
  border-color: var(--color-primary);
  background: rgba(20, 184, 166, 0.04);
}

.plan-card.active-plan::after {
  content: "ACTIVE";
  position: absolute;
  top: 15px;
  right: -30px;
  background: var(--color-primary);
  color: #0f172a;
  transform: rotate(45deg);
  font-size: 8px;
  font-weight: bold;
  padding: 4px 30px;
}

.plan-name {
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
}

.plan-price {
  font-size: 32px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 4px;
  font-family: var(--font-family-title);
}

.plan-price span {
  font-size: 14px;
  color: var(--color-text-muted);
}

.plan-desc {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.plan-limits {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 16px;
  padding-top: 16px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-limits p {
  display: flex;
  justify-content: space-between;
}

.plan-features-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}

.plan-features-list li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
}

.plan-features-list li::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: bold;
}

.plan-btn {
  margin-top: auto;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.plan-btn:hover {
  background: var(--color-primary);
  color: #0f172a;
}

/* Logs and Activity List */
.logs-table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-glow);
}

.logs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.logs-table th, .logs-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-glow);
}

.logs-table th {
  background: rgba(30, 41, 59, 0.4);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
}

.logs-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

/* User management views */
.staff-sections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.dept-card {
  padding: 16px;
  background: rgba(30, 41, 59, 0.3);
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--border-glow);
}

/* Onboarding Tour styles */
.onboarding-tooltip {
  position: absolute;
  background: hsl(222, 25%, 15%);
  border: 2px solid var(--color-primary);
  color: #fff;
  padding: 16px;
  border-radius: 12px;
  max-width: 320px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  z-index: 1000;
  animation: bounce 0.4s ease-out;
}

.onboarding-tooltip h4 {
  color: var(--color-primary);
  margin-bottom: 6px;
  font-size: 14px;
}

.onboarding-tooltip p {
  font-size: 12px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.onboarding-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Login/Signup Screens */
.auth-page {
  display: none;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background: var(--bg-base);
  padding: 24px;
}

.auth-page.active {
  display: flex;
}

.auth-box {
  width: 100%;
  max-width: 480px;
  padding: 40px;
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-header h1 {
  font-size: 28px;
  color: #fff;
  margin-top: 12px;
}

.auth-header p {
  color: var(--color-text-muted);
}

/* Floating validation feedback */
.password-requirements {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.requirement-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.requirement-item.valid {
  color: var(--color-success);
}

.requirement-item.invalid {
  color: var(--color-danger);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Alert dialog messages */
.alert-popup {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: hsl(222, 25%, 15%);
  border: 1px solid var(--border-glow);
  padding: 16px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.alert-popup.error {
  border-left: 4px solid var(--color-danger);
}

.alert-popup.success {
  border-left: 4px solid var(--color-success);
}

@keyframes slideIn {
  from { transform: translateX(120%); }
  to { transform: translateX(0); }
}

/* Responsive configurations */
@media (max-width: 900px) {
  aside.sidebar {
    width: 60px;
    padding: 20px 8px;
  }
  aside.sidebar .logo-text,
  aside.sidebar .user-details h4,
  aside.sidebar .user-details p,
  aside.sidebar nav span {
    display: none;
  }
  aside.sidebar .user-avatar {
    margin: 0 auto;
  }
  main.main-content {
    margin-left: 60px;
    padding: 16px;
  }
  .charts-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .app-container {
    flex-direction: column;
  }
  aside.sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 60px;
    flex-direction: row;
    padding: 0 10px;
    border-right: none;
    border-top: 1px solid var(--border-glow);
    justify-content: space-around;
  }
  aside.sidebar .logo-container,
  aside.sidebar .profile-widget {
    display: none;
  }
  aside.sidebar nav.nav-menu {
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    gap: 0;
  }
  aside.sidebar nav.nav-menu .nav-item {
    padding: 8px;
  }
  main.main-content {
    margin-left: 0;
    margin-bottom: 60px;
    padding: 12px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

.sidebar-watermark {
  margin-top: 16px;
  text-align: center;
  font-size: 10px;
  color: var(--color-text-dark);
  opacity: 0.45;
  pointer-events: none;
  font-family: var(--font-family-title);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* AI Duration Suggestion Widget */
.ai-suggestion-box {
  background: rgba(245, 158, 11, 0.06);
  border: 1px dashed rgba(245, 158, 11, 0.25);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  color: #f59e0b;
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  animation: fadeIn 0.25s ease-out;
}

.ai-suggestion-btn {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.ai-suggestion-btn:hover {
  background: rgba(245, 158, 11, 0.3);
  border-color: rgba(245, 158, 11, 0.5);
  transform: translateY(-1px);
}

.ai-suggestion-btn:active {
  transform: translateY(0);
}


