﻿.btn-arpium-icon i {
    font-size: 1.2em;
}

table thead th {
    font-weight: 600 !important;
}

/* Additional custom styles for the overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn > i {
    padding-right: 0px !important
}

.header .header-brand, .aside, .aside .aside-menu {
    width: 210px;
}

@media(max-width: 991.98px) {
    .app-container {
        max-width: none;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

div.dt-container .dt-paging .dt-paging-button.current, div.dt-container .dt-paging .dt-paging-button.current:hover {
    background-color: #1B84FF !important;
    border-color: #1B84FF !important;
    color: #fff !important;
    border-radius: 5px !important;
    background-image: none !important;
}

#file-dropzone {
    background-color: #DBEAFE;
    min-height: 250px;
    border-radius: 10px;
    border: 1px dashed #000 !important;
}

/* Role Badges */
.role-badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.425rem;
}

/* Role Colors */
.role-admin {
    background-color: #F8285A;
    color: #ffffff;
}

.role-manager {
    background-color: #7239EA;
    color: #ffffff;
}

.role-editor {
    background-color: #F6C000;
    color: #000000;
}

.role-user {
    background-color: #17C653;
    color: #ffffff;
}

.role-guest {
    background-color: #78829D;
    color: #ffffff;
}

.role-moderator {
    background-color: #1B84FF;
    color: #ffffff;
}

.role-viewer {
    background-color: #F1F1F4;
    color: #071437;
}

.role-default {
    background-color: #252F4A;
    color: #ffffff;
}

/* Role Badge Sizes */
.role-badge-sm {
    padding: 0.25em 0.5em;
    font-size: 0.75rem;
}

.role-badge-lg {
    padding: 0.5em 0.85em;
    font-size: 1rem;
}

/* Role Badge with Icon */
.role-badge i {
    margin-right: 0.35em;
}

/* Hover effect for clickable role badges */
.role-badge.clickable {
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}

.role-badge.clickable:hover {
    opacity: 0.85;
}

/* Sidebar User Info Styles */
.app-sidebar-user {
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.05) 100%);
    transition: all 0.3s ease;
}

.app-sidebar-user .symbol {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.app-sidebar-user .symbol:hover {
    transform: scale(1.05);
}

.app-sidebar-user .badge {
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border-radius: 20px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.app-sidebar-user .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Sidebar minimize state - compact view with only avatar */
[data-kt-app-sidebar-minimize="on"] .app-sidebar-user {
    padding: 1rem 0 !important;
    min-height: auto !important;
}

[data-kt-app-sidebar-minimize="on"] .app-sidebar-user .symbol {
    margin-bottom: 0 !important;
    margin-left: auto;
    margin-right: auto;
}

[data-kt-app-sidebar-minimize="on"] .app-sidebar-user .text-white.fw-bold.fs-6 {
    display: none !important;
}

[data-kt-app-sidebar-minimize="on"] .app-sidebar-user .d-flex.align-items-center.justify-content-center {
    display: none !important;
}

[data-kt-app-sidebar-minimize="on"] .app-sidebar-user .badge {
    display: none !important;
}

/* Better visual for minimized state */
body[data-kt-app-sidebar-minimize="on"] .app-sidebar {
    width: 75px !important;
}

body[data-kt-app-sidebar-minimize="on"] .app-sidebar-user {
    padding: 1rem 0.25rem !important;
}

body[data-kt-app-sidebar-minimize="on"] .app-sidebar-user .symbol {
    width: 40px !important;
    height: 40px !important;
}

body[data-kt-app-sidebar-minimize="on"] .app-sidebar-user .symbol .symbol-label {
    font-size: 1rem !important;
}
