/* Snow Day Calculator WordPress Stylesheet */
.sdc-wrapper {
    max-width: 650px;
    margin: 40px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #334155;
    background-color: rgb(36, 63, 146);
    border-radius: 32px;
    box-sizing: border-box;
}

.sdc-wrapper * {
    box-sizing: border-box;
}

/* Header Text Styles */
.sdc-header {
    text-align: center;
    margin-bottom: 25px;
}

.sdc-main-title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin: 0 0 10px 0;
}

.sdc-subtitle-1 {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin: 0 0 5px 0;
}

.sdc-underline {
    border-bottom: 2px dotted #334155;
}

.sdc-subtitle-2 {
    font-size: 11px;
    color: #475569;
    margin: 0 auto;
    max-width: 500px;
    line-height: 1.4;
}

.sdc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #1d4ed8;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Search Bar Round Box */
.sdc-search-bar-container {
    display: flex;
    background: #ffffff;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 6px;
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
}

.sdc-search-bar-container input {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #1e293b;
    outline: none;
    width: 100%;
}

.sdc-search-bar-container button {
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 9999px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.sdc-search-bar-container button:hover {
    background-color: #1d4ed8;
}

/* Location and Toggle Pill Bar */
.sdc-location-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.sdc-city-title {
    font-size: 20px;
    font-weight: 950;
    color: #000000 !important;
    margin: 0;
}

.sdc-local-time {
    font-size: 13px;
    color: #000000 !important;
    margin: 4px 0 0 0;
    font-weight: 500;
}

.sdc-unit-toggle {
    background: #f1f5f9;
    padding: 4px;
    border-radius: 9999px;
    display: flex;
}

.sdc-unit-btn {
    border: none;
    background: transparent;
    font-weight: 900;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 9999px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.sdc-unit-btn.active {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Big Weather Card */
.sdc-main-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 30px;
    text-align: center;
    position: relative;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);
}

.sdc-probability-pill {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 9999px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 800;
    color: #1d4ed8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sdc-prob-dot {
    width: 8px;
    height: 8px;
    background-color: #3b82f6;
    border-radius: 50%;
    display: inline-block;
}

.sdc-current-icon {
    font-size: 60px;
    line-height: 1;
    margin: 20px 0 10px 0;
}

.sdc-current-cond {
    font-size: 22px;
    font-weight: 800;
    color: #000000 !important;
    margin: 0;
    text-transform: capitalize;
}

.sdc-current-desc {
    font-size: 12px;
    color: #000000 !important;
    margin: 4px 0 0 0;
    font-weight: 500;
}

.sdc-big-temp {
    font-size: 56px;
    font-weight: 900;
    color: #000000 !important;
    letter-spacing: -2px;
    margin: 15px 0 25px 0;
}

/* Stats Footer Grid */
.sdc-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    border-top: 1px solid #f1f5f9;
    padding-top: 25px;
}

.sdc-stat-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sdc-stat-icon {
    font-size: 20px;
    margin-bottom: 6px;
}

.sdc-stat-val {
    font-size: 16px;
    font-weight: 850;
    color: #000000 !important;
}

.sdc-stat-lbl {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Forecast Panel Elements */
.sdc-forecast-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);
}

.sdc-section-heading {
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    color: #000000 !important;
    letter-spacing: 1px;
    margin: 0 0 16px 0;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
    text-align: left;
}

/* Hourly Scroller horizontal list */
.sdc-hourly-scroller {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
}

.sdc-hourly-item {
    flex: 1;
    min-width: 75px;
    background: #f8fafc;
    border-radius: 16px;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sdc-hourly-time {
    font-size: 11px;
    font-weight: 700;
    color: #000000 !important;
    margin-bottom: 8px;
    white-space: nowrap;
}

.sdc-hourly-img {
    font-size: 22px;
    margin-bottom: 8px;
    line-height: 1;
}

.sdc-hourly-temp {
    font-size: 13px;
    font-weight: 900;
    color: #000000 !important;
}

/* 5 Day Vertical Column Rows */
.sdc-daily-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sdc-daily-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-radius: 12px;
    transition: background-color 0.15s ease;
}

.sdc-daily-row:hover {
    background-color: #f8fafc;
}

.sdc-daily-day {
    font-size: 13px;
    font-weight: 800;
    color: #000000 !important;
    width: 80px;
    text-align: left;
}

.sdc-daily-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sdc-daily-icon {
    font-size: 20px;
}

.sdc-daily-cond {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: capitalize;
}

.sdc-daily-range {
    display: flex;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
}

.sdc-daily-min {
    color: #94a3b8;
}

.sdc-daily-max {
    color: #000000 !important;
}

/* Error States */
.sdc-error {
    background-color: #fef2f2;
    border-left: 4px solid #ef4444;
    color: #b91c1c;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.sdc-sim-banner {
    display: block;
    background-color: #fffbeb;
    border: 1px solid #fef3c7;
    color: #b45309;
    padding: 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    margin: 15px auto;
    max-width: 400px;
    text-align: center;
}

/* Scrollbar customization */
.sdc-hourly-scroller::-webkit-scrollbar {
    height: 4px;
}
.sdc-hourly-scroller::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 9999px;
}
.sdc-hourly-scroller::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
