﻿.page-header-su {
    background: linear-gradient(135deg, #2d6baa 0%, #1a4a7a 100%);
    color: #fff;
    padding: 16px 22px;
    border-radius: 6px 6px 0 0;
    margin-bottom: 0;
}

    .page-header-su h3 {
        margin: 0;
        font-size: 1.35rem;
    }

.toolbar-su {
    background: #f4f7fb;
    border: 1px solid #d0dff0;
    border-top: none;
    padding: 12px 16px 10px;
    border-radius: 0 0 6px 6px;
    margin-bottom: 18px;
}

.tbl-su thead tr {
    background: #2d6baa;
    color: #fff;
}

.tbl-su thead th {
    border: none !important;
    vertical-align: middle;
}

.tbl-su tbody > tr > td {
    vertical-align: middle;
}

.tbl-su tbody > tr:hover {
    background: #eef4fb;
}

.ud-badge {
    display: inline-block;
    background: #e9f0f8;
    color: #2d6baa;
    border: 1px solid #b8d0ea;
    border-radius: 12px;
    padding: 2px 9px;
    font-size: .77rem;
    margin: 2px;
}
/* Toggle switch */
.tw {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

    .tw .tw-lbl {
        font-weight: 500;
        margin: 0;
        min-width: 150px;
    }

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    transition: .3s;
    border-radius: 26px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 3px;
        bottom: 3px;
        background: #fff;
        transition: .3s;
        border-radius: 50%;
    }

input:checked + .slider {
    background: #2d6baa;
}

    input:checked + .slider:before {
        transform: translateX(22px);
    }
/* Form panel */
.fp {
    border: 1px solid #b8d0ea;
    border-radius: 6px;
    margin-top: 18px;
    box-shadow: 0 2px 8px rgba(45,107,170,.10);
}

.fp-head {
    background: #eef4fb;
    border-bottom: 1px solid #b8d0ea;
    padding: 11px 16px;
    border-radius: 6px 6px 0 0;
    font-weight: 600;
    color: #2d6baa;
}

.fp-body {
    padding: 20px;
}

.ud-list {
    max-height: 210px;
    overflow-y: auto;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 8px;
    background: #fff;
}

.ud-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 4px;
    border-bottom: 1px solid #f0f0f0;
}

    .ud-item:last-child {
        border-bottom: none;
    }

.btn-act {
    width: 28px;
    height: 28px;
    padding: 0;
    line-height: 28px;
    text-align: center;
    border-radius: 4px;
}

.ud-badge-more {
    display: inline-block;
    background: #2d6baa;
    color: #fff;
    border: 1px solid #1a4a7a;
    border-radius: 12px;
    padding: 2px 9px;
    font-size: .77rem;
    margin: 2px;
    cursor: pointer;
    user-select: none;
}

    .ud-badge-more:hover {
        background: #1a4a7a;
    }

#modalBadgeList .modal-body {
    max-height: 400px;
    overflow-y: auto;
}

#modalBadgeList .ud-badge {
    font-size: .85rem;
    padding: 4px 11px;
    margin: 3px;
}
