/* General reset and font */
html * {font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  width: 100%;
  margin: 0;
  background-color: #1A1A1A; /* Matches app background */
  color: #FFFFFF;
}

body {
  display: flex;
  flex-direction: column;
}

/* Header style matching app's ActionBar */
header {
  background-color: #1A1A1A;
  height: 56px; /* Standard Android ActionBar height */
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
  z-index: 100;
}

h1 {
  font-size: 18px;
  font-weight: 100;
  margin: 0;
  color: #FFFFFF;
}

/* Main Container */
.container {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Inputs styled like Android Material EditText */
input {
  width: 100%;
  max-width: 400px;
  background-color: transparent;
  border: none;
  border-bottom: 2px solid #2196F3; /* blue_primary from app */
  color: white;
  padding: 12px 8px;
  font-size: 16px;
  outline: none;
}

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

.modal-form input,
.modal-form textarea {
  color: #222 !important;
  border: 1.5px solid #4CAF50 !important;
  background-color: #fff !important;
  max-width: none !important;
}

.modal-form input::placeholder,
.modal-form textarea::placeholder {
  color: #999 !important;
}

/* Button styled like the app's blue_primary buttons */
button {
  background-color: #2196F3; /* blue_primary */
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 24px;
  font-weight: 100;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: background-color 0.2s;
}

button:hover {
  background-color: #1976D2; /* blue_dark */
}

/* Success Banner (matching the new green banner) */
.banner-success {
  background-color: #4CAF50;
  color: white;
  width: 100%;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  position: absolute;
  top: 0;
  left: 0;
}

/* Loading Spinner matching app's color */
.spinner {
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid #2196F3;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

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

/* Temperature colors logic (for reference in your JS/Components) */
.temp-green  { background-color: #4CAF50; color: black; }
.temp-yellow { background-color: #FFEB3B; color: black; }
.temp-orange { background-color: #FFA500; color: black; }
.temp-red    { background-color: #F44336; color: white; }

/* Footer bar matching app's bottom menu */
footer {
  background-color: #1A1A1A;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #333;
}