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

:root {
  --primary: #2b6cb0;
  --primary-light: #3182ce;
  --secondary: #4c51bf;
  --dark: #1a202c;
  --gray-light: #e2e8f0;
  --gray: #a0aec0;
  --white: #ffffff;
  --success: #48bb78;
  --warning: #ed8936;
  --error: #e53e3e;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 12px;
}

body {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  font-family: "Poppins", sans-serif;
  color: var(--dark);
  line-height: 1.6;
  min-height: 100vh;
}

.app-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.logo i {
  font-size: 28px;
}

.logo h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 24px;
}

.search-form {
  width: 100%;
  max-width: 400px;
}

.search-container {
  display: flex;
  position: relative;
  width: 100%;
}

input {
  width: 100%;
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius);
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 16px;
  transition: all 0.3s ease;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.3);
}

button {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50px;
  border: none;
  background-color: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
}

button:hover {
  color: var(--primary-light);
}

/* Main Content */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}

.greeting-container {
  text-align: center;
  color: var(--white);
  margin-bottom: 40px;
  animation: fadeIn 1s ease;
}

.greet {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.date-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 15px;
}

.today,
.time {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.9;
}

.error {
  color: var(--error);
  background-color: rgba(229, 62, 62, 0.1);
  padding: 10px 20px;
  border-radius: var(--radius);
  margin-top: 15px;
  display: none;
}

/* Weather Card */
.weather-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  margin: 0 auto;
  display: none;
  animation: slideUp 0.5s ease;
}

.weather-card.animated {
  animation: slideUp 0.5s ease;
}

.weather-header {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: var(--white);
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.location {
  font-size: 24px;
  font-weight: 600;
}

.weather-icon {
  font-size: 48px;
}

.weather-body {
  padding: 25px;
}

.primary-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-light);
}

.temperature-container .temp {
  font-size: 42px;
  font-weight: 700;
  color: var(--dark);
}

.temperature-container .feels {
  font-size: 16px;
  color: var(--gray);
  margin-top: 5px;
}

.condition-container {
  text-align: right;
}

.condition {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 5px;
}

.desc {
  font-size: 14px;
  color: var(--gray);
  max-width: 200px;
}

.weather-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.detail-item i {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 10px;
}

.detail-item p {
  font-size: 14px;
  color: var(--dark);
}

/* Footer */
footer {
  text-align: center;
  padding: 20px 0;
  margin-top: auto;
  color: var(--white);
  font-size: 14px;
  opacity: 0.8;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 20px;
  }

  .search-form {
    width: 100%;
  }

  .primary-info {
    flex-direction: column;
    text-align: center;
<<<<<<< HEAD
    gap: 20px;
  }

  .condition-container {
    text-align: center;
  }

  .weather-details {
    grid-template-columns: 1fr;
  }
}

/* Loading Animation */
.loading-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 100;
  justify-content: center;
  align-items: center;
}

body.loading .loading-container {
  display: flex;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid var(--white);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
=======
    height: 40px;
}

.header {
    text-align: center;
>>>>>>> 9cb148285d8cb6343d466817080734d83cab2b05
}
