/*
 * 8keys Admin — Tabler Overrides
 * Light theme, 2px border-radius globally
 */

:root {
    --tblr-border-radius:    2px;
    --tblr-border-radius-sm: 2px;
    --tblr-border-radius-lg: 2px;
    --tblr-border-radius-xl: 2px;
    --tblr-primary:          #2563eb;
    --tblr-primary-rgb:      37, 99, 235;
}

/* Force 2px radius on all common elements */
.card,
.btn,
.form-control,
.form-select,
.badge,
.avatar,
.dropdown-menu,
.modal-content,
.alert,
.toast,
.nav-link,
.input-group-text,
.form-check-input,
.form-selectgroup-label {
    border-radius: 2px !important;
}

/* Page background */
body {
    background: #f8fafc;
}

/* Table tweaks */
.table thead th {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #64748b;
}

.table tbody td {
    vertical-align: middle;
}

/* Subheader style */
.subheader {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #94a3b8;
}

/* Primary button uses project blue */
.btn-primary {
    --tblr-btn-bg: #2563eb;
    --tblr-btn-border-color: #2563eb;
    --tblr-btn-hover-bg: #1d4ed8;
    --tblr-btn-hover-border-color: #1d4ed8;
}

/* Card subtle shadow */
.card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    border-color: #e2e8f0;
}

/* Breadcrumb */
.breadcrumb {
    font-size: .775rem;
    margin-bottom: .25rem;
}

/* Page title */
.page-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -.02em;
}

/* Alert dismiss */
.alert {
    font-size: .85rem;
}

/* Pagination size */
.pagination .page-link {
    font-size: .8rem;
}

/* Form hint */
.form-hint {
    font-size: .75rem;
    color: #94a3b8;
}

/* Sidebar active state emphasis */
.navbar-vertical .nav-link.active {
    font-weight: 600;
}

/* Datagrid labels */
.datagrid-title {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #94a3b8;
}
