/* Medicine Reminder Page */
.medicine-reminder-container {
  max-width: 560px;
  margin: 0 auto;
}

.medicine-reminder-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 32px 28px;
  margin-bottom: 28px;
  border: 1px solid #e5e7eb;
}

.medicine-reminder-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px 0;
}

.medicine-reminder-intro {
  color: #64748b;
  font-size: 1rem;
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.medicine-reminder-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.medicine-reminder-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.medicine-reminder-form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
}

.medicine-reminder-form input[type="text"],
.medicine-reminder-form input[type="email"],
.medicine-reminder-form input[type="time"],
.medicine-reminder-form select,
.medicine-reminder-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  color: #1e293b;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.medicine-reminder-form input:focus,
.medicine-reminder-form select:focus,
.medicine-reminder-form textarea:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.medicine-reminder-form input::placeholder,
.medicine-reminder-form textarea::placeholder {
  color: #94a3b8;
}

.medicine-reminder-form textarea {
  resize: vertical;
  min-height: 80px;
}

.input-with-icon {
  position: relative;
}

.input-with-icon .input-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1rem;
  pointer-events: none;
}

.input-with-icon input {
  padding-right: 40px;
}

.alert-method-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  display: block;
  margin-bottom: 8px;
}

.alert-method-options {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.alert-method-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #475569;
  font-weight: 500;
}

.alert-method-option input {
  width: auto;
  accent-color: #0ea5e9;
}

.alert-method-option i {
  color: #0ea5e9;
  font-size: 1rem;
}

.btn-set-alert {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  transition: background 0.2s, transform 0.15s;
}

.btn-set-alert:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  transform: translateY(-1px);
}

.btn-set-alert:active {
  transform: translateY(0);
}

.form-message {
  font-size: 0.9rem;
  margin: 0;
  display: none;
}

.back-to-home {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.9rem;
  color: #0ea5e9;
  text-decoration: none;
  transition: color 0.2s;
}

.back-to-home:hover {
  color: #0284c7;
}

.back-to-home i {
  margin-right: 6px;
}

/* Active Alerts & Notification History */
.active-alerts-section,
.notification-history-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 24px;
  margin-bottom: 28px;
  border: 1px solid #e5e7eb;
}

.section-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 16px 0;
}

.empty-state {
  color: #94a3b8;
  font-size: 0.95rem;
  margin: 0;
  padding: 16px 0;
}

.active-alerts-list .alert-item,
.notification-history-list .history-item {
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.95rem;
  color: #334155;
}

.active-alerts-list .alert-item:last-child,
.notification-history-list .history-item:last-child {
  border-bottom: none;
}

@media (max-width: 600px) {
  .medicine-reminder-card {
    padding: 24px 20px;
  }
  .medicine-reminder-title {
    font-size: 1.5rem;
  }
  .alert-method-options {
    flex-direction: column;
  }
}
