/* =========================================================
   guidebook-widgets.css v1.0
   Styles for utility widgets (clocks, currency, weather)
   ========================================================= */

/* ========== TIMEZONE CLOCKS ========== */

.timezone-clocks.two-column {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.tz-clock {
    text-align: center;
}

.tz-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f6ebe7;
    border: 1px solid #d7c3ba;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-family: "Noto Sans JP", sans-serif;
    color: #4a3c33;
    font-weight: 600;
    margin-bottom: 6px;
}

.tz-flag {
    width: 18px;
    height: auto;
}

.tz-clock-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.tz-digital-time {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
}

/* ========== CURRENCY CONVERTER ========== */

.currency-widget {
    width: 300px;
    margin: 0 auto;
    border: 1px solid #bbaaa2;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    text-align: center;
}

.currency-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #f4e4dd;
    border-bottom: 1px solid #bbaaa2;
    padding: 5px 4px;
    font-size: 14px;
    font-family: "Noto Sans JP", sans-serif;
    color: #4a3c33;
    font-weight: 600;
}

.currency-flag {
    width: 18px;
    height: auto;
}

.currency-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.converter-row {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.converter-row label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: var(--ink);
    cursor: pointer;
}

.currency-select,
.amount-row input {
    width: 100%;
    padding: 8px;
    border: 1px solid #d7c3ba;
    border-radius: 4px;
    font-size: 14px;
    font-family: "Noto Sans JP", sans-serif;
}

.amount-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.amount-row label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
}

.result-display {
    padding: 12px;
    background: #f6ebe7;
    border-radius: 4px;
    margin-top: 8px;
}

.result-amount {
    font-size: 24px;
    font-weight: 700;
    color: #e06700;
}

.result-currency {
    font-size: 14px;
    color: var(--ink-soft);
    margin-top: 4px;
}

.rate-info {
    font-size: 11px;
    color: var(--ink-light);
    text-align: center;
}

/* ========== WEATHER WIDGET ========== */

.ub-weather-widget {
    width: 300px;
    margin: 0 auto;
    border: 1px solid #d7c3b8;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    overflow: hidden;
    font-family: "Noto Sans JP", sans-serif;
    text-align: center;
    padding-bottom: 10px;
}

.ub-weather-header {
    font-size: 16px;
    font-weight: 600;
    background: #f6e8e1;
    color: #4a3c33;
    padding: 8px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.ub-flag {
    width: 22px;
    height: auto;
}

.ub-weather-body {
    padding: 16px 0 14px;
    font-size: 15px;
    line-height: 1.4;
    color: #44372f;
}

.ub-weather-temp {
    font-size: 44px;
    font-weight: 700;
    margin: 2px 0 4px;
    color: #e06700;
}

.ub-weather-desc {
    font-size: 14px;
    opacity: 0.9;
}

.ub-weather-error {
    font-size: 13px;
    color: #999;
    padding: 20px 0;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
    .timezone-clocks.two-column {
        flex-direction: column;
        gap: 16px;
    }
    
    .currency-widget,
    .ub-weather-widget {
        width: 100%;
        max-width: 340px;
    }
}