body {
    background-color: #f5f5f7;
    padding-top: 55px;
}

.loginBody {
    background-color: #f5f5f7;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 400px;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: #ffffff;
}

.login-card h2 {
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
}

.btn-login {
    width: 100%;
    border-radius: 10px;
    padding: 10px;
}

.top_navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.left_bar {
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex-basis: 100%;
    margin-right: 5px;
}

.left_bar li {
    width: 100%;
}

.form-control {
    border-radius: 10px;
}

/*.sidebar {*/
/*    min-height: 100vh;*/
/*    border-right: 1px solid #e5e5ea;*/
/*    background: #fff;*/
/*    padding: 1.5rem 1rem;*/
/*}*/

/*.sidebar .nav-link {*/
/*    color: #1d1d1f;*/
/*    border-radius: 8px;*/
/*    margin-bottom: 5px;*/
/*}*/

/*.sidebar .nav-link.active {*/
/*    background-color: #e8f0fe;*/
/*    color: #0d6efd;*/
/*    font-weight: 500;*/
/*}*/

/*.sidebar .nav-link:hover {*/
/*    background-color: #f2f2f2;*/
/*}*/
.sidebar {
    background-color: #121212;
    min-height: 100vh;
}

.sidebar .nav-link {
    color: #b0b0b0;
    padding: 10px 15px;
    border-radius: 8px;
    transition: 0.2s;
}

.sidebar .nav-link:hover {
    background-color: #1f1f1f;
    color: #ffffff;
}

.sidebar .nav-link.active {
    background-color: #2a2a2a;
    color: #ffffff;
}

.content-area {
    padding: 40px;
}

[data-bs-theme="dark"] .content-area {
    background-color: var(--bs-secondary-bg);
}

.navbar {
    border-bottom: 1px solid #e5e5ea;
}

.navbar-brand a {
    text-decoration: none;
    color: #0f1115;
}

.news-form-card {
    max-width: 800px;
    margin: 30px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: 0.3s ease;
}

.news-form-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* FORM GROUP */

.form-group {
    margin-bottom: 20px;
}

.form-group label,
.editor-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fafafa;
    transition: 0.25s ease;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0d6efd;
    background: #fff;
    box-shadow: 0 0 0 3px #0d6efd;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* CHECKBOX */

.form-check-custom {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.form-check-custom input {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    accent-color: #0d6efd;
    cursor: pointer;
}

.form-check-custom label {
    cursor: pointer;
    font-weight: 500;
}

/* BUTTON */

.btn-save {
    width: 100%;
    padding: 14px;
    background: #0d6efd;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-save:hover {
    background: #43a047;
    transform: translateY(-2px);
}

.btn-save:active {
    transform: translateY(0);
}

.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-back {
    display: inline-block;
    width: 100%;
    padding: 14px;
    background: #6c757d;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
    margin-top: 15px;
}

.btn-back:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-back:active {
    transform: translateY(0);
}

/*.news-form-wrapper {*/
/*    margin: 30px;*/
/*    background: #fff;*/
/*    padding: 30px;*/
/*    border-radius: 14px;*/
/*    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);*/
/*}*/

.form-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
}

/* TinyMCE */

.tox-tinymce {
    border-radius: 12px !important;
    border: 1px solid #ddd !important;
}

/* PUBLISH SWITCH */

.publish-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
    margin-right: 12px;
    cursor: pointer;
}

.publish-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-track {
    position: absolute;
    inset: 0;
    background: #dcdcdc;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.switch-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.publish-switch input:checked + .switch-track {
    background: linear-gradient(135deg, #4CAF50, #43a047);
}

.publish-switch input:checked + .switch-track .switch-thumb {
    transform: translateX(22px);
}

.publish-switch:hover .switch-track {
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}

.publish_status {
    margin-right: 10px;
}

/* Sticky blocks */

.video_add_block,
.accounts_header,
.news_add_block {
    background: #ffffff;
    width: 100%;
    padding: 5px;
    position: sticky;
    top: 0;
    z-index: 1020;
}

[data-bs-theme="dark"] .accounts_header {
    background-color: var(--bs-secondary-bg);
}

.accounts_header {
    display: flex;
    justify-content: space-between;
}

/* Table helpers */

table td.centered {
    text-align: center;
}

.td_role {
    min-width: 220px;
}

.action_button_list {
    min-width: 80px;
}

.td_action {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

/* Video cards */

.videoList .card:hover {
    transform: translateY(-4px);
    transition: .2s ease;
}

.video_thumbnail {
    width: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.3s ease;
}

.previewImage {
    max-height: 150px;
    max-width: 150px;
}

.user_avatar {
    height: 50px;
    width: 50px;
    border-radius: 50%;
}

.userLink {
    text-decoration: none;
    transition: 0.3s;
}

.userLink:hover {
    color: var(--bs-info) !important;
}

.active_user, .active_user td {
    background-color: #19875433;
}

.not_activate_user, .not_activate_user td {
    background-color: var(--bs-table-bg);
}

.disabled_user, .disabled_user td {
    background-color: #DC354533;
}

.video_block .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.video_block .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.video_thumb_wrapper {
    position: relative;
}

.video_thumb_wrapper:hover .video_thumbnail {
    transform: scale(1.05);
}

.video_overlay {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video_block:hover .video_overlay {
    opacity: 1;
}

.video_card_body {
    padding: 0.75rem 0.75rem 0.5rem 0.75rem;
}

.show_video {
    max-height: 90vh;
}

.is_sticky {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.publish-block {
    margin: 15px 0px;
}

.video-js {
    position: none;
}

.swal2-actions {
    flex-direction: row-reverse !important;
}

.pin_unpin_btn.unpined i {
    display: inline-block;
    transform: rotate(45deg);
    color: #BBB !important;
}


/*Notification Tab Styling*/
.notification-card {
    background: #161b22;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    margin-top: 20px;
}

/* HEADER */

.notification-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.notification-title {
    font-size: 22px;
    margin: 0;
    font-weight: 700;
    color: #fff;
}

.notification-subtitle {
    font-size: 14px;
    color: #8b949e;
    margin-top: 4px;
}

.notification-quick-settings {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
    border-bottom: 1px solid #CCC;
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.notify-item {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.notify-left {
    margin-right: 30px;
}

.notify-name {
    font-size: 18px;
    font-weight: bolder;
}

/* SWITCH */
.custom-switch {
    width: 52px !important;
    height: 28px;
    cursor: pointer;

}

.custom-switch:active, .custom-switch:focus {
    box-shadow: none;
}


.custom-switch:checked {
    background-color: #238636 !important;
    border-color: #0a5518 !important;
}

/* INACTIVE */

.custom-switch:not(:checked) {
    background-color: #343a40 !important;
    border-color: #495057 !important;
}

/* PILLS */

.custom-pills {
    gap: 10px;
}

.custom-pills .nav-link {
    border: none;
    border-radius: 12px;
    padding: 12px 18px;
    background: #21262d;
    color: #8b949e;
    font-weight: 600;
    transition: 0.2s;
}

.custom-pills .nav-link.active {
    background: #238636 !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(35, 134, 54, 0.4);
}

/* WEEK DAYS */

.weekdays-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.weekday {
    border: none;
    background: #21262d;
    color: #c9d1d9;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    font-weight: 700;
    transition: 0.2s;
}

.weekday:hover {
    transform: translateY(-2px);
}

.weekday.active {
    background: #238636;
    color: #fff;
    box-shadow: 0 5px 16px rgba(35, 134, 54, 0.35);
}

/* HOURS */

.hours-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.time-card {
    flex: 1;
    min-width: 180px;
    background: #21262d;
    border-radius: 18px;
    padding: 16px;
}

.time-card span {
    display: block;
    font-size: 13px;
    color: #8b949e;
    margin-bottom: 10px;
}

.time-card input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.time-separator {
    color: #8b949e;
    font-size: 24px;
    font-weight: 700;
}

/* MOBILE */

@media (max-width: 576px) {

    .notification-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .hours-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

}


/*SETTINGS  TAB*/

.settings-wrap {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.settings-block {
    background: #161b22;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 18px;
}

.block-title {
    font-size: 14px;
    font-weight: 700;
    color: #8b949e;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.settings-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px;
    background: #21262d;
    border-radius: 16px;
    transition: 0.2s;
}

.setting-item:hover {
    transform: translateY(-2px);
}

.setting-left {
    flex: 1;
}

.setting-name {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.setting-desc {
    color: #8b949e;
    font-size: 12px;
    margin-top: 4px;
}

.setting-right {
    min-width: 240px;
}

.custom-setting-select {
    width: 100%;
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    outline: none;
    transition: 0.2s;
}

.custom-setting-select:focus {
    border-color: #238636;
    box-shadow: 0 0 0 3px rgba(35, 134, 54, 0.2);
}

.custom-setting-select option {
    background: #161b22;
    color: #fff;
}

/* MOBILE */

@media (max-width: 768px) {

    .setting-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .setting-right {
        width: 100%;
        min-width: 100%;
    }

}

/* ORDERS  */
/* FILTERS */

.orders-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.order-filter-btn {
    border: none;
    background: #21262d;
    color: #c9d1d9;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}

.order-filter-btn:hover {
    transform: translateY(-2px);
}

.order-filter-btn.active {
    background: #238636;
    color: #fff;
    box-shadow: 0 4px 14px rgba(35, 134, 54, 0.35);
}

/* TABLE */

.orders-table-wrap {
    background: #161b22;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

#ordersTable {
    color: #fff;
    margin: 0 !important;
}

#ordersTable thead {
    background: #21262d;
}

#ordersTable thead th {
    border: none;
    color: #8b949e;
    font-size: 13px;
    font-weight: 600;
    padding: 18px;
}

#ordersTable tbody td {
    border-color: rgba(255, 255, 255, 0.05);
    padding: 18px;
    vertical-align: middle;
}

#ordersTable tbody tr {
    transition: 0.2s;
}

#ordersTable tbody tr:hover {
    background: #1c2128;
}

/* STATUS */

.order-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.order-status.pending {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.order-status.printing {
    background: rgba(13, 110, 253, 0.15);
    color: #58a6ff;
}

.order-status.delivered {
    background: rgba(35, 134, 54, 0.15);
    color: #3fb950;
}

/* BUTTON */

#orders {
    padding-top: 15px;
}

.btn-dark {
    background: #21262d !important;
    border: none !important;
    color: #fff !important;
    border-radius: 10px;
    padding: 8px 14px;
}

.btn-dark:hover {
    background: #30363d !important;
}

/* DATATABLE */

.dataTables_wrapper {
    padding: 18px;
}

.dataTables_filter input {
    background: #0d1117 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 8px 12px !important;
    margin-left: 10px !important;
}

.dataTables_length select {
    background: #0d1117 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 4px 8px !important;
}

.dataTables_info,
.dataTables_paginate {
    color: #8b949e !important;
    margin-top: 16px;
}

.paginate_button {
    color: #c9d1d9 !important;
}

/* MOBILE */

@media (max-width: 768px) {

    .orders-filters {
        overflow: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .order-filter-btn {
        white-space: nowrap;
    }

}