/* Mobile First CSS für Fitness Tracker */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f5f5f7;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px 0;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  padding: 0 20px;
}

.header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.logout-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.logout-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Navigation */
.navigation {
  display: flex;
  margin: 20px 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-btn {
  flex: 1;
  padding: 15px;
  border: none;
  background: white;
  color: #666;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn.active {
  background: #667eea;
  color: white;
}

.nav-btn:hover {
  background: #f0f0f3;
}

.nav-btn.active:hover {
  background: #5a6fd8;
}

/* Main Content */
.main-content {
  min-height: 60vh;
  background: white;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Form Elements */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.input-group {
  display: flex;
  align-items: center;
  border: 2px solid #e1e1e6;
  border-radius: 10px;
  overflow: hidden;
  background: #f9f9fb;
}

.btn-decrease,
.btn-increase {
  background: #667eea;
  color: white;
  border: none;
  padding: 12px 15px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-decrease:hover,
.btn-increase:hover {
  background: #5a6fd8;
}

.metric-input {
  flex: 1;
  border: none;
  padding: 12px 15px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  background: transparent;
}

.metric-input:focus {
  outline: none;
  background: white;
}

.unit {
  padding: 12px 15px;
  background: #e1e1e6;
  color: #666;
  font-weight: 600;
}

/* Buttons */
.primary-btn,
.secondary-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.primary-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.secondary-btn {
  background: #f0f0f3;
  color: #666;
  border: 2px solid #e1e1e6;
}

.secondary-btn:hover {
  background: #e1e1e6;
}

/* Charts and Analytics */
.chart-container {
  margin-top: 30px;
  padding: 20px;
  background: #f9f9fb;
  border-radius: 10px;
  border: 2px solid #e1e1e6;
}

.chart-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}

.period-selector {
  display: flex;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #e1e1e6;
}

.period-btn {
  flex: 1;
  padding: 10px;
  border: none;
  background: white;
  color: #666;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.period-btn.active {
  background: #667eea;
  color: white;
}

/* Metric selector for individual chart viewing */
.metric-selector {
  display: flex;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #e1e1e6;
  background: white;
}

.metric-btn {
  flex: 1;
  padding: 12px 8px;
  border: none;
  background: white;
  color: #666;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

.metric-btn.active {
  background: #667eea;
  color: white;
}

.metric-btn:hover:not(.active) {
  background: #f0f0f3;
  color: #333;
}

/* Workout specific styles */
.exercise-card {
  background: #f9f9fb;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  border: 2px solid #e1e1e6;
}

.exercise-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

/* Enhanced workout interface */
.workout-header-bar {
  margin-bottom: 20px;
  padding: 20px 15px;
  background: #667eea;
  color: white;
  border-radius: 10px;
  text-align: center;
}

.workout-header-bar h2 {
  margin: 0 0 5px 0;
  font-size: 1.6rem;
}

.overall-progress {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 500;
}

.current-exercise-container {
  margin-bottom: 20px;
}

.current-exercise {
  border: 3px solid #667eea !important;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.navigation-controls {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.nav-btn {
  flex: 1;
  padding: 15px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.nav-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.exercise-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.exercise-progress {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 5px;
}

.sets-completed {
  font-size: 0.9rem;
  color: #667eea;
  font-weight: 600;
}

.last-workout-results {
  font-size: 0.8rem;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 2px;
}

.last-failed-indicator {
  background: #e74c3c;
  color: white;
  padding: 2px 6px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.last-success-indicator {
  background: #27ae60;
  color: white;
  padding: 2px 6px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.active-exercise {
  border-color: #667eea;
  background: linear-gradient(135deg, #f9f9fb 0%, #f0f0ff 100%);
}

.exercise-complete {
  border-color: #27ae60;
  background: linear-gradient(135deg, #f9f9fb 0%, #f0fff0 100%);
}

.workout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.edit-workout-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #666;
  padding: 5px;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.edit-workout-btn:hover {
  background: #f0f0f3;
  color: #333;
}

.edit-workout-btn.danger-style {
  color: #e74c3c;
}

.edit-workout-btn.danger-style:hover {
  background: #fff0f0;
  color: #c0392b;
}

.workout-actions {
  display: flex;
  gap: 10px;
}

.sets-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.set-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  border: 2px solid #e1e1e6;
  transition: all 0.3s ease;
  min-height: auto;
}

.set-row.completed {
  border-color: #27ae60;
  background: #f0fff0;
}

.set-row.failed {
  border-color: #e74c3c;
  background: #fff0f0;
}

.set-number {
  font-weight: 600;
  color: #667eea;
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 15px;
}

.weight-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  width: 100%;
}

.weight-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 10px;
  text-align: center;
}

.weight-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.weight-btn {
  background: #667eea;
  color: white;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.weight-btn:hover {
  background: #5a6fd8;
  transform: scale(1.05);
}

.eccentric-btn {
  background: #8e44ad !important;
}

.eccentric-btn:hover {
  background: #7d3c9a !important;
}

.weight-input {
  width: 95px;
  padding: 12px 16px;
  text-align: center;
  border: 2px solid #e1e1e6;
  border-radius: 8px;
  background: white;
  font-weight: 600;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  cursor: default;
  user-select: none;
}

.weight-input:focus {
  outline: none;
  border-color: #667eea;
}

.weight-input:invalid {
  border-color: #e1e1e6;
  box-shadow: none;
}

/* Remove browser validation styling */
input:invalid {
  box-shadow: none !important;
}

input[type="text"]:invalid,
input[type="number"]:invalid {
  border-color: #e1e1e6 !important;
  box-shadow: none !important;
}

.weight-unit {
  color: #666;
  font-size: 0.9rem;
  font-weight: 600;
  flex-shrink: 0;
}

.set-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 10px;
}

.set-complete-btn,
.set-failed-btn {
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
  min-width: 70px;
}

.set-complete-btn {
  background: #27ae60;
  color: white;
}

.set-complete-btn:hover {
  background: #219a52;
}

.set-failed-btn {
  background: #e74c3c;
  color: white;
}

.set-failed-btn:hover {
  background: #c0392b;
}

.exercise-history {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

.workout-controls {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* Workout tabs */
.workout-tabs {
  display: flex;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #e1e1e6;
}

.tab-btn {
  flex: 1;
  padding: 12px;
  border: none;
  background: white;
  color: #666;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: #667eea;
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Workout history */
.history-card {
  background: white;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
  border: 1px solid #e1e1e6;
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.history-header h4 {
  margin: 0;
  color: #333;
}

.history-date {
  color: #666;
  font-size: 0.9rem;
}

.history-stats {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
}

.stat-item {
  font-size: 0.9rem;
  color: #666;
}

.view-details-btn {
  background: #f0f0f3;
  border: 1px solid #e1e1e6;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  cursor: pointer;
  color: #666;
}

/* Workout summary */
.workout-summary {
  text-align: center;
  padding: 20px;
}

.summary-stats {
  display: flex;
  justify-content: space-around;
  margin: 30px 0;
  gap: 15px;
}

.stat-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  border: 2px solid #e1e1e6;
  flex: 1;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
}

.summary-progress {
  margin: 20px 0;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: #e1e1e6;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  background: #27ae60;
  transition: width 1s ease;
}

.progress-text {
  font-size: 0.9rem;
  color: #666;
}

/* Quick notification */
.quick-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #667eea;
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1001;
}

.quick-notification.show {
  transform: translateX(0);
}

.failed-checkbox {
  margin-left: 10px;
}

/* Responsive Design */
@media (min-width: 768px) {
  .container {
    max-width: 600px;
    padding: 0 20px;
  }

  .header h1 {
    font-size: 2.2rem;
  }

  .main-content {
    padding: 30px;
  }
}

/* Table styling for metrics history */
.metrics-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  font-size: 14px;
}

.metrics-table th {
  background: #667eea;
  color: white;
  padding: 12px 8px;
  text-align: left;
  border: 1px solid #ddd;
  font-weight: 600;
}

.metrics-table td {
  padding: 10px 8px;
  border: 1px solid #ddd;
  background: white;
}

.metrics-table tr:nth-child(even) {
  background: #f9f9f9;
}

.metrics-table tr:hover {
  background: #f0f0ff;
}

/* Mobile optimizations */
@media (max-width: 480px) {
  .metrics-table {
    font-size: 12px;
  }

  .metrics-table th,
  .metrics-table td {
    padding: 8px 4px;
  }

  .set-row {
    gap: 12px;
    padding: 15px;
  }

  .weight-section {
    padding: 12px;
  }

  .weight-input {
    width: 85px;
    font-size: 1.1rem;
    padding: 10px 12px;
  }

  .weight-btn {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }

  .set-complete-btn,
  .set-failed-btn {
    min-width: 100px;
    font-size: 0.85rem;
  }
}

.metrics-table tr:hover {
  background: #f0f0ff;
}

@media (max-width: 480px) {
  .metrics-table {
    font-size: 12px;
  }

  .metrics-table th,
  .metrics-table td {
    padding: 8px 4px;
  }

  .set-row {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    align-items: stretch;
  }

  .set-number {
    text-align: center;
    min-width: auto;
  }

  .weight-controls {
    justify-content: center;
  }

  .weight-input {
    width: 90px;
    font-size: 1.1rem;
  }

  .set-actions {
    justify-content: center;
  }

  .set-complete-btn,
  .set-failed-btn {
    flex: 1;
    padding: 10px;
    font-size: 0.9rem;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 800px;
  }

  .sets-container {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 15px;
  }

  .set-row {
    flex: 1;
    min-width: 200px;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.fade-in {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Workout creation form enhancements */
.exercise-form-item {
  background: white;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  border: 2px solid #e1e1e6;
  position: relative;
}

.exercise-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.remove-exercise-btn {
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.remove-exercise-btn:hover {
  background: #c0392b;
  transform: scale(1.1);
}

.sets-targets {
  background: #f9f9fb;
  border-radius: 8px;
  padding: 15px;
  border: 1px solid #e8e8e8;
}

.weight-targets-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.target-input-group {
  flex: 1;
  min-width: 100px;
}

.target-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #667eea;
  margin-bottom: 5px;
  text-align: center;
}

.target-input-group .input-group {
  display: flex;
  align-items: center;
  border: 2px solid #e1e1e6;
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.weight-target-input,
.eccentric-target-input {
  flex: 1;
  border: none;
  padding: 8px 10px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  background: transparent;
}

.weight-target-input:focus,
.eccentric-target-input:focus {
  outline: none;
  background: #f0f0ff;
}

.target-input-group .unit {
  padding: 8px 10px;
  background: #e1e1e6;
  color: #666;
  font-size: 0.8rem;
  font-weight: 600;
}

@media (max-width: 480px) {
  .weight-targets-row {
    flex-direction: column;
    gap: 10px;
  }

  .target-input-group {
    min-width: auto;
  }

  .exercise-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/* Exercise preview section */
.exercise-preview {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
  margin: 20px 0;
  border: 1px solid #e9ecef;
}

.preview-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 15px;
  text-align: center;
}

.preview-sets {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.preview-set {
  flex: 1;
  background: white;
  border-radius: 8px;
  padding: 12px 8px;
  border: 2px solid #e9ecef;
  text-align: center;
  transition: all 0.3s ease;
}

.preview-set.current-preview-set {
  border-color: #667eea;
  background: #f0f0ff;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.preview-set-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.preview-set-number {
  font-size: 0.9rem;
  font-weight: 600;
  color: #495057;
}

.preview-result {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  color: white;
}

.preview-result.success {
  background: #27ae60;
}

.preview-result.failed {
  background: #e74c3c;
}

.preview-result.new {
  background: #6c757d;
  color: white;
}

.preview-weights {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.preview-weight {
  font-size: 0.8rem;
  color: #6c757d;
}

.preview-weight strong {
  color: #495057;
}

@media (max-width: 480px) {
  .preview-sets {
    flex-direction: column;
    gap: 8px;
  }

  .preview-weight {
    font-size: 0.75rem;
  }
}
/* Modal styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  border-radius: 15px;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.modal-content h3 {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 1.4rem;
}

.modal-content p {
  margin: 0 0 20px 0;
  color: #666;
  line-height: 1.5;
}

.modal-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* Danger button */
.danger-btn {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.danger-btn:hover {
  background: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/* Workout actions styling */
.workout-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.workout-header .workout-actions {
  display: flex;
  gap: 5px;
}

/* Login Screen Styles */
.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 20px;
}

.login-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid #f0f0f3;
  transition: all 0.3s ease;
}

.login-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 10px 0;
}

.login-subtitle {
  color: #666;
  font-size: 1.1rem;
  margin: 0 0 30px 0;
}

.login-form {
  margin-bottom: 20px;
}

.login-input-group {
  margin-bottom: 20px;
}

.login-input {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e1e1e6;
  border-radius: 12px;
  font-size: 1.1rem;
  text-align: center;
  transition: all 0.3s ease;
  background: #f9f9fb;
}

.login-input:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.login-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.login-error {
  background: #ffe6e6;
  color: #e74c3c;
  padding: 12px;
  border-radius: 8px;
  margin-top: 15px;
  font-weight: 600;
  border: 1px solid #ffc5c5;
}

.login-footer {
  margin-top: 20px;
  color: #888;
  font-size: 0.9rem;
}

.login-footer p {
  margin: 0;
}

/* Shake animation for wrong password */
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-10px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(10px);
  }
}

/* Hide main app elements initially */
.header,
.navigation {
  display: none;
}

@media (max-width: 480px) {
  .login-card {
    padding: 30px 20px;
    margin: 10px;
  }

  .login-title {
    font-size: 1.7rem;
  }

  .header-content {
    padding: 0 15px;
  }

  .header h1 {
    font-size: 1.5rem;
  }
}
