:root {
    --background: #ffffff;
    --foreground: #0f172a;
    --border: #e2e8f0;
    --input: #ffffff;
    --primary: #2563eb;
    --primary-foreground: #ffffff;
    --secondary: #E9F0FF;
    --secondary-foreground: #0f172a;
    --muted: #f8fafc;
    --muted-foreground: #64748b;
    --muted-hover: #e4e8ed;
    --success: #10b981;
    --success-foreground: #ffffff;
    --accent: #67aff8;
    --accent-foreground: #0f172a;
    --destructive: #ef4444;
    --destructive-foreground: #ffffff;
    --warning: #f59e0b;
    --warning-foreground: #ffffff;
    --danger: #ff0000;;
    --danger-foreground: #ffffff;
    --card: #ffffff;
    --card-foreground: #0f172a;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --font-family-body: system-ui, -apple-system, sans-serif;
    --primary-bg-color: #F4F7FB;
}

.navbar-light .navbar-nav .nav-link {
    font-weight: 500 !important;
}

body {
    font-family: var(--font-family-body);
}

.new-ui-v1,
.new-ui-v1 * {
    box-sizing: border-box;
}

.new-ui-v1 > main,
.new-ui-v1 > div {
    margin: 0 auto;
    background-color: var(--primary-bg-color);
    color: var(--foreground);
    -webkit-font-smoothing: antialiased;
}

.new-ui-v1-navbar {
    height: 56px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 16px;
    justify-content: space-between;
    background: var(--background);
}

@media (min-width: 768px) {
    .new-ui-v1-navbar {
        height: 64px;
        padding: 0 32px;
    }
}

.new-ui-v1-nav-brand {
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 768px) {
    .new-ui-v1-nav-brand {
        font-size: 20px;
    }
}

.new-ui-v1-nav-links {
    display: none;
    gap: 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-foreground);
}

@media (min-width: 768px) {
    .new-ui-v1-nav-links {
        display: flex;
    }
}

.new-ui-v1-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.new-ui-v1-page-header {
    display: grid;
    padding: 24px 16px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 768px) {
    .new-ui-v1-page-header {
        padding: 0 32px 24px;
    }
}

.new-ui-v1-page-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

@media (min-width: 768px) {
    .new-ui-v1-page-title {
        font-size: 32px;
    }
}

.new-ui-v1-page-description {
    font-size: 14px;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .new-ui-v1-page-description {
        font-size: 16px;
    }
}

.cr-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: default;
    color: var(--muted-foreground);
}

.cr-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--foreground);
    color: var(--background);
    font-size: 12px;
    line-height: 1.4;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: normal;
    width: max-content;
    max-width: 220px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 100;
    text-transform: none;
}

.cr-tooltip::before {
    content: '';
    position: absolute;
    bottom: calc(100% - 4px);
    left: 60%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--foreground);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 100;
}

.cr-tooltip:hover::after,
.cr-tooltip:hover::before {
    opacity: 1;
}
