body{
	background: #f6f6f6;
}

.navbar-vertical.navbar-expand-lg .navbar-brand{
    padding-left: 1.125rem;
}

.navbar .navbar-nav{
	padding-top: 0 !important;
}

.card{
	border-radius: 1rem;
	border: 1px solid var(--tblr-gray-100);
	box-shadow: none;
}

.page-body{
	margin-top: 1rem !important;
}

.page:not(.page-center) .container, .page:not(.page-center) .container-lg, .page:not(.page-center) .container-md, .page:not(.page-center) .container-sm, .page:not(.page-center) .container-xl, .page:not(.page-center) .container-xxl{
	max-width: 100% !important;
}

/* Enhanced Show Modal Styles */
.status-update-section {
    min-width: 400px;
}

.status-update-section .current-status {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-update-section .current-status .badge {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.status-update-section .form-group {
    margin-bottom: 0;
}

.status-update-section .form-control-sm {
    min-width: 150px;
    height: 32px;
    font-size: 13px;
}

.status-update-section .btn-sm {
    height: 32px;
    padding: 0.25rem 0.75rem;
    font-size: 13px;
}

.gap-3 {
    gap: 1rem !important;
}

.gap-2 {
    gap: 0.5rem !important;
}

.alert-overlay {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

#rejection-reason-section {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

#rejection-reason-section .form-group label {
    color: #dc3545;
    font-weight: 600;
}

#rejection-reason-section .form-control {
    border: 1px solid #dc3545;
}

#rejection-reason-section .form-control:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .status-update-section {
        min-width: 100%;
        margin-top: 10px;
    }
    
    .card-header.with-border {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .status-update-section .d-flex.align-items-center.gap-3 {
        flex-direction: column;
        align-items: flex-start !important;
        width: 100%;
    }
    
    .status-update-section .current-status {
        margin-bottom: 10px;
    }
    
    .status-update-section .form-control-sm {
        min-width: 120px;
    }
}

/* Enhanced card styling for show pages */
.card-header.with-border {
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 1.25rem;
}

.card-header .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
}

/* Show fields styling */
.card-body .col-md-6 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.card-body .col-md-6:first-child {
    border-right: 1px solid #dee2e6;
}

.card-body .mb-3 {
    margin-bottom: 1.5rem !important;
}

.card-body label.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0rem;
    font-size: 0.9rem;
}

.card-body .form-control-static {
    background-color: #f8f9fa;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid #e9ecef;
    min-height: 38px;
    display: block;
    line-height: 1.5;
}

/* For simple content without HTML blocks, center vertically */
.card-body .form-control-static.simple-content {
    display: flex;
    align-items: center;
}

/* Special styling for no value text */
.form-control-static.no-value {
    color: #6c757d !important;
    font-style: italic;
    background-color: #fff !important;
    border-style: dashed !important;
    display: flex;
    align-items: center;
}

/* Description field with HTML content */
.form-control-static p {
    margin-bottom: 0.5rem;
}

.form-control-static p:last-child {
    margin-bottom: 0;
}

.form-control-static ul, 
.form-control-static ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.form-control-static a {
    color: #007bff;
    text-decoration: underline;
}

.form-control-static strong {
    font-weight: 600;
}

.form-control-static em {
    font-style: italic;
}

/* Responsive adjustments for two-column layout */
@media (max-width: 992px) {
    .card-body .col-md-6:first-child {
        border-right: none;
        border-bottom: 1px solid #dee2e6;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .card-body .col-md-6 {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* Image previews in show */
.card-body img {
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    max-width: 100%;
    height: auto;
}

.card-body video {
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    max-width: 100%;
    height: auto;
}

/* Menu Badge Indicators */
.menu-badge {
    display: none;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    margin-left: 8px;
    padding: 2px 6px;
    min-width: 18px;
    height: 18px;
    line-height: 14px;
    border-radius: 50%;
}

/* Ensure the title container uses flexbox for proper alignment */
.x-backpack::menu-dropdown > .nav-link,
.x-backpack::menu-dropdown-item > .nav-link {
    display: flex !important;
    align-items: center;
}

/* Make the title slot span use flexbox for proper badge alignment */
.x-backpack::menu-dropdown > .nav-link > span,
.x-backpack::menu-dropdown-item > .nav-link > span {
    display: flex !important;
    align-items: center;
}

/* Target the specific span that contains the title text and badge */
.nav-link > span > span:first-child {
    display: flex !important;
    align-items: center;
}

/* Alternative targeting for the title span */
.dropdown-item > span,
.nav-link > span {
    display: flex !important;
    align-items: center;
}

.menu-badge.moderation {
    background-color: #ff6b6b;
    color: white;
}

.menu-badge.verification {
    background-color: #ffc107;
    color: #212529;
}

/* Ensure perfect circles */
.menu-badge:not(.rounded) {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}