@tailwind base;
@tailwind components;
@tailwind utilities;

.tooltip {
    pointer-events: none;
}
#callback-widget {
    position: fixed;
    width: 180px;
    height: 30px;
    right: 220px;
    bottom: 0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    overflow: hidden;
    border: 1px solid #555;
    text-decoration: none;
    display: none;
}
#callback-widget.animate {
    animation: 0.8s ease 0s 1 normal both running wobble-hor-bottom;
}
#Form-field-User-password-group, #Form-field-User-password_confirmation-group {
    position: relative;
}
#Form-field-User-password-group .edit-password, #Form-field-User-password_confirmation-group .edit-password {
    position: absolute;
    top: 27px;
    transform: translateX(-50%);
    left: 50%;
    cursor: pointer;
    padding: 5px 8px;
    background-color: #1991d1;
    color:#fff;
    border-radius: 5px;
}
#Form-field-User-password-group .edit-password:hover, #Form-field-User-password_confirmation-group .edit-password:hover {
    background-color: #1681ba;
}
#callback-widget:hover, #callback-widget:focus {
    text-decoration: none;
}
#callback-widget.alert {
    border-color: #de1919;
}
#callback-widget .icon {
    width: 35px;
    height: 100%;
    background: #2b2724;
    justify-content: center;
    align-items: center;
    display: flex;
    font-size: 21px;
    color: #FFF;
}
#callback-widget.alert .icon {
    background: #960000;
}
#callback-widget .message {
    background: #000;
    flex-grow: 1;
    color: #FFF;
    justify-content: center;
    align-items: center;
    display: flex;
}
#callback-widget.alert .message {
    background: #d60007;
}



@-webkit-keyframes wobble-hor-bottom {
    0%,
    100% {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
    }
    15% {
        -webkit-transform: translateX(-30px) rotate(-6deg);
        transform: translateX(-30px) rotate(-6deg);
    }
    30% {
        -webkit-transform: translateX(15px) rotate(6deg);
        transform: translateX(15px) rotate(6deg);
    }
    45% {
        -webkit-transform: translateX(-15px) rotate(-3.6deg);
        transform: translateX(-15px) rotate(-3.6deg);
    }
    60% {
        -webkit-transform: translateX(9px) rotate(2.4deg);
        transform: translateX(9px) rotate(2.4deg);
    }
    75% {
        -webkit-transform: translateX(-6px) rotate(-1.2deg);
        transform: translateX(-6px) rotate(-1.2deg);
    }
}
@keyframes wobble-hor-bottom {
    0%,
    100% {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
    }
    15% {
        -webkit-transform: translateX(-10px) rotate(-6deg);
        transform: translateX(-10px) rotate(-6deg);
    }
    30% {
        -webkit-transform: translateX(10px) rotate(6deg);
        transform: translateX(10px) rotate(6deg);
    }
    45% {
        -webkit-transform: translateX(-10px) rotate(-3.6deg);
        transform: translateX(-10px) rotate(-3.6deg);
    }
    60% {
        -webkit-transform: translateX(5px) rotate(2.4deg);
        transform: translateX(5px) rotate(2.4deg);
    }
    75% {
        -webkit-transform: translateX(-3px) rotate(-1.2deg);
        transform: translateX(-3px) rotate(-1.2deg);
    }
}
.alert.alert-warning {
    position: absolute;
    top: 0;
    width: 100%;
    background-color: #eb9818;
    color: #fff;
    height: 92px;
    padding: 5px;
    z-index: -1;
    display: flex;
    align-items: center;
    border-color: unset!important;
    border-radius: 0!important;
}

.alert.alert-warning span {
    position: absolute;
    left: 800px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: calc(100% - 800px);
}

.alert.alert-warning strong {
    font-size: 16px;
}

.pointer {
    cursor: pointer !important;
}
.dashboard #dashReportContainer {
    margin-top: 13px;
}
.dashboard #ReportContainer-container-list {
    overflow: visible !important;
}
.dashboard .layout-container {
    background: #F4F4F4;
}
.dashboard .report-widget {
    background: #F4F4F4;
}
.dashboard .report-widget .flex-wrap {
    flex-wrap: wrap;
}
.dashboard .report-widget > .col {
    width: 100%;
}
.dashboard h2, .dashboard h3, .dashboard h4 {
    margin-left: 5px;
}
.dashboard h2.h3 {
    margin-bottom: 10px;
}
.dashboard h3.widget-title {
    margin-top: 20px;
    margin-left: 0;
}
.dashboard .widget-list table td, .dashboard .widget-list table th {
    padding: 12px 15px !important;
}
.dashboard .widget-list table td {
    border-top: 1px solid #d7dbdd;
}
.dashboard .widget-list table th {
    font-weight: bold;
}
.dashboard .wg-block {
    margin: 0 5px;
    flex: 1;
}
.dashboard .wg-block.mb-default {
    margin-bottom: 10px;
}
.dashboard .wg-block .control-list {
    margin-bottom: 0;
}
.dashboard .flex-column {
    flex-direction: column;
}
.dashboard .report-widget .wg-title {
    text-align: left;
}
.dashboard .report-widget .wg-content {
    background: #fff;
}
.dashboard .report-widget h3 {
    margin-bottom: 12px;
}
.dashboard #ReportContainer-container-toolbar {
    float: left;
    position: relative;
}
.dashboard .widget-campaigns .campaign-lists .widget-title {
    margin-top: 10px;
}
.dashboard .widget-campaigns .campaign-lists .wg-content {
    display: flex;
    flex-wrap: wrap;
    background: #F4F4F4;
}
.dashboard .widget-campaigns .campaign-lists .wg-content .list-content {
    background: #FFF;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.05);
}
.dashboard .widget-campaigns .campaign-lists .wg-content .list-content table.table {
    border-bottom: 0;
}
.dashboard .widget-campaigns .campaign-lists .wg-content .list-content table.table thead tr th {
    background-color: #f4f4f4;
}
.dashboard .widget-campaigns .campaign-lists .wg-content .widget-list {
    flex: 1;
}
.dashboard .widget-campaigns .campaign-lists .wg-content .widget-list:first-of-type {
    margin-right: 5px;
}
.dashboard .widget-campaigns .campaign-lists .wg-content .widget-list:last-of-type {
    margin-left: 5px;
}
.dashboard .widget-segmentation .wg-content {
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.05);
}
.dashboard .item:hover h3 {
    padding-left: 0 !important;
}
.dashboard .report-widget .wg-content .wg-description {
    color: #9E9E9E;
}
.dashboard .report-widget .wg-content .wg-indicator {
    font-size: 24px;
    font-weight: bold;
}
.dashboard .widget-number-tile {
    display: flex;
    flex-direction: column;
    min-height: 150px;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.05);
    background: white;
    padding-top: 15px;
    padding-bottom: 15px;
}
@media (min-width: 1880px) {
    .dashboard .widget-number-tile {
        min-height: 140px;
    }
}
.dashboard .widget-number-tile .wg-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-content: center;
    justify-content: space-between;
    padding: 15px;
}
.dashboard .d-flex {
    display: flex;
}
nav#layout-mainmenu.navbar-mode-inline {
    display: block;
}
.login-info .select2-container--default .select2-selection {
    display: none;
}
.login-info .switcher {
    cursor: pointer;
    display: block;
}
#password-input {
    position: relative;
}
#password-input i {
    font-size: 17px;
    position: absolute;
    top: 11px;
    right: 10px;
    cursor: pointer;
}

#password-input i.fa-eye-slash {
    right: 9px;
}
body.outer #layout-canvas .layout>.layout-row>.layout-cell .outer-form-container {
    width: 600px;
}
.form-group.horizontal-form {
    gap: 10px;
    align-items: center;
}
.form-group.horizontal-form input, .form-group #password-input {
    flex: 2;
    margin-right: 0!important;
}
#layout-sidenav-settings {
    background-color: unset;
}

#layout-sidenav-settings li {
    margin-top: 15px;
}

#layout-sidenav-settings li a {
    width: 80%;
    margin-left: 10%;
    border-radius: 3px;
    color: #585858;
}

#layout-sidenav-settings li a:hover, #layout-sidenav-settings li.current a {
    color: #fff;
    background-color: #2896b2!important;
}

#layout-sidenav-settings .nav-label {
    font-size: 15px;
    padding-left: 32px;
    text-align: left!important;
}

#layout-sidenav-settings .nav-label.nav-spacing {
    margin-left: 5px;
    font-size: 17px;
    position: relative;
    cursor: pointer;
    color: #585858;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-top: 35px;
    text-align: left!important;
}

#layout-sidenav-settings .nav-label.nav-spacing i:first-child, #layout-sidenav-settings li a .nav-icon {
    position: absolute;
    font-size: 20px;
    left: 20px;
    transform: translate(-50%, -50%);
    top: 50%;
}

#layout-sidenav-settings .dropdown-icon {
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translate(-50%, -50%);
}

#layout-sidenav-settings .dropdown-icon.fa-chevron-down {
    right: 31px;
}

#layout-sidenav-settings li[data-menu-item] {
    display: none;
}

#layout-sidenav-settings li.active[data-menu-item] {
    display: block;
}
.mainmenu-dropdown {
    display: none;
    top: 135px;
    position: absolute;
    z-index: 999999999;
    background: rgb(255, 255, 255);
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    --tw-shadow: 0 0 5px 0 rgb(6 9 9 / 24%), 0 2px 7px 0 rgb(16 30 30 / 15%), 0 16px 9px -12px rgb(16 30 30 / 20%), 0 -8px 16px 4px rgb(16 30 30 / 10%);
    --tw-shadow-colored: 0 0 5px 0 var(--tw-shadow-color), 0 2px 7px 0 var(--tw-shadow-color), 0 16px 9px -12px var(--tw-shadow-color), 0 -8px 16px 4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.mainmenu-dropdown:nth-of-type(2) {
    left: 300px;
}

.mainmenu-dropdown:nth-of-type(3) {
    left: 420px;
}

.mainmenu-dropdown:nth-of-type(4) {
    left: 540px;
}
.mainmenu-dropdown:nth-of-type(5) {
    left: 400px;
}
.mainmenu-dropdown.importer {
    left: 400px;
}
.mainmenu-dropdown.importer .dropdown-container {
    max-height: 375px;
}

.svg-icon-container.svg-active-effects .icon-mpm.active::before {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 25%;
    transform: translateX(-50%);
    border-width: 20px;
    border-style: solid;
    border-color: #FFF transparent transparent transparent;
    z-index: 99999;
    transform: rotate(180deg);
}
.mainmenu-dropdown.active {
    display: flex;
}
.mainmenu-dropdown .dropdown-container {
    display: grid;
    grid-template-columns: repeat(4, auto);
    column-gap: 50px;
    row-gap: 15px;
    width: max-content;
}
.mainmenu-dropdown .dropdown-container div {
    flex: 0 0 20%; /* Each item takes up 50% of the container width */
    box-sizing: border-box;
    padding: 10px; /* Adjust padding as needed */
}
.mainmenu-dropdown a {
    display: flex;
    align-items: center;
}
.mainmenu-dropdown a span i.icon-submenu {
    position: relative;
    width: 40px;
    height: 40px;
    top: 0;
    left: 0;
    margin: 0!important;
    background-size: cover;
}
.mainmenu-dropdown a span i.icon-submenu:before {
    content: "";
}
.mainmenu-dropdown a span.nav-icon {
    position: relative;
    flex: 1 1 60px;
}
.mainmenu-dropdown a .nav-label {
    flex: 1 1 calc(100% - 60px);
    text-shadow: none !important;
    font-size: 11px;
    color: #000;
    margin-left: 10px;
}
.layout-cell.w-250 {
    display: none;
}
nav#layout-mainmenu .toolbar-item {
    overflow: visible;
}
.list-cell-name-car_sign, .list-cell-name-sign {
    position: relative;
    min-width: 100px;
}
.svg-icon-container {
    cursor: pointer;
}
.search-wrapper {
    width: 50px;
    height: 50px;
    transition: 500ms ease-in-out;
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    border: 3px solid rgba(255, 255, 255, 0);
}

.search-wrapper.active {
    width: 350px;
    height: 50px;
    border-radius: 5px;
    background: #fff;
    border: 3px solid #888;
}

.search-wrapper .select2-container--default .select2-selection, .search-wrapper:not(.active) .select2-selection__placeholder  {
    background-color: transparent;
    border-radius: 0;
    color: rgba(0, 0, 0, 0)!important;
}

.search-wrapper .select2-container {
    width: 100% !important;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.search-wrapper .select2-selection {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    padding-left: 40px;
    padding-right: 2px;
    font-size: 1.2rem;
    box-sizing: border-box;
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    width: 44px;
    border: 2px solid rgba(255, 255, 255, 0);
    background-color: transparent;
    height: 44px;
    cursor: pointer;
    margin-left: auto;
    z-index: 1;
    background: url(/plugins/mpm/skinpack/assets/v1/images/icons/clippy.png) no-repeat;
    background-position-x: center;
    background-position-y: center;
    background-size: contain;
    transition: 0.3s ease-in-out;
}

.search-wrapper.active .search-btn,  .search-btn:hover {
    background: url(/plugins/mpm/skinpack/assets/v1/images/icons/clippy_h.png) no-repeat;
    background-position-x: center;
    background-position-y: center;
    background-size: contain;
    height: 70px;
    width: 70px;
    z-index: 99999;
}

.search-btn i {
    color: #fff;
    font-size: 19px;
}

.search-wrapper .select2-selection__rendered {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.search-wrapper.active .select2-selection__placeholder {
    color: #666;
    display: block;
    width: 40px;
}
.search-wrapper .select2-selection__placeholder {
    display: none;
    width: 0;
    transition: 1s ease-in-out;
}

.search-wrapper .select2-container--default .select2-selection {
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0);, 0 1px 0 rgba(255, 255, 255, 0);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0);, 0 1px 0 rgba(255, 255, 255, 0);
}
#tsparticals {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}
nav#layout-mainmenu.navbar-mode-inline {
    margin-bottom: 0!important;
}
.list-cell-type-partial {
    position: relative;
}
.list-cell-type-partial .text-danger {
    background-color: rgba(251, 113, 133, 0.1);
}
.list-cell-type-partial .text-success {
    background-color: rgba(74, 222, 128, 0.1);
}
.list-cell-type-partial .text-danger, .list-cell-type-partial .text-success {
    border-radius: 100%;
    padding: 0.5rem;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.list-cell-type-partial div.oc-icon-circle::before {
    content: "";
}
.text-danger .oc-icon-circle {
    background-color: rgb(251, 113, 133);
    border-radius: 100%;
    width: 10px;
    height: 10px;
}
.neutral .text-danger .oc-icon-circle {
    background-color: #656d79;
}
.text-success .oc-icon-circle {
    background-color: rgb(74, 222, 128);
    border-radius: 100%;
    width: 10px;
    height: 10px;
}
.text-warning .oc-icon-circle {
    background-color: rgb(222, 163, 74);
    border-radius: 100%;
    margin-top: 5px;
    width: 10px;
    height: 10px;
}
.beta-badge {
    position: absolute;
    right: 5px;
    top: 12px;
    border-radius: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    max-inline-size: 100%;
    color: #FFFFFF;
    background-color: #BC1E70;
    line-height: 24px;
    vertical-align: baseline;
    padding-inline: 16px;
}
.phone-call-container {
    display: flex;
    border-radius: 50px;
    padding: 3px;
    column-gap: 10px;
    align-items: center;
    width: fit-content;
    cursor: pointer;
    height: 37px;
    position: absolute;
    top: 2px;
}
.phone-call-icon {
    border-radius: 50%;
    background-color: #fff;
    padding: 7px 10px;
    position: absolute;
}
.phone-call-text {
    padding: 15px;
    padding-left: 35px;
}
.phone-call-container:hover {
    transition: 0.3s ease-in-out;
}
.phone-call-text a {
    text-decoration: none;
}
.mobile-navigation {
    display: none;
}
@media (max-width: 1500px) {
.mainmenu-dropdown.importer {
    left: 300px;
}
}
@media (max-width: 1300px) {
.mainmenu-dropdown.importer {
    left: 100px;
}
}
@media (max-width: 1000px) {
.mainmenu-dropdown .dropdown-container {
    row-gap: 5px;
    column-gap: 10px;
}
}
@media (max-width: 780px) {
    body.outer #layout-canvas .layout>.layout-row>.layout-cell .outer-form-container {
        width: auto;
    }
    .mobile-navigation .fa-cart-shopping:before, .mobile-navigation .fa-shopping-cart:before {
        content: unset;
    }
    .layout-cell.w-350 {
        display: none!important;
    }

    .icon-mpm-marketing-webshop {
        position: relative;
        width: 60px;
        height: 60px;
        top: 0;
        left: 0;
        margin: 0 !important;
        background-size: cover!important;
        overflow: hidden;
    }

    .mobile-navigation a {
        display: flex;
        flex-direction: column;
        color: #fff;
        position: absolute;
        top: 2px;
        right: 0;
        transform: translateX(-50%);
        font-weight: bold;
        text-align: center;
    }

    .search-wrapper {
        display: none;
    }

    .mobile-navigation {
        display: block;
    }
}
.unread-notification-dot {
    position: absolute;
    top: -45px;
    right: 14px;
    width: 20px;
    height: 20px;
    font-weight: bold;
    display: flex;
    background-color: #ff3b30e3;
    border-radius: 50%;
    z-index: 10;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    pointer-events: none;
    box-shadow: 0 0 0 2px #ffffff6e, 0 6px 12px rgba(0, 0, 0, 0.25);
}
.dropdown-container-item .unread-notification-dot {
    padding: 0!important;
    top: 14px;
    left: 40px;
}
.dropdown-container-item {
    position: relative;
}

@media (max-width: 500px) {
    .layout-relative .icons-panel.pull-right a {
        width: calc(100% - 20px);
    }
}
