body {
    background: #f6f7fb;
    font-family: "Inter", Arial, sans-serif;
}

.sidebar {
    width: 250px;
    background: #1f2937;
    min-height: 100vh;
    position: fixed;
}

.sidebar a {
    color: #cbd5e1;
    display: block;
    padding: 12px 16px;
    text-decoration: none;
}

.sidebar a:hover {
    background: #111827;
    color: #fff;
}

.content {
    margin-left: 250px;
    padding: 20px;
}

.list-group-item.sortable-row {
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.list-group-item.sortable-row:hover {
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
    transition: all 0.15s ease;
}

.drag-handle i {
    font-size: 1.1rem;
}

.menu-toggle {
    position: relative;
    z-index: 800;
    padding: 8px 14px;
    border-radius: 8px;
}

#menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 900;
}

#menu-overlay.active {
    display: block;
}


.feedback-ticker {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #1f2937;
    border-radius: 10px;
    padding: 10px 0;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.20);
}

.ticker-track {
    display: flex;
    gap: 50px;
    white-space: nowrap;
    animation: tickerMove 18s linear infinite;
}

.ticker-item {
    color: #fff;
    font-size: 16px;
    display: inline-block;
    padding: 0 10px;
    opacity: 0.9;
}

@keyframes tickerMove {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-120%);
    }
}

.sidebar {
    padding-bottom: 190px;
}

.main-firm-card {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 12px 12px 10px;
    background: #111827;
    border-top: 1px solid rgba(148, 163, 184, 0.20);
}

.main-firm-top {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.main-firm-logo {
    height: 70px;
    object-fit: cover;
}

.main-firm-title {
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.1;
}

.main-firm-sub {
    color: #94a3b8;
    font-weight: 600;
    font-size: 12px;
    margin-top: 2px;
}

.main-firm-info {
    margin-top: 10px;
    color: #cbd5e1;
    font-size: 15px;
    display: grid;
    gap: 6px;
}

.main-firm-info i {
    width: 15px;
    margin-right: 6px;
    opacity: 0.9;
}

.main-firm-copy {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed rgba(148, 163, 184, 0.25);
    color: #94a3b8;
    font-size: 12px;
}

.login-body {
    height: 100vh;
    background: #f1f5f9;
}

.login-card {
    border: 0;
    border-radius: 14px;
    overflow: hidden;
}

.login-mgmt {
    background: #111827;
    padding: 22px 18px 14px;
    text-align: center;
}

.login-mgmt img {
    height: 84px;
    object-fit: contain;
    padding: 10px;
}

.login-mgmt-title {
    margin-top: 12px;
    font-weight: 800;
    font-size: 18px;
    color: #fff;
    letter-spacing: .2px;
}

.login-mgmt-sub {
    margin-top: 4px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
}

.login-footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: -250px;
        height: 100vh;
        width: 250px;
        z-index: 1000;
        transition: left 0.3s;
    }

    .sidebar.active {
        left: 0;
    }

    .content {
        margin-left: 0 !important;
        padding: 15px;
    }

    .table-responsive table.table {
        border: 0;
    }

    .table-responsive table.table thead {
        display: none;
    }

    .table-responsive table.table tbody tr {
        display: block;
        margin-bottom: 1rem;
        background: #ffffff;
        border-radius: 0.75rem;
        padding: 0.75rem;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .table-responsive table.table tbody tr.table-secondary {
        box-shadow: none;
        border-radius: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .table-responsive table.table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.35rem 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .table-responsive table.table tbody td:last-child {
        border-bottom: none;
    }

    .table-responsive table.table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        margin-right: 0.75rem;
        font-size: 0.875rem;
        color: #6b7280;
    }

    .table-responsive table.table tbody td.no-label::before {
        content: "";
    }

    .ticker-item {
        font-size: 14px;
    }

    .action-buttons {
        align-items: stretch;
        width: 100%;
    }

    .action-buttons>a.btn,
    .action-buttons>form {
        width: 100%;
    }

    .action-buttons>form .btn {
        width: 100%;
    }

    .action-buttons.action-buttons-mobile-full {
        width: 100% !important;
        align-items: stretch;
    }

    .action-buttons.action-buttons-mobile-full>a.btn,
    .action-buttons.action-buttons-mobile-full>form {
        flex: 1 1 0;
        width: auto !important;
    }

    .action-buttons.action-buttons-mobile-full>form .btn {
        width: 100% !important;
    }
}