body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 60px;
}
.light-theme {
  background-color: #ffffff;
  color: #1a1a1a;
}
.dark-theme {
  background-color: #1a1a2e;
  color: #e1e1e1;
}




.dark-theme 


.dark-theme 
.prayer-time-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  text-align: center;
}
.prayer-time {
  padding: 1rem;
  border-radius: 8px;
  background-color: #f8f9fa;
  transition: transform 0.2s;
}
.dark-theme .prayer-time {
  background-color: #2a2a3e;
}
.prayer-time:hover {
  transform: translateY(-5px);
}
.prayer-time h5 {
  margin-bottom: 0.5rem;
  color: #007bff;
}
.dark-theme .prayer-time h5 {
  color: #66b3ff;
}
.prayer-time p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
}
footer {
  margin-top: auto;
}
@media (max-width: 768px) {
  .prayer-time-container {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

#hijri-date {
  font-size: 1.2rem;
  color: #666;
  margin-top: 0.5rem;
}

.dark-theme #hijri-date {
  color: #aaa;
}

/* Styling untuk card pada dark mode */
.dark-theme .card {
  background-color: #1a1a2e;
  border-color: #2a2a3e;
}

/* Styling untuk prayer-time pada dark mode */
.dark-theme .prayer-time {
  background-color: #2a2a3e;
  color: #e1e1e1;
}

/* Styling untuk heading pada prayer-time dalam dark mode */
.dark-theme .prayer-time h5 {
  color: #66b3ff;
}

/* Styling untuk paragraf pada prayer-time dalam dark mode */
.dark-theme .prayer-time p {
  color: #e1e1e1;
}

/* Styling untuk form elements pada dark mode */
.dark-theme .form-select,
.dark-theme .form-control {
  background-color: #2a2a3e;
  border-color: #3a3a4e;
  color: #e1e1e1;
}

.dark-theme .form-select:focus,
.dark-theme .form-control:focus {
  background-color: #2a2a3e;
  border-color: #66b3ff;
  color: #e1e1e1;
}

/* Styling untuk button pada dark mode */
.dark-theme .btn-primary {
  background-color: #007bff;
  border-color: #0056b3;
}

.dark-theme .btn-primary:hover {
  background-color: #0056b3;
  border-color: #004085;
}
/* Add this after your existing styles */

/* Connection Status */
.floating-notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  z-index: 1002;
  opacity: 0;
  transition: all 0.3s ease;
}

.floating-notification.online {
  background-color: rgba(76, 175, 80, 0.9);
}

.floating-notification.offline {
  background-color: rgba(255, 152, 0, 0.9);
}
.dialog-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
}
.dialog-content h3 {
  margin-bottom: 15px;
  text-align: center;
}
.dialog-content button {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-copy {
  background: #6c757d;
  color: white;
}
.btn-whatsapp {
  background: #25D366;
  color: white;
}
.btn-facebook {
  background: #1877F2;
  color: white;
}
.btn-twitter {
  background: #1DA1F2;
  color: white;
}
.btn-instagram {
  background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
  color: white;
}
.btn-instagram:hover {
  opacity: 0.9;
}
.btn-close {
  background: #dc3545;
  color: white;
}
/* Dark theme support */
body.dark-theme .dialog-content {
  background: #333;
  color: white;
}
.share-button-container {
  margin-top: 15px;
  text-align: center;
}
/* Print Styles */
@media print {
  /* Hide everything except print section */
  body > *:not(#printSection) {
    display: none !important;
  }
  
  #printSection {
    display: block !important;
  }
  
  .print-container {
    width: 100%;
    margin: 0;
    padding: 20px;
  }
  
  .print-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .print-city {
    text-align: center;
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .print-date {
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  .print-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    page-break-inside: auto;
  }
  
  .print-table th,
  .print-table td {
    border: 1px solid #000;
    padding: 6px;
    text-align: center;
    font-size: 11px;
  }
  
  .print-table th {
    background-color: #f0f0f0 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .print-table tr {
    page-break-inside: avoid;
    page-break-after: auto;
  }
  .print-footer {
    text-align: center;
    font-size: 12px;
    margin-top: 20px;
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
  }
}
/* Hide print section in normal view */
#printSection {
  display: none;
}
