/* StretchStrong - Component Styles */

/* Exercise Images */
.exercise-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.exercise-item-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.exercise-item-content .exercise-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  margin-top: 2px;
}

.exercise-item-text {
  flex: 1;
  min-width: 0;
}

.exercise-detail-image {
  text-align: center;
  margin-bottom: 12px;
  padding: 8px;
  background: #f9fafb;
  border-radius: 12px;
}

.exercise-detail-image img {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.exercise-illustration {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 16px;
}

.exercise-visual {
  text-align: center;
  margin-bottom: 16px;
}

.exercise-visual .exercise-illustration {
  max-width: 320px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.exercise-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 32px;
  background: #f3f4f6;
  border-radius: 12px;
  color: #9ca3af;
}

.exercise-placeholder i {
  font-size: 2rem;
}

/* Exercise card with thumbnail in protocol detail */
.exercise-card .exercise-header .exercise-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

@media (max-width: 640px) {
  .exercise-detail-image img {
    max-width: 200px;
  }
  .exercise-visual .exercise-illustration {
    max-width: 240px;
  }
  .exercise-item-content .exercise-thumb {
    width: 48px;
    height: 48px;
  }
}

/* Toast Notifications */
.toast {
  position: fixed;
  top: 90px;
  right: var(--space-6);
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-4) var(--space-6);
  z-index: 1100;
  transform: translateX(400px);
  opacity: 0;
  transition: all var(--transition-normal);
  max-width: 350px;
  min-width: 280px;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

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

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

.toast.warning {
  border-left: 4px solid var(--warning-color);
}

.toast.info {
  border-left: 4px solid var(--info-color);
}

.toast-content {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.toast-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.toast-icon.success { color: var(--success-color); }
.toast-icon.error { color: var(--error-color); }
.toast-icon.warning { color: var(--warning-color); }
.toast-icon.info { color: var(--info-color); }

.toast-message {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-1);
  color: var(--gray-800);
}

.toast-text {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  margin: 0;
}

.toast-close {
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  padding: 0;
  margin-left: var(--space-2);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.toast-close:hover {
  background: var(--gray-100);
  color: var(--gray-600);
}

/* Assessment Components */
.assessment-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-8);
}

.assessment-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.assessment-header h1 {
  margin-bottom: var(--space-4);
  color: var(--gray-800);
}

.assessment-header p {
  color: var(--gray-600);
  margin-bottom: var(--space-8);
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: var(--space-4);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  width: 0%;
  transition: width var(--transition-normal);
}

.progress-text {
  font-size: var(--font-size-sm);
  color: var(--gray-500);
}

.assessment-content {
  min-height: 400px;
  margin-bottom: var(--space-8);
  transition: transform 0.2s ease;
}

/* Touch Gesture Feedback */
.assessment-content.swipe-active {
  transition: transform 0.1s ease;
}

.assessment-content.swipe-active.swipe-left {
  transform: translateX(-10px);
}

.assessment-content.swipe-active.swipe-right {
  transform: translateX(10px);
}

.question-card {
  background: var(--gray-50);
  border-radius: var(--border-radius-lg);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
}

.question-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--space-6);
  color: var(--gray-800);
}

.question-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.option-card {
  padding: var(--space-4);
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 60px; /* Better touch targets on mobile */
  position: relative;
  overflow: hidden;
}

.option-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
  transition: left 0.6s;
}

.option-card:hover::before,
.option-card:active::before {
  left: 100%;
}

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

.option-card:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.option-card.selected {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.option-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.option-card.selected .option-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.option-content h4 {
  margin-bottom: var(--space-2);
  font-size: var(--font-size-base);
}

.option-content p {
  margin-bottom: 0;
  font-size: var(--font-size-sm);
  opacity: 0.8;
}

.assessment-actions {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
}

/* Protocols Components */
.protocols-container {
  max-width: 1200px;
  margin: 0 auto;
}

.protocols-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.protocols-header h1 {
  margin-bottom: var(--space-4);
  color: var(--gray-800);
}

.protocols-header p {
  color: var(--gray-600);
  margin-bottom: var(--space-8);
}

.protocols-filter {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.filter-btn {
  padding: var(--space-3) var(--space-6);
  border: 1px solid var(--gray-300);
  background: white;
  color: var(--gray-700);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: var(--font-size-sm);
  font-weight: 500;
  position: relative;
  overflow: hidden;
  min-height: 44px; /* Better touch targets */
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
  transition: left 0.4s;
}

.filter-btn:hover::before,
.filter-btn:active::before {
  left: 100%;
}

.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.filter-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.filter-btn.active::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.protocols-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-6);
}

.protocol-card {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  padding: var(--space-6);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-100);
}

.protocol-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.05), transparent);
  transition: left 0.6s;
}

.protocol-card:hover::before {
  left: 100%;
}

.protocol-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.protocol-card:active {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.protocol-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.protocol-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.protocol-icon i {
  font-size: var(--font-size-xl);
  color: white;
}

.protocol-info h3 {
  margin-bottom: var(--space-2);
  color: var(--gray-800);
}

.protocol-meta {
  display: flex;
  gap: var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--gray-500);
}

.protocol-description {
  color: var(--gray-600);
  margin-bottom: var(--space-4);
}

.protocol-stats {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-4);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
}

.stat-item i {
  color: var(--secondary-color);
}

.protocol-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.evidence-badge {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--accent-color);
  font-size: var(--font-size-xs);
  font-weight: 500;
}

/* Protocol type badges (upper-extremity) */
.protocol-type-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: capitalize;
  color: white;
  background: var(--primary-color);
  margin-top: 4px;
}

.protocol-type-rom { background: #3b82f6; }
.protocol-type-strengthening { background: #ef4444; }
.protocol-type-stretching { background: #8b5cf6; }
.protocol-type-desensitization { background: #f59e0b; }
.protocol-type-pain-reduction { background: #10b981; }
.protocol-type-combo { background: #06b6d4; }

/* Difficulty badges */
.difficulty-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: white;
}
.difficulty-beginner { background: #10b981; }
.difficulty-intermediate { background: #f59e0b; }
.difficulty-advanced { background: #ef4444; }
.difficulty-elite { background: #7c3aed; }

/* Available protocols list (dashboard overview) */
.available-protocols-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.available-protocol-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-secondary, #f9fafb);
  border: 1px solid var(--border-light, #e5e7eb);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
}

.available-protocol-card:hover,
.available-protocol-card:active {
  background: var(--bg-tertiary, #f3f4f6);
}

.avail-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #2563eb, #10b981);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  flex-shrink: 0;
}

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

.avail-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.avail-info span {
  font-size: 12px;
  color: var(--text-muted, #9ca3af);
}

.avail-arrow {
  color: var(--text-muted, #9ca3af);
  font-size: 12px;
}

/* Back to site button (web only) */
.back-to-site {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
}

/* Exercise Library */
.library-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.library-header h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.library-header > p {
  color: var(--text-secondary, #6b7280);
  margin-bottom: 20px;
}

.library-search {
  position: relative;
  max-width: 400px;
  margin: 0 auto 16px;
}

.library-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted, #9ca3af);
}

.library-search input {
  width: 100%;
  padding: 12px 16px 12px 40px;
  border: 1px solid var(--border-light, #e5e7eb);
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.library-search input:focus {
  border-color: var(--primary-color, #2563eb);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.library-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.library-count {
  font-size: 14px;
  color: var(--text-muted, #9ca3af);
  white-space: nowrap;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.library-card {
  background: white;
  border: 1px solid var(--border-light, #e5e7eb);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.library-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.library-card-visual {
  width: 100%;
  height: 180px;
  background: var(--bg-secondary, #f9fafb);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.library-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.library-card-placeholder {
  font-size: 48px;
  color: var(--border-medium, #d1d5db);
}

.library-card-body {
  padding: 14px;
}

.library-card-body h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
}

.library-card-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--primary-color, #2563eb);
  background: rgba(37, 99, 235, 0.08);
  padding: 2px 8px;
  border-radius: 8px;
  margin-bottom: 6px;
}

.library-card-desc {
  font-size: 13px;
  color: var(--text-secondary, #6b7280);
  line-height: 1.4;
  margin-bottom: 8px;
}

.library-card-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted, #9ca3af);
}

.library-card-meta i {
  margin-right: 4px;
}

.library-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted, #9ca3af);
}

.library-empty i {
  font-size: 48px;
  margin-bottom: 12px;
  display: block;
}

/* Exercise detail modal */
.exercise-detail-image {
  text-align: center;
  margin-bottom: 16px;
  background: var(--bg-secondary, #f9fafb);
  border-radius: 12px;
  padding: 12px;
}

.exercise-detail-image img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.exercise-detail-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 16px 0 8px;
}

.exercise-detail-info p {
  color: var(--text-secondary, #6b7280);
  line-height: 1.6;
}

.exercise-detail-prescription {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.detail-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.detail-stat i {
  color: var(--primary-color, #2563eb);
}

.protocol-usage-list {
  padding-left: 20px;
}

.protocol-usage-list li {
  margin-bottom: 4px;
  font-size: 14px;
  color: var(--text-secondary, #6b7280);
}

@media (max-width: 767px) {
  .library-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
  }

  .library-card-visual {
    height: 130px;
  }

  .library-card-body {
    padding: 10px;
  }

  .library-card-body h4 {
    font-size: 13px;
  }

  .library-card-desc {
    display: none;
  }

  .library-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Progress Components */
.progress-container {
  max-width: 1000px;
  margin: 0 auto;
}

.progress-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.progress-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.progress-card {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  padding: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  transition: all var(--transition-normal);
}

.progress-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.progress-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.progress-icon i {
  font-size: var(--font-size-xl);
  color: white;
}

.progress-number {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1;
}

.progress-label {
  font-size: var(--font-size-sm);
  color: var(--gray-500);
  margin-top: var(--space-1);
}

.progress-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.chart-container {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  padding: var(--space-6);
}

.chart-container h3 {
  margin-bottom: var(--space-6);
  color: var(--gray-800);
  text-align: center;
}

.activity-chart {
  height: 200px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-4) 0;
}

.activity-bar {
  flex: 1;
  background: var(--gray-200);
  border-radius: var(--border-radius-sm);
  min-height: 20px;
  position: relative;
  transition: all var(--transition-normal);
}

.activity-bar.completed {
  background: linear-gradient(180deg, var(--secondary-color), var(--secondary-dark));
}

.activity-bar:hover {
  transform: scaleY(1.1);
}

.risk-chart {
  height: 200px;
  position: relative;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  padding: var(--space-4);
}

/* Modal Components */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: var(--space-4);
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.exercise-modal-content {
  max-width: 1000px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-6) var(--space-8);
  border-bottom: 1px solid var(--gray-200);
}

.modal-header h2 {
  margin-bottom: 0;
  color: var(--gray-800);
}

.modal-close {
  background: none;
  border: none;
  font-size: var(--font-size-xl);
  color: var(--gray-400);
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--gray-100);
  color: var(--gray-600);
}

.modal-body {
  padding: var(--space-8);
}

.exercise-phases {
  margin-top: var(--space-6);
}

.phase-card {
  background: var(--gray-50);
  border-radius: var(--border-radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
}

.phase-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.phase-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.phase-info h4 {
  margin-bottom: var(--space-1);
  color: var(--gray-800);
}

.phase-duration {
  font-size: var(--font-size-sm);
  color: var(--gray-500);
}

.exercise-list {
  list-style: none;
  padding: 0;
}

.exercise-item {
  background: white;
  border-radius: var(--border-radius);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.exercise-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.exercise-item h5 {
  margin-bottom: var(--space-2);
  color: var(--primary-color);
}

.exercise-item p {
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--gray-600);
}

.exercise-meta {
  display: flex;
  gap: var(--space-4);
  font-size: var(--font-size-xs);
  color: var(--gray-500);
  font-weight: 500;
}

.evidence-section {
  background: var(--info-color);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
  border-radius: var(--border-radius-lg);
  padding: var(--space-6);
  margin-top: var(--space-8);
}

.evidence-section h4 {
  color: var(--primary-color);
  margin-bottom: var(--space-4);
}

.evidence-section p {
  margin-bottom: 0;
  color: var(--gray-700);
}

/* Exercise Timer Components */
.exercise-timer {
  background: var(--gray-800);
  color: white;
  border-radius: var(--border-radius-lg);
  padding: var(--space-8);
  text-align: center;
  margin: var(--space-6) 0;
}

.timer-display {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  font-family: 'Courier New', monospace;
}

.timer-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
}

.timer-btn {
  background: var(--primary-color);
  border: none;
  color: white;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.timer-btn:hover {
  background: var(--primary-dark);
}

.timer-btn.pause {
  background: var(--warning-color);
}

.timer-btn.stop {
  background: var(--error-color);
}

/* Notification Toast */
.toast {
  position: fixed;
  top: 100px;
  right: var(--space-6);
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: var(--space-4) var(--space-6);
  z-index: 3000;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  border-left: 4px solid var(--success-color);
}

.toast.show {
  transform: translateX(0);
}

.toast.error {
  border-left-color: var(--error-color);
}

.toast.warning {
  border-left-color: var(--warning-color);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.toast-icon {
  color: var(--success-color);
}

.toast.error .toast-icon {
  color: var(--error-color);
}

.toast.warning .toast-icon {
  color: var(--warning-color);
}