/* Shared Weather Station Styles */

/* Base styling */
body {
   min-height: 100vh;
   background: linear-gradient(135deg, #74ebd5 0%, #ACB6E5 100%);
   font-family: 'Segoe UI', Arial, sans-serif;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   margin: 0;
   padding: 20px;
   box-sizing: border-box;
}

/* Button styles */
.weather-btn {
   display: inline-block;
   background: linear-gradient(135deg, #0077b6 0%, #023e8a 100%);
   color: white !important;
   text-decoration: none;
   font-weight: 600;
   font-size: 1rem;
   padding: 10px 20px;
   border-radius: 20px;
   box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
   transition: all 0.3s ease;
   border: none;
   cursor: pointer;
   text-align: center;
}

.weather-btn:hover {
   background: linear-gradient(135deg, #023e8a 0%, #001d3d 100%);
   color: white !important;
   text-decoration: none;
   transform: translateY(-2px);
   box-shadow: 0 6px 20px rgba(0, 119, 182, 0.4);
}

.weather-btn:active {
   transform: translateY(0);
   box-shadow: 0 2px 10px rgba(0, 119, 182, 0.3);
}

.weather-btn:disabled {
   background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
   cursor: not-allowed;
   transform: none;
   box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
}

.weather-btn:disabled:hover {
   background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
   transform: none;
   box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
}

/* Button variants */
.weather-btn.btn-success {
   background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
   box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.weather-btn.btn-success:hover {
   background: linear-gradient(135deg, #1e7e34 0%, #155724 100%);
   box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.weather-btn.btn-large {
   font-size: 1.1rem;
   padding: 12px 24px;
   border-radius: 25px;
}

/* Form styling */
.weather-form {
   margin: 18px auto;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 12px;
   max-width: 500px;
   background: rgba(255, 255, 255, 0.1);
   backdrop-filter: blur(10px);
   border-radius: 15px;
   padding: 20px;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.weather-form label {
   font-weight: 600;
   color: #0077b6;
   font-size: 1.1rem;
}

.weather-input {
   padding: 8px 14px;
   border-radius: 10px;
   border: 2px solid #b2ebf2;
   max-width: 180px;
   font-size: 1rem;
   transition: border-color 0.3s ease;
   background: white;
}

.weather-input:focus {
   outline: none;
   border-color: #0077b6;
   box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.button-group {
   display: flex;
   gap: 12px;
   margin-top: 8px;
   flex-wrap: wrap;
   justify-content: center;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
   .weather-btn {
      font-size: 0.9rem;
      padding: 8px 16px;
   }
   
   .weather-form {
      padding: 15px;
      gap: 10px;
   }
   
   .button-group {
      gap: 8px;
   }
}
