.pontiac-weather-wrapper {
  border: none;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-family: inherit;
}

.pontiac-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pontiac-current__title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 4px;
  line-height: 1.1;
}

.pontiac-current__title-text {
  font-weight: 700;
}

.pontiac-current__title-select {
  display: inline-flex;
  align-items: center;
}

.pontiac-current__title-municipality {
  font-weight: 700;
  color: #1a202c;
}

.pontiac-weather-selector {
  margin-bottom: 0;
  text-align: right;
}

.pontiac-weather-selector--inline {
  margin: 0;
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pontiac-weather-selector label {
  display: block;
  margin: 0 0 4px;
  font-size: 12px;
  color: #4a5568;
}

.pontiac-weather-selector--inline label {
  display: none;
}

.pontiac-weather-selector__control {
  min-width: 200px;
  padding: 4px 28px 4px 0;
  font-size: 110%;
  font-weight: inherit;
  line-height: inherit;
  border: none;
  border-bottom: 2px solid #1f7a8c;
  border-radius: 0;
  background: transparent;
  color: #1a202c;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%231f7a8c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
  cursor: pointer;
}

.pontiac-weather-selector__control:focus {
  outline: none;
  border-bottom-color: #155c6b;
}

.pontiac-weather-selector__control option {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.pontiac-weather-wrapper .pontiac-weather-selector select {
  width: auto;
  min-width: 220px;
  max-width: none;
  white-space: nowrap;
  display: inline-block;
}

.pontiac-current {
  margin-bottom: 16px;
}

.pontiac-current__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pontiac-current__header h2 {
  margin: 0 0 4px;
}

.pontiac-current__location {
  font-size: 14px;
  color: #4a5568;
  margin: 0;
}

.pontiac-current__selector {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.pontiac-current__body {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 16px;
}

.pontiac-current__primary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
  flex-shrink: 0;
}

.pontiac-current__temp-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pontiac-temp {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
}

.pontiac-condition {
  font-size: 16px;
  color: #2d3748;
}

.pontiac-current__meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 120px));
  gap: 10px;
  flex: 1 1 260px;
}

.pontiac-current__meta-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px;
}

.pontiac-current__meta-label {
  font-size: 13px;
  color: #4a5568;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.pontiac-current__meta-value {
  font-weight: 600;
  color: #1a202c;
}

.pontiac-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 12px;
  background: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin-right: 8px;
  font-size: 0;
}

/* Flat, simple weather icons */
.pontiac-icon--sunny {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'><circle cx='32' cy='32' r='12' fill='%23F59E0B'/><g stroke='%23F59E0B' stroke-width='3' stroke-linecap='round'><line x1='32' y1='8' x2='32' y2='16'/><line x1='32' y1='48' x2='32' y2='56'/><line x1='8' y1='32' x2='16' y2='32'/><line x1='48' y1='32' x2='56' y2='32'/><line x1='15' y1='15' x2='20' y2='20'/><line x1='44' y1='44' x2='49' y2='49'/><line x1='15' y1='49' x2='20' y2='44'/><line x1='44' y1='20' x2='49' y2='15'/></g></svg>");
}

.pontiac-icon--clear-night {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'><path d='M42 12c-8 3-14 11-14 20 0 12 10 22 22 22 3 0 6-1 9-2-4 9-13 15-24 15-14 0-26-12-26-26 0-14 12-26 26-26 3 0 5 0 7 1v-4z' fill='%236366F1'/></svg>");
}

.pontiac-icon--cloudy {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'><path d='M48 44H18c-6 0-10-5-10-11s4-11 10-11c1-7 7-12 14-12 6 0 11 4 13 9 1 0 2 0 3 0 6 0 10 5 10 11s-4 14-10 14z' fill='%239CA3AF'/></svg>");
}

.pontiac-icon--rain {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'><path d='M48 32H18c-6 0-10-4-10-10s4-10 10-10c1-6 7-10 14-10 6 0 11 3 13 8h3c6 0 10 4 10 10s-4 12-10 12z' fill='%239CA3AF'/><g stroke='%233B82F6' stroke-width='3' stroke-linecap='round'><line x1='20' y1='40' x2='16' y2='52'/><line x1='32' y1='40' x2='28' y2='52'/><line x1='44' y1='40' x2='40' y2='52'/></g></svg>");
}

.pontiac-icon--snow {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'><path d='M48 32H18c-6 0-10-4-10-10s4-10 10-10c1-6 7-10 14-10 6 0 11 3 13 8h3c6 0 10 4 10 10s-4 12-10 12z' fill='%239CA3AF'/><g fill='%2360A5FA'><circle cx='18' cy='44' r='3'/><circle cx='32' cy='48' r='3'/><circle cx='46' cy='44' r='3'/><circle cx='25' cy='56' r='2'/><circle cx='39' cy='56' r='2'/></g></svg>");
}

.pontiac-icon--thunder {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'><path d='M48 28H18c-6 0-10-4-10-10s4-10 10-10c1-6 7-10 14-10 6 0 11 3 13 8h3c6 0 10 4 10 10s-4 12-10 12z' fill='%236B7280'/><path d='M36 30l-6 14h8l-10 18 4-14h-8l12-18z' fill='%23FBBF24'/></svg>");
}

.pontiac-icon--fog {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'><g stroke='%239CA3AF' stroke-width='4' stroke-linecap='round'><line x1='8' y1='20' x2='56' y2='20'/><line x1='12' y1='32' x2='52' y2='32'/><line x1='8' y1='44' x2='56' y2='44'/><line x1='16' y1='56' x2='48' y2='56'/></g></svg>");
}

.pontiac-icon--wind {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'><g stroke='%236B7280' stroke-width='3' stroke-linecap='round'><path d='M8 24h32c4 0 8-3 8-7s-4-7-8-7-7 3-7 6'/><path d='M8 40h40c5 0 9 4 9 8s-4 8-9 8c-4 0-7-3-7-6'/><path d='M8 32h20'/></g></svg>");
}

.pontiac-current__meta div {
  margin-bottom: 4px;
}

.pontiac-details {
  flex: 1;
  min-width: 0;
}

.pontiac-details--right {
  display: flex;
  flex-direction: column;
}

.pontiac-details__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
  width: 100%;
}

.pontiac-details__card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px;
}

.pontiac-details__label {
  font-size: 13px;
  color: #4a5568;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.pontiac-details__value {
  font-weight: 600;
  color: #1a202c;
}

.pontiac-hourly__grid,
.pontiac-daily__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.pontiac-hourly__item,
.pontiac-daily__card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px;
}

.pontiac-daily h2 {
  margin-top: 16px;
  padding-top: 30px;
}

.pontiac-hourly__time {
  font-weight: 600;
  margin-bottom: 4px;
}

.pontiac-daily__period {
  font-weight: 700;
  margin-bottom: 4px;
}

.pontiac-daily__sub {
  border-top: 1px dashed #e2e8f0;
  padding-top: 10px;
  margin-top: 10px;
}

.pontiac-daily__sub:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.pontiac-daily__sub-label {
  font-size: 14px;
  font-weight: 700;
  color: #4a5568;
  margin-bottom: 6px;
}

.pontiac-alerts {
  margin-top: 16px;
}

.pontiac-alert {
  border-left: 4px solid #b91c1c;
  background: #fff5f5;
  padding: 10px;
  margin-bottom: 8px;
}

.pontiac-sun__times span {
  margin-right: 12px;
}

.pontiac-current__footer {
  margin-top: 8px;
  font-size: 13px;
  color: #4a5568;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

.pontiac-updated {
  color: #4a5568;
}

.pontiac-updated--feed {
  font-size: 12px;
}

.pontiac-attribution {
  color: #2d3748;
  font-weight: 600;
}

.pontiac-weather-error {
  color: #b91c1c;
  font-weight: 600;
}

/* Responsive layout for smaller screens */
@media (max-width: 768px) {
  .pontiac-current__body {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .pontiac-current__primary {
    min-width: 0;
    width: 100%;
    flex-shrink: 1;
  }
  
  .pontiac-details {
    width: 100%;
  }
  
  .pontiac-details__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .pontiac-icon {
    width: 70px;
    height: 70px;
  }
  
  .pontiac-temp {
    font-size: 28px;
  }
  
  .pontiac-details__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pontiac-weather-selector__control {
    min-width: 160px;
    font-size: 100%;
  }
  
  .pontiac-current__title {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ========================================
   Mini/Compact Weather Widget
   ======================================== */
.pontiac-mini {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 5px !important;
  height: 25px !important;
  max-height: 25px !important;
  font-family: inherit;
  white-space: nowrap !important;
  vertical-align: middle !important;
  flex-wrap: nowrap !important;
}

.pontiac-mini__label {
  font-size: 13px;
  color: #4a5568;
  line-height: 1;
}

.pontiac-mini__municipality {
  font-weight: 600;
  color: #1a202c;
}

.pontiac-mini .pontiac-mini__icon,
.pontiac-mini .pontiac-mini__icon.pontiac-icon,
.pontiac-mini .pontiac-mini__icon.pontiac-icon.pontiac-icon--sunny,
.pontiac-mini .pontiac-mini__icon.pontiac-icon.pontiac-icon--cloudy,
.pontiac-mini .pontiac-mini__icon.pontiac-icon.pontiac-icon--rain,
.pontiac-mini .pontiac-mini__icon.pontiac-icon.pontiac-icon--snow,
.pontiac-mini .pontiac-mini__icon.pontiac-icon.pontiac-icon--thunder,
.pontiac-mini .pontiac-mini__icon.pontiac-icon.pontiac-icon--fog,
.pontiac-mini .pontiac-mini__icon.pontiac-icon.pontiac-icon--wind,
.pontiac-mini .pontiac-mini__icon.pontiac-icon.pontiac-icon--clear-night {
  display: inline-block !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  flex-shrink: 0 !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  background-color: transparent !important;
  border-radius: 3px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pontiac-mini__condition {
  font-size: 13px;
  color: #4a5568;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
}

.pontiac-mini__temp {
  font-size: 14px;
  font-weight: 600;
  color: #1a202c;
  line-height: 1;
}

.pontiac-mini--error {
  font-size: 12px;
  color: #b91c1c;
}

