/* Custom AdminLTE 3 adjustments for better sizing */

/* Reduce content header size */
.content-header h1 {
    font-size: 1.25rem !important;
    font-weight: 500 !important;
}

.content-header {
    padding: 0.5rem 0.5rem !important;
}



/* Reduce card titles */
.card-title {
    font-size: 1rem !important;
    font-weight: 500 !important;
}

.card-header {
    padding: 0.5rem 0.75rem !important;
}

/* Reduce form labels */
.form-group label {
    font-size: 0.875rem !important;
}

/* Reduce form controls */
.form-control {
    font-size: 0.875rem !important;
    padding: 0.375rem 0.75rem !important;
}

/* Reduce button sizes */
.btn {
    font-size: 0.65rem !important;
    padding: 0.12rem 0.3rem !important;
    line-height: 1.2 !important;
}

.btn-lg {
    font-size: 0.7rem !important;
    padding: 0.2rem 0.4rem !important;
}

.btn-sm {
    font-size: 0.6rem !important;
    padding: 0.1rem 0.2rem !important;
}

.btn-xs {
    font-size: 0.55rem !important;
    padding: 0.06rem 0.15rem !important;
}

/* Icons in buttons */
.btn i,
.btn .fa,
.btn .fas,
.btn .far {
    font-size: 0.65rem !important;
}

/* Icon selector - Font Awesome 5 compatibility */
select#icon {
    font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands', Arial, sans-serif !important;
    font-weight: 900 !important;
}

select#icon option {
    font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands', Arial, sans-serif !important;
    font-weight: 900 !important;
}

/* Menu headers - estilizar separadores */
.nav-sidebar .nav-header {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 0.75rem 1rem 0.5rem 1rem !important;
    margin-top: 0.5rem !important;
    color: #6c757d !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.nav-sidebar .nav-header:first-child {
    margin-top: 0 !important;
    border-top: none !important;
}

/* Ocultar headers vacíos */
.nav-sidebar .nav-header:empty,
.nav-sidebar li.nav-header:empty {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

/* Sidebar dark - ajustar color de headers */
.sidebar-dark-primary .nav-sidebar .nav-header {
    color: #adb5bd !important;
    border-top-color: rgba(255, 255, 255, 0.15) !important;
}

/* Reduce table text */
.table {
    font-size: 0.875rem !important;
}

/* Reduce alerts */
.alert {
    font-size: 0.875rem !important;
}

/* Adjust card padding */
.card-body {
    padding: 1rem !important;
}

/* Reduce breadcrumb size */
.breadcrumb {
    font-size: 0.875rem !important;
}

/* Reduce avatar/user image sizes */
.user-panel .image img,
.img-circle,
.img-rounded,
.user-image,
.direct-chat-img {
    width: 2rem !important;
    height: 2rem !important;
    max-width: 2rem !important;
    max-height: 2rem !important;
}

/* Avatar in comments - even smaller */
.comment-img,
.direct-chat-img {
    width: 1.5rem !important;
    height: 1.5rem !important;
    max-width: 1.5rem !important;
    max-height: 1.5rem !important;
}

/* User panel in sidebar */
.user-panel {
    padding: 0.5rem !important;
}

.user-panel .info {
    padding-left: 0.5rem !important;
}

/* Chat box comments - reduce avatar size */
.chat .item img,
.chat .item img.online,
.chat .item img.offline {
    width: 2rem !important;
    height: 2rem !important;
    max-width: 2rem !important;
    max-height: 2rem !important;
}

.chat .item {
    padding: 0.5rem !important;
}

.chat .item .message {
    margin-left: 2.5rem !important;
}

.chat .direct-chat-text {
    margin-left: 2.5rem !important;
    font-size: 0.85rem !important;
}

/* Menu admin builder - fix button layout */
.nested-list-content {
    position: relative !important;
    padding-right: 150px !important;
}

.nested-list-content .pull-right {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    gap: 0.3rem !important;
}

.nested-list-content .pull-right .btn {
    white-space: nowrap !important;
    margin: 0 !important;
}

.dd-handle {
    height: auto !important;
    padding: 0.3rem 0.5rem !important;
}

.nested-list-handle {
    padding: 0.3rem !important;
}

.movil{
    display: none;
}

@media (max-width: 992px) {
    .movil{
        display: block;
    }
    
}