body.overflow-hidden,
body.admin-body {
    overflow: hidden;
}

.admin-content {
    margin-top: 72px;
    height: calc(100vh - 72px);
}

.dashboard-container {
    height: 100%;
}

.dashboard-side-menu {
    width: 250px;
    min-width: 250px;
    overflow-y: auto;
    height: 100%;
    flex-shrink: 0;
    background: #1a1d21 !important;
    border-color: #2d3238 !important;
}

.admin-nav-link {
    border-radius: 8px !important;
    padding: 0.6rem 0.85rem !important;
    margin-bottom: 0.25rem;
    transition: background 0.15s ease, color 0.15s ease;
    color: #adb5bd !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
}

.admin-nav-link:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #fff !important;
}

.admin-nav-link.active {
    background: rgba(234, 51, 35, 0.15) !important;
    color: #fff !important;
    border-left: 3px solid #EA3323;
    padding-left: calc(0.85rem - 3px) !important;
}

.admin-nav-link.active i {
    color: #EA3323;
}

.admin-nav-sublink {
    color: #9aa0a6 !important;
    font-size: 0.85rem;
    padding: 0.45rem 0.85rem 0.45rem 2rem !important;
    border-radius: 6px;
    display: block;
    transition: background 0.15s ease, color 0.15s ease;
}

.admin-nav-sublink:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff !important;
}

.admin-nav-sublink.active {
    color: #EA3323 !important;
    font-weight: 600;
}

.admin-sidebar-footer {
    border-color: #2d3238 !important;
}

.admin-sidebar-footer .admin-nav-link {
    color: #EA3323 !important;
}

.admin-sidebar-footer .admin-nav-link:hover {
    background: rgba(234, 51, 35, 0.1) !important;
}

.scrollable-content {
    overflow-y: auto;
    overflow-x: hidden;
    min-width: 0;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1030;
}

.sidebar-toggle {
    text-decoration: none;
}

.sidebar-toggle:hover,
.sidebar-toggle:focus {
    color: #fff;
}

@media (min-width: 768px) {
    .admin-content {
        margin-top: 86px;
        height: calc(100vh - 86px);
    }
}

@media (max-width: 991.98px) {
    body.admin-body.sidebar-open {
        overflow: hidden;
    }

    .dashboard-side-menu {
        position: fixed;
        top: 72px;
        left: 0;
        bottom: 0;
        z-index: 1040;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    body.admin-body.sidebar-open .dashboard-side-menu {
        transform: translateX(0);
    }

    body.admin-body.sidebar-open .sidebar-overlay {
        display: block;
    }

    .dashboard-container {
        flex-direction: column;
    }
}

.breadcrumb {
    flex-wrap: wrap;
}

.container-fluid > .d-flex h2 {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
}

@media (min-width: 992px) {
    .sidebar-overlay {
        display: none !important;
    }
}

.custom-side-dropdown .dropdown-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #1a1e21;
    border-radius: 6px;
}

.custom-side-dropdown .dropdown-items a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.custom-side-dropdown .caret-icon {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.custom-side-dropdown.open .dropdown-items {
    max-height: 200px;
    margin-top: 5px;
}

.custom-side-dropdown.open .caret-icon {
    transform: rotate(180deg);
}

.dropdown-trigger:focus {
    box-shadow: none !important;
}

.cursor-pointer {
    cursor: pointer;
}

.ralph-red-text {
    color: #EA3323 !important;
}

.ralph-red {
    background-color: #EA3323 !important;
}

.ralph-button {
    background-color: #EA3323 !important;
    color: white !important;
    font-size: 18px;
    border-radius: 6px;
}

.ralph-button:hover {
    background-color: #bd2316 !important;
}

.header-text {
    color: white !important;
    font-size: 22px;
}

.header-text:hover {
    color: #EA3323 !important;
}

.medium-text {
    color: white !important;
    font-size: 16px;
}

.medium-text:hover {
    color: #EA3323 !important;
}




.hover-bounce {
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

.navbar-margin-home {
    margin-top: 110px !important;
}

.navbar-margin-admin {
    margin-top: 100px !important;
}

.form-check-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.bg-ralph-red {
    background-color: #EA3323 !important;
    color: white;
}

.btn-ralph-red {
    background-color: #EA3323;
    color: white;
    border: none;
}

.btn-ralph-red:hover {
    background-color: #bd2316;
    color: white;
}

.btn-outline-ralph {
    color: #EA3323;
    border: 1px solid #C41230;
    background-color: transparent;
}

.btn-outline-ralph:hover {
    background-color: #bd2316;
    color: white;
}

.action {
    font-size: 20px;
    padding: 8px;
    border-radius: 5px;
    color: white;
    text-align: center;
    text-decoration: none;
}

.action-return {
    background-color: #28a745;
    max-width: 180px;
    max-height: 52px;
    width: 100%;
    height: 100%;
}

.optional-text {
    font-size: 12px;
 }

.thumbnail-image {
    max-width: 100%;
    width: 100%;
    max-height: 180px;
    height: auto;
    object-fit: cover;
}

@media (min-width: 768px) {
    .thumbnail-image {
        width: 280px;
        max-width: 300px;
        height: 180px;
    }
}