/* ====== Global Theme ====== */
body {
    background-color: #f9f9f9;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

a {
    text-decoration: none;
}

/* ====== Sidebar ====== */
.sidebar {
    background: #ffffff;
    width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    z-index: 1000;
}

.sidebar .widget {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar .widget-menu {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.sidebar .widget-menu li {
    position: relative;
}

.sidebar .widget-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #333;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.sidebar .widget-menu a i {
    margin-right: 10px;
    font-size: 16px;
}

.sidebar .widget-menu a:hover,
.sidebar .widget-menu a.active {
    background-color: #FF7A00;
    color: #fff;
}

.sidebar .widget-menu a .arrow {
    margin-left: auto;
    transition: transform 0.2s ease;
}

.sidebar .widget-menu a[aria-expanded="true"] .arrow {
    transform: rotate(90deg);
}

/* ====== Submenu ====== */
.sidebar .collapse {
    background-color: #fff;
    padding-left: 10px;
    border-left: 3px solid #FF7A00;
    transition: 0.3s ease;
}

.sidebar .collapse a {
    font-size: 14px;
    padding: 8px 20px;
    color: #555;
}

.sidebar .collapse a:hover {
    background-color: rgba(255, 122, 0, 0.1);
    color: #FF7A00;
}

/* ====== 3rd Level (Subcatalog) ====== */
.sidebar .collapse .collapse {
    padding-left: 20px;
    border-left: 2px dashed #FF7A00;
}

.sidebar .collapse .collapse a {
    font-size: 13px;
    color: #666;
}

.sidebar .collapse .collapse a:hover {
    color: #FF7A00;
}

/* ====== Scrollbar ====== */
.sidebar::-webkit-scrollbar {
    width: 6px;
}
.sidebar::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

/* ====== Buttons ====== */
.btn-orange {
    background-color: #FF7A00;
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    padding: 10px 16px;
    transition: 0.2s ease;
}
.btn-orange:hover {
    background-color: #e86f00;
}

/* ====== Cards / Modules ====== */
.module {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 20px;
}

.module-head h3 {
    color: #FF7A00;
    font-weight: 600;
}

.alert-success {
    background-color: rgba(255, 122, 0, 0.1);
    border: 1px solid #FF7A00;
    color: #FF7A00;
}
