﻿@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css");
.e-grid {
    min-height: 160px;
}

.main-title {
    font-size: 20px;
    font-weight: 600;
    padding-top: 20px;
    padding-bottom: 16px;
    padding-left: 2px;
}

@media (max-width: 769px) {
    .e-pager .e-mlast {
        margin-left: 4px;
        text-align: left;
        width: auto !important;
    }
    .e-pager .e-mfirst {
        margin-right: 4px;
        text-align: right;
        width: auto !important;
        width: auto !important;
    }
    .e-pager .e-mfirst, .e-pager .e-mprev, .e-pager .e-mnext, .e-pager .e-mlast {
        border: 0;
        box-sizing: border-box;
        display: inline-block;
        padding: 1% 1% !important;
    }
    .e-pager .e-pagecountmsg {
        display: inline-block !important;
    }
    .e-pager {
        text-align: center !important;
    }
}

.validation-message {
    color: #f00;
}

.dialog-label {
    font-weight: 600;
}

.badge {
    font-size: 0.85em !important;
    font-weight: 500 !important;
}

.e-checkbox-wrapper .e-label {
    font-size: 14px !important;
}

.menu-picture {
    max-width: 60px;
    max-height: 60px;
    border-radius: 16%;
}

.product-thumbnail {
    max-width: 60px;
    max-height: 60px;
    border-radius: 8%;
}

.video-thumbnail {
    max-width: 160px;
    max-height: 90px;
    border-radius: 8px;
}

.video-thumbnail-select {
    max-width: 64px;
    max-height: 36px;
    border-radius: 2px;
    margin-top: 4px;
    margin-bottom: 4px;
}

.thumbnail-article-dialog {
    max-width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%;
    position: relative;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid rgba(128, 128, 128, 0.4);
}

.thumbnail-article-dialog img {
    position: absolute;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    top: 0;
    left: 0;
    border-radius: 4px;
    cursor: pointer
}

.thumbnail-youtube-dialog {
    max-width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%;
    position: relative;
    text-align: center;
    border-radius: 4px;
    border: 1px solid rgba(128, 128, 128, 0.4);
}

.thumbnail-youtube-dialog img {
    position: absolute;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    top: 0;
    left: 0;
    border-radius: 4px;
}

@media (max-width: 769px) {
    .menu-picture {
        max-width: 50px;
        max-height: 50px;
        border-radius: 16%;
    }
}

.form-label {
    color: #374151;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 0.25rem !important;
}

.e-dialog {
    max-width: 90% !important;
    max-height: 80% !important;
}

.product-image-upload {
    position: relative;
    border: 1px solid rgba(128, 128, 128, 0.4);
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 100%;
}

.product-image-upload img {
    position: absolute;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    top: 0;
    left: 0;
}

.product-image-button {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
}

.product-image-button .btn-group {
    width: 100%;
    border: 0;
    box-shadow: none;
    outline: none;
}

.product-image-button .btn-group .btn {
    border-radius: 0;
    background-color: rgba(128, 128, 128, 0.8);
}

.product-image-button .btn-group .btn:hover {
    background-color: rgba(128, 128, 128, 1);
}

.product-image-button .btn-group .btn:focus {
    box-shadow: none;
}

.product-image-button .btn-group .btn i {
    color: #FFFFFF;
}

.button-form-group {
    position: absolute;
    width: calc(100% - 36px);
    bottom: 24px;
    z-index: 100;
}

.form-item-title {
    color: #374151;
    font-size: 12px;
    font-weight: 500;
}

.reset-password-group {
    display: flex;
    align-items: center;
    min-height: 50px;
    margin-top: 16px;
}

.add-user-group {
    display: flex;
    align-items: center;
    min-height: 50px;
    margin-top: 16px;
}

.cursor-pointer {
    cursor: pointer !important;
}

.thumbnail-article-column img {
    width: 80px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
}

.article-content-dialog .e-richtexteditor .e-rte-content .e-content, .article-content-dialog .e-richtexteditor .e-source-content .e-content {
    min-height: 500px !important;
}

.progress-dialog-content {
    display: flex;
    align-items: center;
    min-height: 50px;
}

.e-menu-item.active {
    color: #0174c3;
}

.info-page-logo {
    max-width: 120px;
    max-height: 60px;
    border-radius: 4px;
}

.logo-info-page-dialog {
    max-width: 200px;
}

.logo-info-page-dialog label {
    max-width: 100%;
}

.logo-info-page-dialog img {
    max-width: 100%;
    border-radius: 8px;
    cursor: pointer;
}

.main-slide-picture {
    max-width: 160px;
    border-radius: 8px;
}

.website-config-image {
    max-width: 160px;
    max-height: 90px;
    border-radius: 8px;
}

.showcase-config-image {
    max-height: 96px;
    border-radius: 8px;
}

.category-picture {
    max-width: 60px;
    max-height: 60px;
    border-radius: 10%;
}

.brand-logo {
    max-width: 100px;
    max-height: 100px;
    border-radius: 10%;
}

.product-guide {
    margin-top: 10px;
}

.progress-dialog {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Black with opacity */
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    border: 10px solid #f3f3f3; /* Light grey */
    border-top: 10px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.editor-fullscreen {
    max-width: 100% !important;
    max-height: 100% !important;
}