.auth-language-toggle {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--vz-border-color);
    border-radius: 999px;
    background: var(--vz-card-bg);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

[dir="rtl"] .auth-language-toggle {
    right: auto;
    left: 16px;
}

.auth-language-toggle .btn {
    min-width: 44px;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    font-weight: 700;
}

.auth-card-with-toggle {
    position: relative;
}

.dashboard-hero {
    border: 0;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(28, 102, 203, 0.96), rgba(14, 165, 164, 0.92)),
        url("/velzon/assets/images/auth-one-bg.jpg") center/cover;
}

.dashboard-hero .text-muted,
.dashboard-hero .text-white-75 {
    color: rgba(255, 255, 255, 0.78) !important;
}

.dashboard-hero .btn-soft-light {
    color: #0f172a;
    background-color: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.92);
}

.dashboard-hero .btn-soft-light:hover,
.dashboard-hero .btn-soft-light:focus {
    color: #0f172a;
    background-color: #ffffff;
    border-color: #ffffff;
}

.dashboard-hero .btn-light {
    color: #0f172a;
}

.lms-metric-card {
    overflow: hidden;
    border: 0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.lms-metric-card .metric-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.35rem;
}

.auth-company-logo {
    width: 132px;
    max-height: 48px;
    object-fit: contain;
}

.lms-brand-logo {
    max-width: 132px;
    max-height: 42px;
    object-fit: contain;
}

.lms-brand-logo-sm {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

[data-layout="vertical"][data-sidebar-size="sm"] .app-menu .logo .logo-lg,
[data-layout="vertical"][data-sidebar-size="sm-hover"] .app-menu .logo .logo-lg {
    display: none;
}

[data-layout="vertical"][data-sidebar-size="sm"] .app-menu .logo .logo-sm,
[data-layout="vertical"][data-sidebar-size="sm-hover"] .app-menu .logo .logo-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

[data-layout="vertical"][data-sidebar-size="sm"] .app-menu .navbar-brand-box,
[data-layout="vertical"][data-sidebar-size="sm-hover"] .app-menu .navbar-brand-box {
    padding-inline: .75rem;
}

[data-layout="vertical"][data-sidebar-size="sm-hover"] .app-menu:hover .logo .logo-sm {
    display: none;
}

[data-layout="vertical"][data-sidebar-size="sm-hover"] .app-menu:hover .logo .logo-lg {
    display: inline-block;
}

.lms-branding-preview {
    border: 1px dashed var(--vz-border-color);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(var(--vz-primary-rgb), .08), rgba(14, 165, 164, .10));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lms-branding-preview.logo-preview {
    min-height: 100px;
}

.lms-branding-preview.login-preview {
    min-height: 180px;
}

.lms-branding-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: .75rem;
}

.lms-branding-preview.login-preview img {
    object-fit: cover;
    padding: 0;
}

.lms-report-letterhead {
    border: 1px solid var(--vz-border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--vz-card-bg);
}

.lms-report-logo {
    width: 96px;
    max-height: 54px;
    object-fit: contain;
}

.lms-report-footer {
    margin-top: 1rem;
    padding-top: .75rem;
    border-top: 1px solid var(--vz-border-color);
    color: var(--vz-secondary-color);
    font-size: .85rem;
    text-align: center;
}

.pos-shell {
    min-height: calc(100vh - 170px);
}

.pos-item-picker {
    min-height: 420px;
}

.pos-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(138px, 1fr));
    gap: 12px;
    max-height: 520px;
    overflow: auto;
    padding: 2px 4px 6px 2px;
}

.pos-product-card {
    position: relative;
    min-height: 162px;
    border: 1px solid var(--vz-border-color);
    border-radius: 8px;
    background: var(--vz-card-bg);
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
    touch-action: manipulation;
}

.pos-product-card:hover,
.pos-product-card.active {
    border-color: var(--vz-primary);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

.pos-product-image {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(135deg, rgba(var(--vz-primary-rgb), .10), rgba(14, 165, 164, .16));
    overflow: hidden;
}

.pos-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pos-product-image i {
    font-size: 2.4rem;
    color: var(--vz-primary);
}

.pos-product-body {
    padding: .75rem;
}

.pos-product-name {
    min-height: 38px;
    font-weight: 700;
    line-height: 1.25;
}

.pos-product-code {
    color: var(--vz-secondary-color);
    font-size: .75rem;
}

.pos-service-list .form-check {
    display: block;
    padding: 0.65rem 0.75rem 0.65rem 2.25rem;
    margin: 0 0 0.5rem;
    border: 1px solid var(--vz-border-color);
    border-radius: 8px;
    background: var(--vz-card-bg);
}

[dir="rtl"] .pos-service-list .form-check {
    padding: 0.65rem 2.25rem 0.65rem 0.75rem;
}

.pos-price-option {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .85rem 1rem;
    margin-bottom: .65rem;
    border: 1px solid var(--vz-border-color);
    border-radius: 8px;
    background: var(--vz-card-bg);
    color: var(--vz-body-color);
    text-align: start;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.pos-price-option:hover,
.pos-price-option:focus,
.pos-price-option.active {
    border-color: var(--vz-primary);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

.pos-price-option.active {
    background: rgba(var(--vz-primary-rgb), .08);
}

.pos-price-option.active small::after {
    content: " ✓";
}

.pos-price-option small {
    display: block;
    margin-top: .2rem;
    color: var(--vz-secondary-color);
    font-weight: 600;
}

.pos-cart-table tbody tr.table-active td {
    background-color: rgba(var(--vz-primary-rgb), 0.08);
}

.pos-total-panel {
    position: sticky;
    top: 88px;
}

.theme-swatch-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.theme-swatch {
    width: 100%;
    aspect-ratio: 1;
    border: 2px solid var(--vz-border-color);
    border-radius: 8px;
    cursor: pointer;
}

.theme-swatch.active {
    border-color: var(--vz-primary);
    box-shadow: 0 0 0 3px rgba(var(--vz-primary-rgb), 0.16);
}

.swatch-light {
    background: #f3f6f9;
}

.swatch-dark {
    background: #212529;
}

.swatch-gradient {
    background: linear-gradient(135deg, #405189, #0ab39c);
}

.swatch-gradient-2 {
    background: linear-gradient(135deg, #3f51b5, #e91e63);
}

.swatch-gradient-3 {
    background: linear-gradient(135deg, #0ab39c, #f7b84b);
}

.swatch-gradient-4 {
    background: linear-gradient(135deg, #299cdb, #6559cc);
}

.laundry-image-picker {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--vz-border-color);
    border-radius: 8px;
    background: var(--vz-card-bg);
}

.laundry-item-preview {
    min-height: 170px;
    border: 1px dashed var(--vz-border-color);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(var(--vz-primary-rgb), .08), rgba(14, 165, 164, .10));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.laundry-item-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: .75rem;
}

.laundry-image-picker-body {
    min-width: 0;
}

.laundry-predefined-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: .65rem;
}

.laundry-predefined-option {
    border: 1px solid var(--vz-border-color);
    border-radius: 8px;
    background: var(--vz-card-bg);
    padding: .45rem;
    min-height: 104px;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.laundry-predefined-option:hover,
.laundry-predefined-option.active {
    border-color: var(--vz-primary);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

.laundry-predefined-option img {
    width: 100%;
    height: 62px;
    object-fit: contain;
    display: block;
}

.laundry-predefined-option span {
    display: block;
    margin-top: .35rem;
    color: var(--vz-body-color);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
    .laundry-image-picker {
        grid-template-columns: 1fr;
    }

    .laundry-item-preview {
        min-height: 150px;
    }
}
