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

/* Body */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #1d2671, #c33764);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Main container */
.container {
  background: #ffffff;
  width: 100%;
  max-width: 500px;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Title */
h1 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 28px;
}

/* Dropdown */
select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 16px;
  margin-bottom: 25px;
  cursor: pointer;
}

/* Cities wrapper */
.cities {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* City card */
.city {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 18px;
  border-radius: 12px;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

/* City name */
.city h2 {
  font-size: 18px;
  font-weight: 600;
}

/* Date */
.date {
  font-size: 14px;
  color: #666;
}

/* Time */
.time {
  font-size: 22px;
  font-weight: bold;
}

/* User location card spacing */
.city:last-of-type {
  margin-top: 25px;
}


/* Responsive */
@media (max-width: 480px) {
  .container {
    padding: 20px;
  }

  .city {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}

.city-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.city-info h2 {
  font-size: 18px;
  font-weight: 600;
}

.city-info .date {
  font-size: 13px;
  color: #888;
  font-weight: 400;
}

.city-info .date {
  line-height: 1.2;
}

.all-cities {
  margin-top: 15px;
  text-align: left;
}

.home-link {
  font-size: 14px;
  color: #f59db9;
  text-decoration: none;
  font-weight: 500;
}


.home-link:hover {
  text-decoration: underline;
}


main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

footer {
  margin-bottom: 15px;
  font-size: 13px;
  color: #eee;
  text-align: center;
}

footer a {
  color: #ffb3c7;
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

.all-cities {
  margin-top: 15px;
}

.all-cities a {
  font-size: 14px;
  color: #c33764;
  text-decoration: none;
}

.all-cities a:hover {
  text-decoration: underline;
}

