/*
 * 時間轉換工具主要樣式
 * 只放置專案自訂樣式，Bootstrap 負責主要 RWD 與元件排版。
 */

:root {
    --page-bg: #f4f7fb;
    --card-bg: rgba(255, 255, 255, 0.92);
    --text-main: #172033;
    --text-soft: #6b7280;
    --line-soft: rgba(15, 23, 42, 0.08);
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(13, 110, 253, 0.16), transparent 34rem),
        radial-gradient(circle at bottom right, rgba(25, 135, 84, 0.14), transparent 30rem),
        var(--page-bg);
    color: var(--text-main);
}

.app-shell {
    max-width: 1120px;
}

.hero-card,
.converter-card,
.info-card {
    background: var(--card-bg);
    border: 1px solid var(--line-soft);
    border-radius: 1.4rem;
    box-shadow: 0 1.25rem 3rem rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(12px);
}

.hero-icon {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d6efd, #20c997);
    color: #ffffff;
    box-shadow: 0 0.75rem 1.75rem rgba(13, 110, 253, 0.28);
}

.form-control,
.form-select {
    border-radius: 0.9rem;
}

.time-input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 1rem;
}

.action-btn {
    border-radius: 999px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.42rem 0.75rem;
    font-size: 0.9rem;
    background: rgba(13, 110, 253, 0.08);
    color: #0d6efd;
}

.meta-label {
    color: var(--text-soft);
    font-size: 0.88rem;
}

.meta-value {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    word-break: break-word;
}

.footer-text {
    color: var(--text-soft);
    font-size: 0.92rem;
}

@media (max-width: 767.98px) {
    .hero-card,
    .converter-card,
    .info-card {
        border-radius: 1rem;
    }

    .time-input {
        font-size: 0.92rem;
    }

    .action-btn {
        width: 100%;
    }
}
