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

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-image: url(back2.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  backdrop-filter: blur(5px);
}
 img{
  height: 50px;
 }
.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-image: url(back2.webp);
  background-size: cover;
  position: relative;
  height: 80vh;
  width: 70%;
  gap: 20px;
}

.left-bar,
.right-bar {
  width: 48%;
  padding: 20px;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-position: center;
  color: #fff;
}

.left-bar {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  text-align: center;
  z-index: 1;
}

.right-bar {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  height: 100%;
  padding: 20px;
  gap: 30px;
  background: transparent;
}

.right-bar input[type="text"] {
  flex: 1;
  padding: 12px 16px;
  font-size: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  outline: none;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.right-bar input[type="text"]::placeholder {
  color: #ddd;
  font-weight: 300;
}

.right-bar input[type="text"]:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.search-box {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px; /* ✅ Adds space between input and button */
}

.search-btn {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.details-line {
  display: flex;
  justify-content: space-between;
  width: 100%;
  color: white;
  font-size: 16px;
}
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    width: 90%;
    height: auto;
    padding: 20px;
    gap: 30px;
  }

  .left-bar,
  .right-bar {
    width: 100%;
    height: auto;
    padding: 16px;
  }

  .left-bar {
    align-items: center;
    text-align: center;
  }

  .search-box {
    flex-direction: column;
    gap: 10px;
  }

  .search-box input,
  .search-btn {
    width: 100%;
    border-radius: 8px;
  }

  .search-btn {
    font-size: 16px;
    padding: 10px;
  }

  .temp {
    font-size: 40px;
  }

  .details-line {
    font-size: 15px;
  }
}
hr {
  width: 100%;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.4); /* semi-white */
  margin: 10px 0;
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #fff, transparent);
  margin: 15px 0;
}
