/* web.pt 디자인 토큰 + Bootstrap 오버라이드 */

@font-face {
    font-family: 'Pretendard';
    font-weight: 45 920;
    font-style: normal;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.woff2') format('woff2-variations');
}

:root {
    --wpt-navy: #0d1b2a;
    --wpt-blue: #2563eb;
    --wpt-blue-hover: #1d4ed8;
    --wpt-teal: #14b8a6;
    --wpt-teal-hover: #0d9488;
    --wpt-surface: #f5f7fa;
    --wpt-text: #0d1b2a;
    --wpt-text-muted: #6b7280;
    --wpt-card: #ffffff;
    --wpt-border: #e5e7eb;
    --wpt-sidebar-w: 240px;
    --wpt-radius: 0.5rem;
    --wpt-radius-lg: 0.75rem;
    --wpt-shadow: 0 1px 3px rgba(13, 27, 42, 0.08);
    --wpt-shadow-md: 0 4px 12px rgba(13, 27, 42, 0.1);

    --bs-body-font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --bs-body-color: var(--wpt-text);
    --bs-body-bg: var(--wpt-surface);
    --bs-primary: var(--wpt-blue);
    --bs-primary-rgb: 37, 99, 235;
    --bs-link-color: var(--wpt-blue);
    --bs-link-hover-color: var(--wpt-blue-hover);
    --bs-border-color: var(--wpt-border);
    --bs-border-radius: var(--wpt-radius);
}

body {
    font-family: var(--bs-body-font-family);
    color: var(--wpt-text);
    background-color: var(--wpt-surface);
}

.btn-primary {
    --bs-btn-bg: var(--wpt-blue);
    --bs-btn-border-color: var(--wpt-blue);
    --bs-btn-hover-bg: var(--wpt-blue-hover);
    --bs-btn-hover-border-color: var(--wpt-blue-hover);
    --bs-btn-active-bg: var(--wpt-blue-hover);
    --bs-btn-active-border-color: var(--wpt-blue-hover);
}

.btn-outline-primary {
    --bs-btn-color: var(--wpt-blue);
    --bs-btn-border-color: var(--wpt-blue);
    --bs-btn-hover-bg: var(--wpt-blue);
    --bs-btn-hover-border-color: var(--wpt-blue);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--wpt-teal);
    box-shadow: 0 0 0 0.2rem rgba(20, 184, 166, 0.25);
}

.card {
    border-color: var(--wpt-border);
    box-shadow: var(--wpt-shadow);
}

.alert-info {
    --bs-alert-bg: #ecfeff;
    --bs-alert-border-color: #99f6e4;
    --bs-alert-color: #0f766e;
}

.wpt-logo {
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    text-decoration: none;
    line-height: 1.2;
}

.wpt-logo__web {
    color: var(--wpt-navy);
}

.wpt-logo__pt {
    color: var(--wpt-teal);
}

.wpt-sidebar .wpt-logo__web,
.wpt-offcanvas .wpt-logo__web {
    color: #f9fafb;
}

.wpt-sidebar .wpt-logo__pt,
.wpt-offcanvas .wpt-logo__pt {
    color: var(--wpt-teal);
}

.wpt-stat {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--wpt-text);
}

.wpt-page-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.wpt-page-lead {
    font-size: 0.9375rem;
    color: var(--wpt-text-muted);
    margin: 0.25rem 0 0;
}
