﻿.aside {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.panel-default {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.badge-status-w {
    background: #fff7e0;
    color: #a97900;
    border: 1px solid #ffe29e;
}

.badge-status-c {
    background: #e9f3ff;
    color: #0a4fa5;
    border: 1px solid #cfe3ff;
}

.badge-status-p {
    background: #e8f7ff;
    color: #027ba3;
    border: 1px solid #c6ecff;
}

.badge-status-s {
    background: #e6fff1;
    color: #008744;
    border: 1px solid #b9f5d3;
}

.badge-status-f {
    background: #e6fff9;
    color: #007f6c;
    border: 1px solid #b3f0de;
}

.badge-status-d {
    background: #ecfff2;
    color: #157f1f;
    border: 1px solid #c2f2cf;
}

.badge-status-r {
    background: #fff1e6;
    color: #b15200;
    border: 1px solid #ffd2ad;
}

.badge-status-x {
    background: #ffe9e9;
    color: #b60000;
    border: 1px solid #ffbcbc;
}

.badge-pay-p {
    background: #e6fff1;
    color: #027a3c;
    border: 1px solid #b9f5d3;
}

.badge-pay-w {
    background: #fff7e0;
    color: #a97900;
    border: 1px solid #ffe29e;
}


.panel-body .row {
    margin-bottom: 5px;
}

.row, .input-group {
    align-items: center;
}

.k-invalid {
    border-color: #d51923 !important;
    border-width: 1px !important;
    border-style: solid !important;
}

label {
    font-weight: 500;
    margin: 0;
    padding: 0;
    line-height: 31px;
    color: #003964;
}

.form-control {
    border-radius: 3px;
    border: 1px solid #d1d1d1;
    padding: 0.4rem 0.5rem;
    font-size: 15px;
}

.k-window.k-widget * {
    box-sizing: border-box;
}

.account-sidebar {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.account-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-menu-item {
    border-bottom: 1px solid #f0f0f0;
}

    .account-menu-item:last-child {
        border-bottom: none;
    }

.account-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

    .account-menu-header:hover {
        background: #f8f9fa;
    }

    .account-menu-header.active {
        background: #f8f9fa;
    }

.account-menu-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.account-menu-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    flex-shrink: 0;
}

.icon-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.icon-transaction {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.account-menu-arrow {
    color: #999;
    transition: transform 0.3s;
    font-size: 14px;
}

.account-menu-item.expanded .account-menu-arrow {
    transform: rotate(90deg);
}

.account-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fafbfc;
}

.account-menu-item.expanded .account-submenu {
    max-height: 500px;
}

.account-submenu-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.account-submenu-item {
    margin: 0;
}

.account-submenu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px 12px 52px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
    position: relative;
}

    .account-submenu-link:before {
        content: '';
        position: absolute;
        left: 20px;
        width: 20px;
        height: 1px;
        background: #ddd;
    }

    .account-submenu-link i {
        font-size: 13px;
        color: #999;
        width: 16px;
        text-align: center;
    }

    .account-submenu-link:hover {
        background: white;
        color: #fe0000;
        padding-left: 56px;
    }

        .account-submenu-link:hover i {
            color: #fe0000;
        }

    .account-submenu-link.active {
        background: white;
        color: #fe0000;
        font-weight: 600;
        padding-left: 56px;
        border-left: 3px solid #fe0000;
    }

        .account-submenu-link.active i {
            color: #fe0000;
        }



.account-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 20px;
    margin-bottom: 25px;
}

.account-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.account-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.account-search-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

    .account-search-group input[type="text"],
    .account-search-group input[type="search"],
    .account-search-group input[type="tel"] {
        min-width: 220px;
        max-width: 320px;
        border-radius: 20px;
        border: 1px solid #ddd;
        padding: 6px 12px;
        font-size: 13px;
        outline: none;
        transition: all 0.2s;
    }

    .account-search-group input:focus {
        border-color: #337ab7;
        box-shadow: 0 0 0 2px rgba(51, 122, 183, 0.15);
    }

    .account-search-group .filter-control {
        min-width: 130px;
    }

.account-btn-add {
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
}

.account-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.account-table-wrapper {
    max-height: 520px;
    min-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
}

    .account-table,
    .account-table-wrapper .k-grid table {
        width: 100%;
        border-collapse: collapse;
    }

        .account-table thead tr,
        .account-table-wrapper .k-grid-header table thead tr {
            background: #fafbfc;
        }

        .account-table thead th,
        .account-table-wrapper .k-grid-header table thead th {
            padding: 12px 10px;
            height: 44px;
            font-weight: 700;
            font-size: 13px;
            color: #666;
            text-transform: uppercase;
            vertical-align: middle;
            border-bottom: 2px solid #ececec;
        }

        .account-table thead th {
            position: sticky;
            top: 0;
            z-index: 2;
            background: #fafbfc;
        }

        .account-table tbody td,
        .account-table-wrapper .k-grid-content table tbody td {
            padding: 10px 10px;
            vertical-align: middle;
            border-bottom: 1px solid #f0f0f0;
            font-size: 13px;
        }

        .account-table tbody tr:hover,
        .account-table-wrapper .k-grid-content table tbody tr:hover {
            background: #f9f9f9;
        }





.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

    .status-badge i {
        margin-right: 4px;
    }

.status-success {
    background: #e6f7e9;
    color: #2e7d32;
}

.status-warning {
    background: #fff7e6;
    color: #d48806;
}

.status-danger {
    background: #fdecea;
    color: #c62828;
}

.status-info {
    background: #e6f4ff;
    color: #1d4ed8;
}

.account-pagination {
    margin-top: 15px;
    text-align: right;
}

    .account-pagination .pagination {
        margin: 0;
    }

        .account-pagination .pagination > li > a {
            border-radius: 3px;
            padding: 5px 9px;
            min-width: 30px;
            text-align: center;
            margin: 0 3px;
            border: 1px solid #ddd;
            color: #666;
        }

            .account-pagination .pagination > li > a.active {
                color: #fff;
                background-color: #fe0000;
                border: 1px solid #f7f7f7;
            }

        .account-pagination .pagination > li.disabled > a {
            color: #ccc;
        }

.btn-group-actions {
    position: relative;
}

    .btn-group-actions .btn {
        padding: 4px 8px;
        border-radius: 4px;
    }

    .btn-group-actions .dropdown-menu {
        font-size: 13px;
        min-width: 160px;
        right: 0;
        left: auto;
    }

        .btn-group-actions .dropdown-menu li a {
            padding: 6px 12px;
        }


@media (max-width: 768px) {
    .account-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .account-pagination {
        text-align: center;
    }
}

.account-filter-bar {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 8px 10px;
    border-radius: 10px;
    background: #f7f9fc;
    border: 1px solid #edf0f5;
}

.account-filter-item .form-control {
    font-size: 13px;
    border-radius: 999px;
}

.account-filter-bar .k-dropdown,
.account-filter-bar .k-datepicker {
    width: 100% !important;
}

.account-filter-bar .k-dropdown-wrap,
.account-filter-bar .k-picker-wrap {
    border-radius: 999px !important;
    border-color: #d9dfe8;
    min-height: 34px;
}

.account-filter-bar .k-input {
    font-size: 13px;
}

.account-filter-bar .account-btn-add {
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}
