/* Custom Styles for Papyrus UI Admin Panel */

body {
    background-color: #f8f9fa;
    font-family: 'Inter', sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Base Wrapper */
#wrapper {
    min-height: 100vh;
}

/* Sidebar Styling */
#sidebar-wrapper {
    width: 260px;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow-y: auto;
    z-index: 1000;
}

/* Offcanvas Sidebar adjustments */
.offcanvas {
    width: 280px !important;
}

/* Navigation Links */
.nav-link {
    color: #6c757d;
    transition: all 0.2s ease-in-out;
    font-weight: 500;
}

.nav-link:hover {
    color: #343a40;
    background-color: #f1f3f5;
}

.nav-link.active {
    background-color: #e3f2fd !important;
    color: #0d6efd !important;
}

/* Logout Button */
.logout {
    opacity: 0.8;
}

.logout:hover {
    opacity: 1;
}

/* Transition Utils */
.transition-all {
    transition: all 0.3s ease;
}

.transition-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.transition-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

.hover-bg-light:hover {
    background-color: #f8f9fa;
    cursor: pointer;
}

.cursor-pointer {
    cursor: pointer;
}

/* Hide scrollbar for sidebar */
#sidebar-wrapper::-webkit-scrollbar {
    width: 4px;
}
#sidebar-wrapper::-webkit-scrollbar-thumb {
    background: #e9ecef; 
    border-radius: 4px;
}
#sidebar-wrapper:hover::-webkit-scrollbar-thumb {
    background: #ced4da; 
}

/* Input focus override */
.form-control:focus {
    box-shadow: none;
}

/* Avatar Group */
.avatar-group {
    display: flex;
    align-items: center;
}
.avatar-group .avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e3f2fd;
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    border: 2px solid #fff;
    margin-right: -8px;
    position: relative;
    z-index: 1;
}
.avatar-group .avatar-circle:nth-child(1) { z-index: 4; }
.avatar-group .avatar-circle:nth-child(2) { z-index: 3; }
.avatar-group .avatar-circle:nth-child(3) { z-index: 2; }
.avatar-group .avatar-circle.more {
    background-color: #f1f3f5;
    color: #6c757d;
}

/* Table Hover Action Buttons */
.action-buttons {
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
}

tr:hover .action-buttons {
    opacity: 1;
    visibility: visible;
}

/* Role Card Hover Styles */
.role-card {
    border: 1px solid transparent !important;
    transition: all 0.3s ease;
}
.role-card:hover {
    border-color: #0d6efd !important;
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.1) !important;
}
.role-title {
    transition: color 0.3s ease;
}
.role-card:hover .role-title {
    color: #0d6efd !important;
}

/* Filter Pill for Logs Page */
.filter-pill {
    border-radius: 50rem;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #e9ecef;
    color: #6c757d;
    background-color: transparent;
    transition: all 0.2s ease;
}
.filter-pill:hover {
    background-color: #f8f9fa;
    color: #343a40;
}
.filter-pill.active {
    background-color: #1a1d20;
    color: #fff;
    border-color: #1a1d20;
}

.logo-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
}

.login-wrapper {
    width: 100%;
    max-width: 400px;
}