@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

body {
    background-color: #fcfcfc;
    font-family: 'Inter', sans-serif;
    color: #4a4a4a;
    font-size: 0.85rem;
    /* Reduced base font size */
}

/* Sidebar overrides */
.sidebar-container {
    background-color: #ffffff;
    border-right: 1px solid #f0f0f0;
    width: 220px !important;
    /* Slightly narrower sidebar */
}

.nav-link {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.4rem 0.5rem;
    /* Tighter links */
}

.nav-link i {
    font-size: 1rem !important;
    /* Smaller icons */
}

.nav-link:hover,
.nav-link.active {
    background-color: #f8f9fa;
    color: #000000;
}

/* Compact Card overrides */
/* Utility classes for cards later if needed */
.card {
    border: 1px solid #f0f0f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    margin-bottom: 1rem !important;
    /* Reduced margin */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-shadow:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    background-color: #ffffff;
    cursor: pointer;
}

.card-header {
    background-color: #ffffff;
    border-bottom: 1px solid #f5f5f5;
    font-weight: 600;
    padding: 0.5rem 1rem;
    /* Compact header */
    font-size: 0.9rem;
}

.card-body {
    padding: 1rem;
    /* Compact body */
}

/* Compact Table overrides */
.table {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.table th {
    background-color: #fafafa;
    color: #888;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
}

.table td {
    padding: 0.4rem 1rem;
    vertical-align: middle;
}

/* Button overrides - smaller default */
.btn {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
}

.btn-primary {
    background-color: #333;
    border-color: #333;
}

.btn-primary:hover {
    background-color: #000;
    border-color: #000;
}

.min-vh-100 {
    min-height: 100vh !important;
}

/* Typography adjustments */
h1,
.h1 {
    font-size: 1.5rem;
}

h2,
.h2 {
    font-size: 1.25rem;
}

h3,
.h3 {
    font-size: 1.1rem;
}

h4,
.h4 {
    font-size: 1rem;
}

h5,
.h5 {
    font-size: 0.9rem;
}

h6,
.h6 {
    font-size: 0.85rem;
}

.small,
small {
    font-size: 0.75rem;
}

.center-flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Utility for activity log truncation */
.text-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: pre-wrap;
    /* Keep line breaks but clamp */
}

.text-expanded {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    white-space: pre-wrap;
}

.cursor-pointer {
    cursor: pointer;
}

/* Remove sidebar collapse transition */
.sidebar-container .collapsing {
    transition: none !important;
}


.sidebar-container .collapse {
    transition: none !important;
}

/* Sidebar sub-link indentation */
.sidebar-container .collapse .nav-link {
    margin-left: 2px;
}