/* HEXNET CMS — App-specific styles */

/* Table hover style matching wireframes */
.ch-table-hover tbody tr:hover {
    background-color: rgba(105, 108, 255, 0.04);
    cursor: default;
}

/* Club/company switcher button */
.ch-club-btn {
    background: transparent;
    border: 1px solid rgba(105, 108, 255, 0.3);
    color: var(--bs-body-color);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.35rem 0.75rem;
    border-radius: 0.375rem;
}
.ch-club-btn:hover {
    background: rgba(105, 108, 255, 0.08);
}
.ch-club-name {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

/* Modern theme body override */
body.ch-theme-modern {
    font-size: 0.9rem;
}

/* Avatar initials */
.avatar-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

/* Badge labels */
.bg-label-success  { background-color: rgba(113, 221, 55, 0.16)  !important; color: #71dd37 !important; }
.bg-label-warning  { background-color: rgba(255, 171, 0, 0.16)    !important; color: #ffab00 !important; }
.bg-label-danger   { background-color: rgba(255, 62, 29, 0.16)    !important; color: #ff3e1d !important; }
.bg-label-primary  { background-color: rgba(105, 108, 255, 0.16)  !important; color: #696cff !important; }
.bg-label-info     { background-color: rgba(3, 195, 236, 0.16)    !important; color: #03c3ec !important; }
.bg-label-secondary{ background-color: rgba(133, 146, 163, 0.16)  !important; color: #8592a3 !important; }

/* Quill editor */
.ql-container.ql-snow {
    border: 1px solid var(--bs-border-color);
    border-radius: 0 0 0.375rem 0.375rem;
}
.ql-toolbar.ql-snow {
    border: 1px solid var(--bs-border-color);
    border-radius: 0.375rem 0.375rem 0 0;
}

/* Page header consistency */
.container-p-y {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

/* Card datatable top border radius fix */
.card-datatable .table {
    margin-bottom: 0;
}

/* Sidebar: gap between logo and first nav item (fallback before PS initializes) */
#layout-menu .menu-inner.py-1 {
    margin-top: 22px;
}
