/* FluentCommunity Weather - Lean Styles */

.fcom_main_side_wrap {
    flex-direction: column !important;
}

.fcom-weather-widget {
    background: var(--fcom-primary-bg, #ffffff);
    border-radius: 8px;
    padding: 12px;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    font-family: inherit;
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid var(--fcom-primary-border, #e4e7eb);
    display: flex;
    flex-direction: column;
    align-items: center;
    order: -1; /* Try to place it at the top */
}

.fcom-weather-location {
    font-size: 12px;
    font-weight: 600;
    color: var(--fcom-primary-text, #2c3e50);
    margin-bottom: 8px;
    text-align: center;
}

.fcom-weather-current {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.fcom-weather-icon {
    font-size: 42px;
    line-height: 1;
    display: flex;
    align-items: center;
    overflow: visible;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.fcom-weather-temp-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 10px;
}

.fcom-weather-temp {
    font-size: 32px;
    font-weight: 500;
    color: var(--fcom-primary-text, #2c3e50);
}

.fcom-weather-desc {
    font-size: 11px;
    color: var(--fcom-menu-text, #7f8c8d);
    text-transform: capitalize;
    text-align: center;
}

.fcom-weather-forecast {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--fcom-primary-border, #e4e7eb);
}

.fcom-weather-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    flex: 1;
    text-align: center;
    gap: 8px; /* Perfect uniform spacing */
}

.fcom-weather-day-name {
    color: var(--fcom-menu-text, #95a5a6);
}

.fcom-weather-day-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fcom-weather-day-temps {
    display: flex;
    gap: 4px;
    font-size: 12px;
}

.fcom-weather-high { color: #e11d48; font-weight: 600; }
.fcom-weather-low { color: var(--fcom-menu-text, #64748b); }

.fcom-weather-updated {
    text-align: center;
    margin-top: 10px;
    color: var(--fcom-menu-text, #95a5a6);
    font-size: 12px;
    opacity: 0.25;
}

.fcom-weather-no-bg {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding-left: 0;
    padding-right: 0;
}

html.dark .fcom-weather-widget {
    background: var(--fcom-primary-bg, #1e293b);
    border-color: var(--fcom-primary-border, #334155);
}

html.dark .fcom-weather-location,
html.dark .fcom-weather-temp {
    color: var(--fcom-primary-text, #f8fafc);
}
