body {
  background-color: #f8fafc;
  font-family: 'Segoe UI', sans-serif;
}

.profile-pic {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ddd;
}
.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Search */
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
}
#cityInput {
  flex: 1;
  border-radius: 8px;
}
#searchButton {
  border-radius: 8px;
}
#spinnerChecker {
  display: none;
}

/* Cards */
.main-card,
.timings-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.main-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.masjid-img {
  width: 140px;
  height: 140px;
  opacity: 0.7;
}

#FrontTime p,
#RemainingTime p {
  margin: 0;
}

/* Prayer timings rows */
#prayerTiming .prayerRow {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
#prayerTiming .prayerRow:last-child {
  border-bottom: none;
}

/* Error overlay */
.error-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: #f4f9ff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.error-card {
  max-width: 360px;
  width: 90%;
  background-color: #ffffff;
  border-radius: 12px;
}

/* Prevent scrolling when error shown */
body.error-active {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
  .main-card, .timings-card {
    padding: 20px;
  }
}
