:root {
    --brand-1: #4f46e5;
    --brand-2: #06b6d4;
    --ink: #1e293b;
    --muted: #64748b;
    --page-bg: #f3f4f8;
}

body {
    background-color: var(--page-bg);
    color: var(--ink);
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---- Navbar / Brand ---- */
.lsh-navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}

/* 모바일 기본: 세로로 쌓기 — LSH 크게/가운데 → 검색창 → 버튼들 */
.lsh-navbar-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    padding-top: 1rem;
    padding-bottom: 0.85rem;
}

.lsh-brand {
    order: 1;
}

.lsh-search {
    order: 2;
    width: 100%;
    display: flex;
}

.lsh-actions {
    order: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.lsh-badge {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.32);
}

.lsh-badge svg {
    width: 26px;
    height: 26px;
}

.lsh-wordmark {
    font-weight: 800;
    font-size: 1.9rem;
    letter-spacing: 0.5px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 데스크톱: 한 줄 — 로고 왼쪽 작게 / 검색창 가운데 / 버튼 오른쪽 */
@media (min-width: 768px) {
    .lsh-navbar-inner {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

    .lsh-search {
        order: 2;
        width: auto;
        flex: 1 1 auto;
        margin: 0 1.5rem;
    }

    .lsh-actions {
        order: 3;
        flex-wrap: nowrap;
    }

    .lsh-badge {
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-radius: 11px;
    }

    .lsh-badge svg {
        width: 21px;
        height: 21px;
    }

    .lsh-wordmark {
        font-size: 1.4rem;
    }
}

.lsh-search .form-control {
    border-radius: 999px;
    background-color: #f1f2f6;
    border: 1px solid transparent;
    padding-left: 1rem;
}

.lsh-search .form-control:focus {
    background-color: #fff;
    border-color: var(--brand-1);
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.12);
}

.btn-lsh {
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    border: none;
    color: #fff;
    font-weight: 600;
}

.btn-lsh:hover {
    color: #fff;
    filter: brightness(1.06);
}

/* ---- Weather bar ---- */
.lsh-weather {
    margin-top: 0.85rem;
    padding: 0.55rem 1rem;
    background: #fff;
    border-radius: 999px;
    color: var(--muted);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* ---- Content surface ---- */
.lsh-surface {
    background: #fff;
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 12px 28px rgba(15, 23, 42, 0.05);
}

@media (max-width: 576px) {
    .lsh-surface {
        padding: 1.1rem;
        border-radius: 14px;
    }
}

.lsh-surface h3 {
    font-weight: 800;
    letter-spacing: -0.3px;
}

/* ---- Cards / buttons / tables refinement ---- */
.card {
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 14px;
}

.btn {
    border-radius: 10px;
}

.btn.rounded-pill {
    border-radius: 999px !important;
}

.table > :not(caption) > * > * {
    border-color: rgba(15, 23, 42, 0.06);
}

.table thead th {
    font-size: 0.72rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    border-bottom-width: 1px;
}

.table tbody tr:hover {
    background-color: rgba(79, 70, 229, 0.035);
}

.alert {
    border-radius: 12px;
    border: none;
}
