
.custom-admin-background {
    background: linear-gradient(
        to right,
        #111827,
        #39548e,
        #4f75c5,
        #5d8ae9
    );
}

.modal .modal-dialog.modal-xlg {
    width: 800px !important;
}

.modal-xxlg {
    width: 1200px !important;
}

.modal-xxlg > .modal-content {
    max-width: 100% !important;
}

/* Style the Image Used to Trigger the Modal */
.myImg {
    max-height: 170px;
    width: auto;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.myImg:hover {
    opacity: 0.7;
}


/* The Modal (background) */
.modal_img {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.navbar {
    padding: 0 !important;
}

.user-panel {
    display: flex;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }
    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close_img_modal {
    position: absolute;
    top: 40px;
    right: 35px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
}

.close_img_modal:hover,
.close_img_modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.sort-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sort-icons span:first-child {
    margin-bottom: -5px;
}

.sort-icons span:last-child {
    margin-top: -5px;
}

.sort-icons span {
    cursor: pointer;
}

.cursor-pointer {
    cursor: pointer;
}

.flex-th .th-name {
    cursor: pointer;

}

.flex-th {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
}

.delete-post-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main_image_labels {
    position: absolute;
    bottom: -6px;
    left: 0;
    padding: 2px 6px;
    background-color: #074332;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border-radius: 10px;
    z-index: 999;
    display: none;
}

.status_label {
    position: absolute;
    bottom: 12px;
    left: 0;
    padding: 1px 4px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border-radius: 10px;
    z-index: 999;
    font-size: 11px;
}

.enabled_label {
    background-color: oklch(63.18% 0.1156 174.52);
}

.disabled_label {
    background-color: oklch(63.07% 0.194 29.44);
}

.page-link {
    font-size: 20px;
}


.disabled_element {
    pointer-events: none;
    opacity: 0.6 !important;
}


.status-label {
    background-color: #bdc3c7;
    color: #fff;
    padding: 2px 5px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
}

.status-labels-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px;
    min-width: 300px;
}

.order-items-list {
    padding-inline-start: 0;
    max-height: 400px;
    overflow-y: auto;
    min-width: 200px;
}

.order-items-list li {
    margin-top: 3px;
    padding-top: 3px;
    border-top: .5px solid #bdc3c7;
}


.accepted-status-selected {
    background-color: #0fb9b1 !important;
}

.pending-status-selected {
    background-color: #f1c40f !important;
}

.rejected-status-selected {
    background-color: #c0392b !important;
}


.in_progress-status-selected {
    background-color: #e67e22 !important;
}

.delivered-status-selected {
    background-color: #27ae60 !important;

}

.paid-status-selected {
    background-color: #2980b9 !important;

}

.swal2-title {
    line-height: 30px !important;
}

.restaurant-stars-rating {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
}

.star {
    color: #f1c40f;
    font-size: 20px;
}

.table-report img {
    width: 100px;
}

.restaurant-description-td {
    min-width: 300px;
}

.btn-logo {
    width: 30px !important;
    box-shadow: none !important;
}

body.swal2-toast-shown .swal2-container.swal2-top-end, body.swal2-toast-shown .swal2-container.swal2-top-right {
    z-index: 999999 !important;
}

.login-actions-container {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    align-items: center;
}

.site-order-types-list {
    max-height: 200px;
    overflow-y: auto;
}

.site-order-types-list li {
    border-bottom: 1px solid darkgrey;
    padding-bottom: 10px;
    margin-bottom: 10px;
    padding-left: 10px;
}

.order-type-config-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.xdsoft_datetimepicker {
    z-index: 999999 !important;
}

.cron-list {
    max-height: 500px;
    overflow-y: auto;
}

.cron-list li {
    border-bottom: 1px solid darkgrey;
    padding-bottom: 10px;
    margin-bottom: 10px;
    padding-left: 4px;
}

.main-app-background {
    background-color: #d82527 !important;
}


@media only screen
and (max-device-width: 1200px) {

    .header-social-links .footer-icon svg {
        width: 20px !important;
    }

    .navbar-title {
        display: none;
    }

    .dev-creator-wrapper {
        /*border-top: 1px solid #1de696 !important;*/
        /*padding-top: 1rem !important;*/
        width: 100vw !important;
    }

    .footer-line {
        display: block !important;
    }

    .frontend-footer .footer-right-side {
        gap: 2rem !important;
    }

    .header-social-links .footer-right-side {
        gap: 1rem !important;
    }

    .footer-icon svg {
        width: 24px !important;
    }

    .sportsman-image {
        width: 200px !important;
        height: 200px !important;
    }

    .alert .btn-close {
        padding-right: 0 !important;
    }

    .warning-text {
        max-width: 80% !important;
    }

    .google-login-icon {
        width: 72px !important;
    }

    .success-alert-text {
        max-width: 90% !important;
    }

    .preview_profile_wrapper {
        max-width: 50% !important;
    }

    .active-flex-wrapper {
        flex-direction: row !important;
    }

    .alert-dismissible {
        padding-right: .5rem !important;
        padding-left: .5rem !important;
    }

    .modal .modal-dialog.modal-xlg {
        width: 100vw !important;
    }

    .modal-content {
        width: 95% !important;
    }

    .modal-xxlg {
        width: 100vw !important;
    }

    .flex-wrap-inputs > div {
        max-width: 100% !important;
        width: 100% !important;
    }

    .menu-item-header-wrapper {
        align-items: flex-start !important;
    }

    .menu-item-title-wrapper {
        flex-direction: column;
    }
}

.input-danger {
    border: 1px solid #c0392b !important;
}

.has-tooltip {
    position: relative !important;
}


[role="tooltip"] {
    opacity: 0;
    position: absolute;
    width: auto;
    left: 40%;
    bottom: -40px;
    z-index: 9999 !important;
    max-width: 80%;
    height: auto;
    /*min-height: 25px;*/
    /*line-height: 25px;*/
    font-size: .8rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border-radius: 5px;
    margin-top: 5px;
    padding: 5px 10px;
    transform: translateX(-50%);
}

[role="tooltip"].tooltip-active {
    opacity: 1 !important;
    transition: opacity 0.1s;
}

[role="tooltip"]::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(0, 0, 0, 0.7);
    position: absolute;
    margin-top: -15px;
    transform: translateX(-50%);
    left: 50%;
}

.flex-wrap-inputs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.flex-wrap-inputs > div {
    max-width: 45%;
}

.menu-item-checkboxes {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.menu-item-checkboxes > div {
    width: 33%;
}

#image-preview-modal #image_preview {
    margin: 0 auto;
    padding: 10px;
    height: 100%;
}

.flex-justify-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-item-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-item-navigation-btns {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.menu-item-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.justify-center {
    justify-content: center;
}

.main-color {
    color: #d82527 !important;
}

.select2-results__option--selected {
    background-color: #ecf0f1;
    /*color: #fff;*/
}

.justify-between {
    justify-content: space-between !important;
}

.mobile-menu-bar {
    background-color: #074332;
}

.active-flex-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 15px;
}

.preview_profile_wrapper {
    max-width: 50%;
}

.preview_profile_wrapper img {
    max-width: 100%;
}

.active-flex-wrapper label {
    margin-bottom: 0 !important;
}

.menu-group-association-list {
    max-height: 500px;
    overflow-y: auto;
    list-style-type: none;
    padding-inline-start: 0;

}

.menu-group-li-item {
    border-bottom: 1px solid #bdc3c7;
    margin-bottom: 10px;
    padding-bottom: 10px;
    cursor: pointer;
}


.menu_items_discount_list {
    max-height: 300px;
    overflow-y: auto;
    list-style-type: none;
    margin-top: 15px;
}

.menu_items_discount_list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    border-bottom: .5px solid grey;
    padding-bottom: 10px;
    margin-bottom: 10px;
}


.offer-item-label {
    background-color: #c0392b;
    color: #fff;
    border-radius: 12px;
    padding: 5px 10px;
}

.success-alert-text {
    max-width: 95%;
}

.google-login-icon {
    width: 28px;
}


/* Modal backdrop enhancement */
.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

@media (min-width: 576px) {
    .modal-dialog-centered {
        min-height: calc(100% - 3.5rem);
    }
}

/* Smooth transitions for all interactive elements */
.btn {
    transition: all 0.3s ease;
}

.btn:active {
    transform: scale(0.98);
}

.sportsman-vote-img {

    display: block; /* avoids inline spacing issues */
    width: 300px; /* change to whatever size you need */
    height: 300px; /* keep width/height equal for a perfect circle */
    border-radius: 50%; /* makes it circular */
    object-fit: cover; /* keeps photo centered & cropped to the circle */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.check-icon-confirm-vote {
    right: 40px;
    bottom: 0;
    justify-content: center;
    align-items: center;
    display: flex;
    width: 40px;
    height: 40px;
}

.warning-text {
    max-width: 100%;
}

.sportsman-image {
    width: 300px;
    height: 300px;
}

.vote-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.vote-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e9fff7, #1de696);
}

.vote-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.competition-badge,
.match-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #1de696 0%, #072e30 100%);
    color: #ffffff;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(29, 230, 150, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin: 5px 0.25rem;
}

.competition-badge:hover,
.match-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 230, 150, 0.35);
}

@media (max-width: 640px) {
    .vote-title {
        font-size: 1.35rem;
    }

    .vote-header {
        padding: 1.5rem 1rem;
    }
}

.bg-secondary {
    background-color: rgb(29 230 150);
}

.frontend-footer {
    width: 100vw;
    left: 0;
    position: absolute;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.footer-wrapper {
    padding: 0 34px;
}

.footer-icon {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #fff;
}

.footer-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    color: #1de696;
}

.footer-icon svg {
    width: 32px;
}

.footer-left-side {
    margin-bottom: 1rem;
}

.footer-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: #1de696;
    margin: 1rem 0;
    display: none;
}

.footer-right-side {
    gap: 5rem;
}

.dev-creator-wrapper {
    /*border-top:none;*/
    /*padding-top: 1rem;*/
    width: auto;
}

.dev-link {
    position: relative;
    text-decoration: none;
}

.dev-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.2px;
    background: #1de696;
    transition: width 0.3s ease;
}

.dev-link:hover::after {
    width: 100%;
}

.navbar-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.25rem; /* ~text-lg */
    font-weight: 500;
    text-align: center;
    border-bottom: 2px solid #1de696;
    padding-bottom: 0.25rem;
    border-radius: 2px;
}
