:root {
    --rms-border: #dbe3ef;
    --rms-muted: #64748b;
    --rms-card: #ffffff;
}

* {
    box-sizing: border-box;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--rms-border);
    border-radius: 12px;
    background: #fff;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.4;
    color: #0f172a;
    outline: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #06b6d4;
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.14);
}

input[type="checkbox"],
input[type="radio"] {
    width: auto;
    border-radius: 6px;
    padding: 0;
}

button,
.btn {
    border-radius: 12px;
    transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}

button:hover,
.btn:hover {
    transform: translateY(-1px);
}

.rms-card,
.rounded-lg.border.bg-white {
    border-color: var(--rms-border) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

table {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 720px;
}

thead {
    color: #334155;
}

thead tr {
    background: #eef5fb;
}

th {
    font-weight: 700;
    white-space: nowrap;
}

th,
td {
    padding: 13px 14px !important;
    vertical-align: middle;
}

tbody tr {
    background: #fff;
}

tbody tr:hover {
    background: #f8fafc;
}

thead th:first-child {
    border-top-left-radius: 12px;
}

thead th:last-child {
    border-top-right-radius: 12px;
}

.overflow-x-auto {
    border-radius: 14px;
}

label {
    color: #334155;
    font-weight: 600;
}

label input,
label select,
label textarea {
    font-weight: 400;
}

.pagination,
nav[role="navigation"] {
    font-size: 14px;
}

@media (max-width: 768px) {
    table {
        min-width: 640px;
    }

    th,
    td {
        padding: 11px 12px !important;
    }
}
