/* ============================================
   Dana Nails Admin Dashboard - Styles
   ============================================ */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica", "Arial", sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  padding: 10px;
  direction: rtl;
}

@media (min-width: 768px) {
  body {
    padding: 20px;
  }
}

@media (min-width: 1024px) {
  body {
    padding: 30px;
  }
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* ============================================
   HEADER
   ============================================ */

.header {
  background: white;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

@media (min-width: 768px) {
  .header {
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 30px;
    flex-wrap: nowrap;
  }
}

.header h1 {
  color: #d4af37;
  font-size: 20px;
  margin-bottom: 5px;
}

@media (min-width: 768px) {
  .header h1 {
    font-size: 28px;
    margin-bottom: 10px;
  }
}

@media (min-width: 1024px) {
  .header h1 {
    font-size: 32px;
  }
}

.header p {
  color: #666;
  font-size: 12px;
}

@media (min-width: 768px) {
  .header p {
    font-size: 14px;
  }
}

@media (min-width: 1024px) {
  .header p {
    font-size: 16px;
  }
}

.header-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .header-buttons {
    gap: 10px;
    flex-wrap: nowrap;
  }
}

.header-center {
  text-align: center;
  flex: 1;
  min-width: 0;
}

.header-spacer {
  width: 0;
}

@media (min-width: 768px) {
  .header-spacer {
    width: 180px;
  }
}

.settings-btn,
.privacy-btn {
  background: #d4af37;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .settings-btn,
  .privacy-btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 16px;
  }
}

.settings-btn:hover,
.privacy-btn:hover {
  background: #c5a028;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.privacy-btn {
  background: rgba(212, 175, 55, 0.15);
  border: 2px solid #d4af37;
  color: #d4af37;
  margin-left: 10px;
}

.privacy-btn:hover {
  background: #d4af37;
  color: white;
}

.refresh-button {
  background: rgba(212, 175, 55, 0.15);
  border: 2px solid #d4af37;
  color: #d4af37;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.refresh-button:hover {
  background: #d4af37;
  color: white;
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background: white;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 10px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .card {
    border-radius: 20px;
    padding: 25px;
    margin: 20px;
  }
}

@media (min-width: 1024px) {
  .card {
    padding: 30px;
  }
}

.appointments-card {
  padding: 0 !important;
  margin: 10px !important;
  height: calc(100vh - 100px) !important;
  min-height: 1050px !important;
  overflow: visible !important;
}

@media (min-width: 768px) {
  .appointments-card {
    margin: 15px !important;
    height: calc(100vh - 120px) !important;
    min-height: 1100px !important;
  }
}

@media (max-width: 768px) {
  .appointments-card {
    margin: 8px !important;
    height: calc(100vh - 80px) !important;
    min-height: 950px !important;
  }
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
  justify-content: space-between;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .card-header {
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    flex-wrap: nowrap;
  }
}

.header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.card-header .icon {
  font-size: 24px;
  color: #d4af37;
}

@media (min-width: 768px) {
  .card-header .icon {
    font-size: 28px;
  }
}

@media (min-width: 1024px) {
  .card-header .icon {
    font-size: 32px;
  }
}

.card-header h2 {
  color: #333;
  font-size: 18px;
}

@media (min-width: 768px) {
  .card-header h2 {
    font-size: 22px;
  }
}

@media (min-width: 1024px) {
  .card-header h2 {
    font-size: 24px;
  }
}

/* ============================================
   TABS
   ============================================ */

.tabs-container {
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  display: flex;
  gap: 0;
}

.tab-button {
  padding: 10px 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  font-weight: 600;
  color: #666;
  transition: all 0.3s ease;
}

.tab-button:hover {
  color: #d4af37;
}

.tab-button.active {
  border-bottom: 3px solid #d4af37;
  color: #d4af37;
}

/* ============================================
   APPOINTMENTS
   ============================================ */

.appointmentsContainer {
  flex: 1;
  overflow: hidden;
}

.loading,
.empty-state {
  text-align: center;
  padding: 40px;
  color: #666;
}

.empty-state .icon {
  font-size: 64px;
  margin-bottom: 15px;
}

.appointment-card {
  background: white;
  border-radius: 12px;
  padding: 0;
  margin-bottom: 16px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.appointment-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #d4af37;
}

.appointment-header {
  background: linear-gradient(135deg, #d4af37 0%, #c5a028 100%);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.appointment-date-time {
  color: white;
}

.appointment-date {
  font-size: 10px;
  opacity: 0.85;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (min-width: 768px) {
  .appointment-date {
    font-size: 11px;
  }
}

.appointment-time {
  font-size: 16px;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (min-width: 768px) {
  .appointment-time {
    font-size: 18px;
  }
}

@media (min-width: 1024px) {
  .appointment-time {
    font-size: 20px;
  }
}

.appointment-body {
  padding: 14px 16px;
}

.customer-section {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.customer-name {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 768px) {
  .customer-name {
    font-size: 16px;
  }
}

.customer-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #666;
  font-size: 12px;
}

@media (min-width: 768px) {
  .detail-row {
    font-size: 13px;
  }
}

.detail-icon {
  width: 20px;
  text-align: center;
  font-size: 14px;
}

.appointment-info {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.info-badge {
  flex: 1;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 8px 10px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #dee2e6;
}

.info-badge-label {
  font-size: 10px;
  color: #999;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.info-badge-value {
  font-size: 12px;
  font-weight: 600;
  color: #666;
}

@media (min-width: 768px) {
  .info-badge-value {
    font-size: 14px;
  }
}

.action-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .action-buttons {
    gap: 10px;
    flex-wrap: nowrap;
  }
}

.edit-btn {
  background: #d4af37;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .edit-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}

.edit-btn:hover {
  background: #c5a028;
  transform: scale(1.05);
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.service-chip {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.25) 100%);
  color: #d4af37;
  padding: 6px 12px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  display: inline-block;
  margin: 3px;
}

@media (min-width: 768px) {
  .service-chip {
    padding: 8px 14px;
    border-radius: 16px;
    font-size: 14px;
  }
}

/* ============================================
   CALENDAR
   ============================================ */

.calendar-wrapper {
  width: 100%;
  height: 100%;
  min-height: 1020px;
  display: flex;
  flex-direction: column;
  position: relative;
}

@media (max-width: 1024px) {
  .calendar-wrapper {
    min-height: 920px;
  }
}

@media (max-width: 768px) {
  .calendar-wrapper {
    min-height: 820px;
  }
}

.calendar-nav-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px 12px 0 0;
  border-bottom: 2px solid #dee2e6;
}

.calendar-nav-button {
  background: white;
  border: 2px solid #d4af37;
  color: #d4af37;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.calendar-nav-button:hover {
  background: #d4af37;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.calendar-nav-button:active {
  transform: scale(0.95);
}

.calendar-nav-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.calendar-nav-info {
  text-align: center;
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

@media (max-width: 768px) {
  .calendar-nav-controls {
    padding: 12px 15px;
  }

  .calendar-nav-button {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .calendar-nav-info {
    font-size: 14px;
  }
}

.calendar-container {
  overflow-x: hidden;
  overflow-y: auto;
  flex: 1;
  border: 2px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 12px 12px;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 960px;
}

@media (max-width: 1024px) {
  .calendar-container {
    min-height: 860px;
  }
}

@media (max-width: 768px) {
  .calendar-container {
    min-height: 760px;
  }
}

.calendar-header {
  display: flex;
  background: linear-gradient(135deg, #d4af37 0%, #c5a028 100%);
  color: white;
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-radius: 12px 12px 0 0;
}

.time-column {
  min-width: 70px;
  max-width: 70px;
  padding: 12px 6px;
  text-align: center;
  border-right: 2px solid rgba(255, 255, 255, 0.3);
  font-size: 11px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .time-column {
    min-width: 90px;
    max-width: 90px;
    font-size: 13px;
    padding: 15px 10px;
  }
}

@media (min-width: 1024px) {
  .time-column {
    min-width: 110px;
    max-width: 110px;
    font-size: 15px;
    padding: 18px 12px;
  }
}

.day-column-header {
  flex: 1;
  min-width: 0;
  padding: 12px 6px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 11px;
  line-height: 1.3;
  cursor: pointer;
}

@media (min-width: 768px) {
  .day-column-header {
    padding: 15px 10px;
    font-size: 13px;
  }
}

@media (min-width: 1024px) {
  .day-column-header {
    font-size: 15px;
    padding: 18px 12px;
  }
}

.calendar-grid {
  display: flex;
  flex-direction: row;
  background: #fafafa;
  flex: 1;
  min-height: 728px;
  overflow: visible;
}

@media (min-width: 768px) {
  .calendar-grid {
    min-height: 832px;
  }
}

@media (min-width: 1024px) {
  .calendar-grid {
    min-height: 936px;
  }
}

.time-slots-column {
  min-width: 70px;
  max-width: 70px;
  border-right: 2px solid #d0d0d0;
  background: #f5f5f5;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  min-height: 728px;
}

@media (min-width: 768px) {
  .time-slots-column {
    min-height: 832px;
    min-width: 90px;
    max-width: 90px;
  }
}

@media (min-width: 1024px) {
  .time-slots-column {
    min-height: 936px;
    min-width: 110px;
    max-width: 110px;
  }
}

.time-slot-cell {
  height: 28px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: #555;
  font-weight: 600;
  padding: 1px;
  background: white;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .time-slot-cell {
    height: 32px;
    font-size: 9px;
    padding: 2px;
  }
}

@media (min-width: 1024px) {
  .time-slot-cell {
    height: 36px;
    font-size: 10px;
    padding: 3px;
  }
}

.time-slot-cell .time-label {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: 0.2px;
  padding: 0 2px;
}

.time-slot-cell.hour {
  font-weight: 800;
  color: #333;
  background: #fffdf7;
  border-bottom: 2px solid #d8d8d8;
}

.time-slot-cell.half {
  color: #9aa1a8;
}

.days-columns {
  flex: 1;
  display: flex;
  overflow-x: hidden;
  width: 100%;
}

.day-column {
  flex: 1;
  min-width: 0;
  border-right: 1px solid #e0e0e0;
  position: relative;
  background: white;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.day-slot {
  height: 28px;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  background: white;
  flex-shrink: 0;
  cursor: pointer;
}

@media (min-width: 768px) {
  .day-slot {
    height: 32px;
  }
}

@media (min-width: 1024px) {
  .day-slot {
    height: 36px;
  }
}

.day-column .day-slot:nth-child(odd) {
  border-top: 2px solid #d8d8d8;
}

.calendar-appointment {
  position: absolute;
  left: 2px;
  right: 2px;
  border-radius: 3px;
  padding: 4px 6px;
  font-size: 8px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  z-index: 5;
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .calendar-appointment {
    padding: 5px 7px;
    font-size: 9px;
  }
}

@media (min-width: 1024px) {
  .calendar-appointment {
    padding: 6px 8px;
    font-size: 10px;
  }
}

.calendar-appointment:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  z-index: 6;
}

.calendar-appointment.pink {
  background: linear-gradient(135deg, #ff6b9d 0%, #ff4081 100%);
}

.calendar-appointment.blue {
  background: linear-gradient(135deg, #42a5f5 0%, #1e88e5 100%);
}

.calendar-appointment.green {
  background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
}

.calendar-appointment.purple {
  background: linear-gradient(135deg, #ab47bc 0%, #8e24aa 100%);
}

.calendar-appointment.orange {
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.calendar-appointment.teal {
  background: linear-gradient(135deg, #26a69a 0%, #00897b 100%);
}

.appointment-customer-name {
  font-weight: 700;
  font-size: 9px;
  margin-bottom: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .appointment-customer-name {
    font-size: 10px;
    margin-bottom: 2px;
  }
}

@media (min-width: 1024px) {
  .appointment-customer-name {
    font-size: 11px;
    margin-bottom: 2px;
  }
}

.appointment-service {
  font-size: 8px;
  opacity: 0.95;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
  line-height: 1.2;
  word-break: break-word;
}

@media (min-width: 768px) {
  .appointment-service {
    font-size: 9px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    line-height: 1.25;
  }
}

@media (min-width: 1024px) {
  .appointment-service {
    font-size: 10px;
  }
}

.appointment-time-badge {
  font-size: 7px;
  opacity: 0.95;
  margin-top: auto;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.25);
  padding: 1px 3px;
  border-radius: 2px;
  display: inline-block;
  width: fit-content;
}

@media (min-width: 768px) {
  .appointment-time-badge {
    font-size: 8px;
    padding: 1px 4px;
  }
}

@media (min-width: 1024px) {
  .appointment-time-badge {
    font-size: 9px;
    padding: 2px 5px;
  }
}

/* ============================================
   MODALS
   ============================================ */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 20px;
  border-radius: 15px;
  width: 95%;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

@media (min-width: 768px) {
  .modal-content {
    margin: 5% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

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

@media (min-width: 768px) {
  .modal-header h3 {
    font-size: 24px;
  }
}

.close {
  color: #aaa;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: #000;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #d4af37;
}

.form-group input[readonly] {
  background: #f5f5f5;
  cursor: not-allowed;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row .form-group {
  flex: 1;
}

.add-service-form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.add-service-form input {
  flex: 1;
}

.quick-duration {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.quick-duration button {
  padding: 10px;
  background: rgba(212, 175, 55, 0.15);
  border: 2px solid #d4af37;
  border-radius: 8px;
  color: #d4af37;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.quick-duration button:hover {
  background: #d4af37;
  color: white;
}

.modal-footer {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.modal-footer button {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.cancel-btn {
  background: #f0f0f0;
  color: #333;
}

.cancel-btn:hover {
  background: #e0e0e0;
}

.save-btn {
  background: #d4af37;
  color: white;
}

.save-btn:hover {
  background: #c5a028;
}

.btn {
  background: #d4af37;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

@media (min-width: 768px) {
  .btn {
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 16px;
    margin-top: 20px;
  }
}

.btn:hover {
  background: #c5a028;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

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

/* ============================================
   BUSINESS HOURS
   ============================================ */

.business-hours-card {
  padding: 25px !important;
}

.day-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.day-item.active {
  background: #e8f5e9;
  border-color: #4caf50;
}

.day-item.inactive {
  background: #ffebee;
  border-color: #f44336;
}

.day-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.day-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.day-name {
  font-weight: 600;
  font-size: 14px;
  color: #333;
  min-width: 60px;
}

@media (min-width: 768px) {
  .day-name {
    font-size: 16px;
    min-width: 80px;
  }
}

@media (min-width: 1024px) {
  .day-name {
    font-size: 18px;
  }
}

.day-hours {
  color: #666;
  font-size: 12px;
}

@media (min-width: 768px) {
  .day-hours {
    font-size: 14px;
  }
}

.time-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.time-input-group {
  display: flex;
  align-items: center;
  gap: 5px;
}

.time-input-group label {
  font-size: 11px;
  color: #666;
  font-weight: 500;
}

.time-input {
  padding: 6px 10px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 80px;
}

.time-input:hover {
  border-color: #d4af37;
}

.time-input:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.time-separator {
  color: #999;
  font-weight: 600;
  margin: 0 5px;
}

@media (min-width: 768px) {
  .time-controls {
    gap: 12px;
  }

  .time-input {
    padding: 8px 12px;
    font-size: 14px;
    min-width: 90px;
  }

  .time-input-group label {
    font-size: 12px;
  }
}

.day-item.inactive .time-input {
  opacity: 0.5;
  cursor: not-allowed;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #d4af37;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.status-active {
  background: #e8f5e9;
  color: #4caf50;
}

.status-inactive {
  background: #ffebee;
  color: #f44336;
}

.special-date-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 12px;
}

.special-date-form .form-group {
  flex: 1;
  min-width: 180px;
  margin-bottom: 0;
}

.special-date-form .btn {
  margin-top: 0;
  width: auto;
  min-width: 160px;
}

/* ============================================
   PRIVACY POLICY
   ============================================ */

.privacy-content {
  margin: 10px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  height: calc(100vh - 180px);
  padding: 20px;
}

@media (min-width: 768px) {
  .privacy-content {
    margin: 20px;
    border-radius: 20px;
    padding: 30px;
    height: calc(100vh - 200px);
  }
}

.privacy-content h1 {
  color: #d4af37;
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 3px solid #d4af37;
  padding-bottom: 15px;
}

@media (min-width: 768px) {
  .privacy-content h1 {
    font-size: 32px;
    margin-bottom: 30px;
    padding-bottom: 20px;
  }
}

.privacy-content h2 {
  color: #333;
  font-size: 18px;
  margin-top: 25px;
  margin-bottom: 12px;
  padding-right: 12px;
  border-right: 4px solid #d4af37;
}

@media (min-width: 768px) {
  .privacy-content h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-right: 15px;
  }
}

.privacy-content h3 {
  color: #555;
  font-size: 16px;
  margin-top: 18px;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .privacy-content h3 {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
  }
}

.privacy-content p {
  color: #444;
  font-size: 14px;
  margin-bottom: 12px;
  text-align: justify;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .privacy-content p {
    font-size: 16px;
    margin-bottom: 15px;
  }
}

.privacy-content ul {
  margin-right: 25px;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .privacy-content ul {
    margin-right: 30px;
    margin-bottom: 15px;
  }
}

.privacy-content li {
  color: #444;
  font-size: 14px;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .privacy-content li {
    font-size: 16px;
    margin-bottom: 10px;
  }
}

.privacy-content .contact-info {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  border-right: 4px solid #d4af37;
}

@media (min-width: 768px) {
  .privacy-content .contact-info {
    padding: 20px;
    margin-top: 30px;
  }
}

.privacy-content .highlight {
  background: #fff3cd;
  padding: 12px;
  border-radius: 8px;
  margin: 15px 0;
  border-right: 4px solid #ffc107;
}

@media (min-width: 768px) {
  .privacy-content .highlight {
    padding: 15px;
    margin: 20px 0;
  }
}

.privacy-content .last-updated {
  text-align: center;
  color: #666;
  font-size: 12px;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 2px solid #eee;
}

@media (min-width: 768px) {
  .privacy-content .last-updated {
    font-size: 14px;
    margin-top: 40px;
    padding-top: 20px;
  }
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */

@media (max-width: 768px) {
  .card {
    margin: 8px !important;
  }
  
  .form-row {
    flex-direction: column;
  }
}

