/* Stylesheet related to:
 - the layout of a entity detail: with sidebar and contents (layout, sidebar & content)
 - TelerikGrid.DetailTemplate
*/

/* Layout */
.detail-layout {
    display: flex;
    height: 90vh;
    border-radius: 12px;
    margin-top: 10px;
}

/* Sidebar */
.detail-sideBar {
    border-radius: 10px;
    width: 280px;
    padding: 10px;
    background: #F4F4F4;
    overflow-y: auto;
    height: 98%;
}

/* Content */
.detail-content {
    overflow-y: auto;
    flex: 1;
    padding-left: 10px;
    padding-top: 10px;
    padding-right: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-left: 10px;
}

/* Sidebar badge */
.detail-sidebar-badge {
    background-color: #e0e0e0;
    color: #333;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 11px;
    margin-left: 2px;
}

.detail-sidebar-badge-success {
    background-color: #198754;
    color: #fff;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 11px;
    margin-left: 2px;
}

.detail-sidebar-badge-danger {
    background-color: #dc3545;
    color: #fff;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 11px;
    margin-left: 2px;
}

.detail-sidebar-badge-warning {
    background-color: #ffc107;
    color: #212529;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 11px;
    margin-left: 2px;
}

/* Sidebar list */
.detail-sidebar-ul {
    list-style: none;
    padding: 10px 0 0;
}

.detail-sidebar-li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px;
    cursor: pointer;
    border-radius: 12px;
    transition: background 0.3s;
    margin: 5px 5px;
}

.detail-sidebar-li i {
    min-width: 20px;
    text-align: center;
}

.detail-sidebar-li.active {
    font-weight: bold;
    background: #e0e0e0;
    border-radius: 12px;
    padding: 10px 15px;
}


