/**
 * MarineStream Dashboard Widgets
 * Styles for Kanban Board and Calendar widgets
 */

/* ========================================
   Work Panel Button
   ======================================== */
.work-panel-btn {
  position: absolute;
  bottom: var(--space-lg);
  left: 360px; /* Position next to vessel list */
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--accent-primary), #ea580c);
  border: none;
  border-radius: var(--radius-full);
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-fast);
  z-index: 60;
}

.work-panel-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 102, 0, 0.4);
}

.work-panel-btn svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .work-panel-btn {
    left: var(--space-md);
    bottom: 80px;
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .work-panel-btn span {
    display: none;
  }
}

/* ========================================
   Shared Widget Styles
   ======================================== */
.widget-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  color: var(--text-muted);
  gap: var(--space-sm);
}

.widget-loading .loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Spinning animation for refresh buttons */
.spinning {
  animation: spin 1s linear infinite;
}

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

/* ========================================
   Work View Container
   ======================================== */
.work-view-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.work-view-tabs {
  display: flex;
  gap: 4px;
  padding: var(--space-md);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}

.work-view-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.work-view-tab:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.work-view-tab.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: white;
}

.work-view-tab svg {
  width: 18px;
  height: 18px;
}

.work-view-content {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.work-view-panel {
  position: absolute;
  inset: 0;
  overflow: auto;
  padding: var(--space-md);
  display: none;
}

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

/* ========================================
   Kanban Board Styles
   ======================================== */
.kanban-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  color: var(--text-muted);
  gap: var(--space-sm);
}

.kanban-board {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.kanban-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  flex-shrink: 0;
}

.kanban-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.kanban-stats {
  display: flex;
  gap: var(--space-md);
}

.kanban-stats .stat {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.kanban-stats .stat.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.kanban-stats .stat.progress {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.kanban-stats .stat.complete {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.kanban-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.kanban-column {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.kanban-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  border-bottom: 2px solid;
  flex-shrink: 0;
}

.kanban-column.pending .kanban-column-header {
  border-color: #f59e0b;
}

.kanban-column.progress .kanban-column-header {
  border-color: #3b82f6;
}

.kanban-column.complete .kanban-column-header {
  border-color: #22c55e;
}

.kanban-column-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

.kanban-column-count {
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--bg-hover);
  color: var(--text-primary);
}

.kanban-column-content {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.kanban-column-content::-webkit-scrollbar {
  width: 4px;
}

.kanban-column-content::-webkit-scrollbar-track {
  background: transparent;
}

.kanban-column-content::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 2px;
}

/* Kanban Card */
.kanban-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: var(--space-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  border-left: 3px solid var(--text-muted);
}

.kanban-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-primary);
}

.kanban-card.biofouling {
  border-left-color: #3b82f6;
}

.kanban-card.inspection {
  border-left-color: #8b5cf6;
}

.kanban-card.assets {
  border-left-color: #f59e0b;
}

.kanban-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xs);
}

.kanban-card-code {
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.kanban-card-type {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  background: var(--bg-hover);
  color: var(--text-muted);
}

.kanban-card-vessel {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.kanban-card-status {
  font-size: 10px;
  color: var(--text-muted);
}

.kanban-card-date {
  font-size: 10px;
  color: var(--text-muted);
}

.kanban-empty {
  text-align: center;
  padding: var(--space-lg);
  color: var(--text-muted);
  font-size: 13px;
}

/* ========================================
   Calendar Styles
   ======================================== */
.calendar-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  color: var(--text-muted);
  gap: var(--space-sm);
}

.calendar-error {
  text-align: center;
  padding: var(--space-xl);
  color: var(--color-critical);
}

/* FullCalendar Customization */
.fc-container {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: var(--space-md);
}

.fc {
  --fc-border-color: var(--border-color);
  --fc-button-bg-color: var(--bg-hover);
  --fc-button-border-color: var(--border-color);
  --fc-button-hover-bg-color: var(--accent-primary);
  --fc-button-hover-border-color: var(--accent-primary);
  --fc-button-active-bg-color: var(--accent-primary);
  --fc-button-active-border-color: var(--accent-primary);
  --fc-button-text-color: var(--text-primary);
  --fc-page-bg-color: transparent;
  --fc-neutral-bg-color: var(--bg-hover);
  --fc-today-bg-color: rgba(var(--accent-primary-rgb), 0.1);
  --fc-event-border-color: transparent;
  font-family: var(--font-sans);
}

.fc .fc-toolbar-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.fc .fc-button {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.fc .fc-button:focus {
  box-shadow: none;
}

.fc .fc-col-header-cell-cushion {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  padding: 8px;
}

.fc .fc-daygrid-day-number {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  padding: 6px 8px;
}

.fc .fc-daygrid-day.fc-day-today {
  background: rgba(var(--accent-primary-rgb), 0.08);
}

.fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-number {
  background: var(--accent-primary);
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc .fc-event {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 4px;
  border-radius: 3px;
  cursor: pointer;
}

.fc .fc-event:hover {
  opacity: 0.9;
}

.fc .fc-daygrid-more-link {
  font-size: 11px;
  font-weight: 500;
  color: var(--accent-primary);
}

.fc .fc-popover {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.fc .fc-popover-header {
  background: var(--bg-hover);
  padding: var(--space-sm);
}

.fc .fc-popover-body {
  padding: var(--space-sm);
}

/* Calendar Event Colors */
.fc .event-biofouling {
  background-color: #3b82f6 !important;
}

.fc .event-inspection {
  background-color: #8b5cf6 !important;
}

.fc .event-assets {
  background-color: #f59e0b !important;
}

.fc .event-complete {
  opacity: 0.7;
}

/* Simple Calendar Fallback */
.calendar-simple {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.calendar-simple .calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  background: var(--bg-hover);
  border-bottom: 1px solid var(--border-color);
}

.calendar-simple .cal-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.calendar-simple .cal-nav {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calendar-simple .cal-nav:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: white;
}

.calendar-simple .calendar-grid {
  padding: var(--space-md);
}

.calendar-simple .cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: var(--space-sm);
}

.calendar-simple .cal-day-name {
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  padding: var(--space-xs);
}

.calendar-simple .cal-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-simple .cal-cell {
  min-height: 80px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: var(--space-xs);
  position: relative;
}

.calendar-simple .cal-cell.empty {
  background: transparent;
}

.calendar-simple .cal-cell.today {
  background: rgba(var(--accent-primary-rgb), 0.1);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.3);
}

.calendar-simple .cal-date {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
}

.calendar-simple .cal-cell.today .cal-date {
  background: var(--accent-primary);
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-simple .cal-events {
  margin-top: var(--space-xs);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.calendar-simple .cal-event {
  font-size: 9px;
  font-weight: 500;
  padding: 2px 4px;
  border-radius: 2px;
  color: white;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform var(--transition-fast);
}

.calendar-simple .cal-event:hover {
  transform: scale(1.02);
}

.calendar-simple .cal-event.biofouling {
  background: #3b82f6;
}

.calendar-simple .cal-event.inspection {
  background: #8b5cf6;
}

.calendar-simple .cal-event.assets {
  background: #f59e0b;
}

.calendar-simple .cal-event.default {
  background: #6b7280;
}

.calendar-simple .cal-more {
  font-size: 9px;
  color: var(--accent-primary);
  font-weight: 500;
  cursor: pointer;
}

.calendar-simple .calendar-legend {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border-top: 1px solid var(--border-color);
}

.calendar-simple .legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-secondary);
}

.calendar-simple .legend-item .dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.calendar-simple .legend-item.biofouling .dot {
  background: #3b82f6;
}

.calendar-simple .legend-item.inspection .dot {
  background: #8b5cf6;
}

.calendar-simple .legend-item.assets .dot {
  background: #f59e0b;
}

/* Calendar Tooltip */
.calendar-tooltip {
  padding: var(--space-sm);
  min-width: 180px;
}

.calendar-tooltip .tooltip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xs);
}

.calendar-tooltip .tooltip-header strong {
  font-family: var(--font-mono);
  font-size: 13px;
}

.calendar-tooltip .tooltip-status {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.calendar-tooltip .tooltip-status.delivered {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.calendar-tooltip .tooltip-status.scheduled {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.calendar-tooltip .tooltip-vessel {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
}

.calendar-tooltip .tooltip-type {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.calendar-tooltip .tooltip-action {
  font-size: 10px;
  color: var(--accent-primary);
  margin-top: var(--space-xs);
  padding-top: var(--space-xs);
  border-top: 1px solid var(--border-color);
}

/* ========================================
   Work Panel Overlay (Full Screen)
   ======================================== */
.work-panel-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.work-panel-overlay.active {
  opacity: 1;
  visibility: visible;
}

.work-panel {
  width: 95vw;
  max-width: 1400px;
  height: 90vh;
  max-height: 900px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.work-panel-overlay.active .work-panel {
  transform: translateY(0);
}

.work-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border-color);
}

.work-panel-title {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.work-panel-title h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.work-panel-title .refresh-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.work-panel-title .refresh-btn:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: white;
}

.work-panel-title .refresh-btn svg {
  width: 16px;
  height: 16px;
}

.work-panel-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.work-panel-close:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.work-panel-close svg {
  width: 20px;
  height: 20px;
}

.work-panel-body {
  flex: 1;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 1024px) {
  .kanban-columns {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
  
  .kanban-column {
    max-height: 400px;
  }
  
  .calendar-simple .cal-cell {
    min-height: 60px;
  }
  
  .calendar-simple .cal-event {
    font-size: 8px;
    padding: 1px 2px;
  }
}

@media (max-width: 768px) {
  .work-panel {
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    border-radius: 0;
  }
  
  .work-view-tabs {
    overflow-x: auto;
  }
  
  .calendar-simple .cal-day-name {
    font-size: 9px;
  }
  
  .calendar-simple .cal-date {
    font-size: 10px;
  }
}

/* ========================================
   Create Job Button Styles
   ======================================== */
.kanban-header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.kanban-create-btn,
.cal-create-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--accent-primary);
  border: none;
  border-radius: var(--radius-sm);
  color: white;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.kanban-create-btn:hover,
.cal-create-btn:hover {
  background: #ea580c;
  transform: translateY(-1px);
}

.kanban-create-btn svg,
.cal-create-btn svg {
  width: 16px;
  height: 16px;
}

/* FullCalendar custom button override */
.fc .fc-createJob-button {
  background: var(--accent-primary) !important;
  border-color: var(--accent-primary) !important;
  font-weight: 600 !important;
}

.fc .fc-createJob-button:hover {
  background: #ea580c !important;
  border-color: #ea580c !important;
}

/* ========================================
   Create Job Modal Styles
   ======================================== */
.kanban-modal-overlay,
.calendar-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.kanban-modal,
.calendar-modal {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kanban-modal-header,
.calendar-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border-color);
}

.kanban-modal-header h3,
.calendar-modal-header h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
}

.kanban-modal-close,
.calendar-modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.kanban-modal-close:hover,
.calendar-modal-close:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.kanban-modal-close svg,
.calendar-modal-close svg {
  width: 20px;
  height: 20px;
}

.kanban-modal-body,
.calendar-modal-body {
  padding: var(--space-lg);
  overflow-y: auto;
  max-height: calc(80vh - 70px);
}

.kanban-modal-subtitle,
.calendar-modal-subtitle {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0 0 var(--space-md) 0;
}

.kanban-flow-list,
.calendar-flow-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kanban-flow-item,
.calendar-flow-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.kanban-flow-item:hover,
.calendar-flow-item:hover {
  background: var(--bg-hover);
  border-color: var(--accent-primary);
  transform: translateX(4px);
}

.kanban-flow-item:disabled,
.calendar-flow-item:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.kanban-flow-info,
.calendar-flow-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kanban-flow-name,
.calendar-flow-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.kanban-flow-category,
.calendar-flow-category {
  font-size: 12px;
  color: var(--text-muted);
}

.kanban-flow-item svg,
.calendar-flow-item svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.kanban-flow-item:hover svg,
.calendar-flow-item:hover svg {
  color: var(--accent-primary);
  transform: translateX(4px);
}

.kanban-no-flows,
.calendar-no-flows {
  text-align: center;
  padding: var(--space-xl);
  color: var(--text-muted);
}

.kanban-no-flows p,
.calendar-no-flows p {
  margin: 0;
}

.kanban-no-flows .small,
.calendar-no-flows .small {
  font-size: 12px;
  margin-top: var(--space-xs);
}

/* Small loading spinner for buttons */
.loading-spinner.small {
  width: 18px;
  height: 18px;
  border-width: 2px;
}

/* Fallback calendar create button positioning */
.calendar-simple .calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  gap: var(--space-md);
}

.calendar-simple .cal-nav-group {
  display: flex;
  gap: 4px;
}
