:root {
    --rosma-blue: #0072bc;
    --rosma-cyan: #00a7df;
    --rosma-green: #76b82a;

    --rosma-sidebar-bg: #e8f6fd;
    --rosma-sidebar-active: #ffffff;
    --rosma-border: #cfe4f0;

    --rosma-card-bg: #ffffff;
    --rosma-card-border: #e3eef5;
}

/* ===== SIDEBAR ===== */
.rosma-theme #sidebar {
    width: 95px !important;
    min-width: 95px !important;
    background: linear-gradient(180deg, #dff3fc 0%, #eef9fd 60%, #f7fcff 100%) !important;
    border-right: 1px solid var(--rosma-border);
    box-shadow: 2px 0 12px rgba(0, 80, 130, 0.06);
}

/* posun hlavního obsahu podle šířky sidebaru */
@media (min-width: 1024px) {
    .rosma-theme .rosma-main-panel {
        margin-left: 95px !important;
        width: calc(100% - 95px) !important;
    }
}

.rosma-sidebar-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

/* aktivní položka menu */
.rosma-theme #sidebar .kt-menu-item.active > .kt-menu-link {
    background: #ffffff !important;
    color: var(--rosma-blue) !important;
    border-radius: 10px;
}

/* hover menu */
.rosma-theme #sidebar .kt-menu-link:hover {
    background: var(--rosma-sidebar-active) !important;
    color: var(--rosma-blue) !important;
}

/* ===== BUTTONY ===== */
.rosma-theme .kt-btn-primary {
    background: linear-gradient(135deg, var(--rosma-blue), var(--rosma-cyan)) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 114, 188, 0.25);
}

.rosma-theme .kt-btn-primary:hover {
    opacity: 0.9;
}

/* secondary button */
.rosma-theme .kt-btn-light {
    background: #f1f7fb !important;
    color: var(--rosma-blue) !important;
    border: 1px solid var(--rosma-border) !important;
}

/* ===== CARDS ===== */
.rosma-theme .kt-card {
    background: var(--rosma-card-bg);
    border: 1px solid var(--rosma-card-border);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

/* header cards */
.rosma-theme .kt-card-header {
    border-bottom: 1px solid #eef3f7;
}

/* ===== KPI IKONY ===== */
.rosma-theme .bg-primary\/10 {
    background: rgba(0, 114, 188, 0.1) !important;
}
.rosma-theme .bg-warning\/10 {
    background: rgba(255, 193, 7, 0.1) !important;
}
.rosma-theme .bg-success\/10 {
    background: rgba(118, 184, 42, 0.12) !important;
}
.rosma-theme .bg-info\/10 {
    background: rgba(0, 167, 223, 0.12) !important;
}

/* ===== BADGES ===== */
.rosma-theme .kt-badge-success {
    color: #5f9f1f !important;
    border-color: rgba(118, 184, 42, .35) !important;
    background: #edf8df !important;
}

.rosma-theme .kt-badge-warning {
    background: #fff4e5 !important;
    border-color: #ffcc80 !important;
    color: #b26a00 !important;
}

.rosma-theme .kt-badge-primary {
    background: #e3f2fd !important;
    border-color: #90caf9 !important;
    color: var(--rosma-blue) !important;
}

/* ===== TABULKY ===== */
.rosma-theme .kt-table thead {
    background: #f5f9fc;
}

.rosma-theme .kt-table th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6b7a88;
}

.rosma-theme .kt-table tbody tr:hover {
    background: #f7fbfe;
}

/* ===== TEXT ===== */
.rosma-theme .text-primary {
    color: var(--rosma-blue) !important;
}

/* ===== ALERT / NOTIF ITEM ===== */
.rosma-theme .hover\:bg-accent:hover {
    background: #f1f8fc !important;
}

/* ===== HEADER CARD (dashboard top) ===== */

.rosma-theme .kt-card-content {

    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);

}

.rosma-theme .kt-card-content h1 {
    color: var(--rosma-blue);
}

/* ===== SCROLL AREA ===== */
#scrollable_content {
    padding-bottom: 20px;
}

/* ===== ROSMA polish pass ===== */

.rosma-theme .kt-card,
.rosma-dashboard .rosma-card {
    box-shadow: 0 10px 28px rgba(0, 80, 130, 0.08), 0 2px 6px rgba(0, 80, 130, 0.04) !important;
}

.rosma-theme .kt-card:hover,
.rosma-dashboard .rosma-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(0, 80, 130, 0.12), 0 4px 12px rgba(0, 80, 130, 0.06) !important;
}

.rosma-theme .kt-card-header {
    background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
}

.rosma-theme #sidebar .kt-menu-link {
    width: 85px !important;
    min-height: 70px !important;
}

.rosma-theme #sidebar .kt-menu-title {
    font-size: 11px !important;
    line-height: 1.15 !important;
    max-width: 80px;
    white-space: normal;
    text-align: center;
}

.rosma-theme #sidebar_menu_wrapper {
    padding-left: 12px !important;
    padding-right: 12px !important;
}
#zakazkyTable tbody tr {
    transition: background 0.15s ease;
}

#zakazkyTable tbody tr:hover {
    background: #f5fbff;
}
.kt-input,
.kt-select {
    height: 38px;
}

.kt-card {
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}