/* ====== Global Styles ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #f1f5f9;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

/* ====== Wrapper ====== */
.wrapper {
  background: #1e293b;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.15);
  max-width: 400px;
  width: 100%;
  animation: fadeSlide 1s ease-in-out;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====== Header ====== */
#btn-two {
  font-size: 22px;
  color: #38bdf8;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 600;
}

/* ====== Input Section ====== */
.input-part {
  text-align: center;
  margin-bottom: 30px;
}

#input-field {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #38bdf8;
  background: #0f172a;
  color: #f1f5f9;
  margin-bottom: 15px;
  transition: border-color 0.3s ease;
}

#input-field:focus {
  outline: none;
  border-color: #0ea5e9;
}

/* ====== Button ====== */
#btn {
  width: 100%;
  padding: 10px;
  background: #0ea5e9;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

#btn:hover {
  background: #0284c7;
  transform: translateY(-2px);
}

/* ====== Output Section ====== */
.output-part {
  margin-top: 25px;
  display: none;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ====== Temperature Block ====== */
.tem {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.ima img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.temp {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.temp h5 {
  font-size: 20px;
  color: #facc15;
}

.temp i {
  color: #38bdf8;
  margin-bottom: 5px;
}

/* ====== Info Text ====== */
.info-txt {
  font-size: 14px;
  color: #94a3b8;
  text-align: center;
  padding: 8px 0;
  border-bottom: 1px dashed #38bdf8;
  margin-top: 15px;
}

/* ====== Data Section ====== */
.data {
  margin-top: 20px;
  text-align: center;
}

.line {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.loc, .reign {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: #cbd5e1;
}

.loc i, .reign i, .date_time i {
  color: #0ea5e9;
}

.date_time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #a1a1aa;
  font-size: 13px;
}
