:root {
    --navigation-title-height: 55px;
    --navigation-bottom-section-height: 48px;
    --main-c: 
}

.mr-1 { margin-right: 4px; }
.mt-1 { margin-top: 4px; }
.ml-1 { margin-left: 4px; }
.mb-1 { margin-bottom: 4px; }
.mr-2 { margin-right: 8px; }
.mt-2 { margin-top: 8px; }
.ml-2 { margin-left: 8px; }
.mb-2 { margin-bottom: 8px; }
.mr-3 { margin-right: 16px; }
.mt-3 { margin-top: 16px; }
.ml-3 { margin-left: 16px; }
.mb-3 { margin-bottom: 16px; }
.mr-4 { margin-right: 24px; }
.mt-4 { margin-top: 24px; }
.ml-4 { margin-left: 24px; }
.mb-4 { margin-bottom: 24px; }
.mr-5 { margin-right: 48px; }
.mt-5 { margin-top: 48px; }
.ml-5 { margin-left: 48px; }
.mb-5 { margin-bottom: 48px; }
.pr-1 { padding-right: 4px; }
.pt-1 { padding-top: 4px; }
.pl-1 { padding-left: 4px; }
.pb-1 { padding-bottom: 4px; }
.pr-2 { padding-right: 8px; }
.pt-2 { padding-top: 8px; }
.pl-2 { padding-left: 8px; }
.pb-2 { padding-bottom: 8px; }
.pr-3 { padding-right: 16px; }
.pt-3 { padding-top: 16px; }
.pl-3 { padding-left: 16px; }
.pb-3 { padding-bottom: 16px; }
.pr-4 { padding-right: 24px; }
.pt-4 { padding-top: 24px; }
.pl-4 { padding-left: 24px; }
.pb-4 { padding-bottom: 24px; }
.pr-5 { padding-right: 48px; }
.pt-5 { padding-top: 48px; }
.pl-5 { padding-left: 48px; }
.pb-5 { padding-bottom: 48px; }

.w-100 { width: 100%; }
.w-100-imp { width: 100% !important; }

.text-white { color: white; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-justfiy { text-align: justfiy; }

.float-right { float: right; }
.float-left { float: left; }
.float-none { float: none; }

.z-ind-1 {
    z-index: 1;
}
.z-ind-2 {
    z-index: 2;
}


.cp { cursor: pointer; }

.scale {
    transition: 0.5s transform;
}.scale:hover {
    transform: scale(0.8);
}




table.prittier-table tbody tr:nth-of-type(even) {
    background: white;
}
table.prittier-table thead {
    background: #2a3f54;
    color: white;
}
table.prittier-table td {
    color: #333;
}
table.prittier-table th,
table.prittier-table td {
    vertical-align: middle!important;
}

/*  textarea  */

.textarea-h-100px textarea {
    height: 100px !important;
}

/* Section title and description styling */
.section-header-container {
    margin-bottom: 15px;
}

.section-title-container {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.section-title-white .section-title {
    color: #fff;
}

.section-description-icon {
    color: #007bff;
    cursor: pointer;
    font-size: 14px;
    position: relative;
    transition: color 0.3s ease;
}

.section-description-icon:hover {
    color: #0056b3;
}

.section-description-inline {
    color: #888;
    font-style: italic;
    font-size: 13px;
    margin-top: 4px;
    line-height: 1.4;
}

.section-description-tooltip {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    max-width: 300px;
    white-space: normal;
    word-wrap: break-word;
    margin-top: 5px;
    min-width: 200px;
}

.section-description-tooltip.show {
    opacity: 1;
    visibility: visible;
}

.section-description-tooltip.sticky {
    position: fixed;
    background-color: #333;
    border: 1px solid #007bff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.section-description-tooltip::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 10px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #333;
}

/* Compact formType "table" UI — opt-in only via class admin-form-array-table
   (SoftOne storefront_objects). Classic tables (product variations, etc.)
   must NOT get these rules. */
.admin-form-array-table.form-group,
.admin-form-array-table {
    margin: 1rem 0 1.25rem !important;
    padding: 0 !important;
    border: 1px solid #e4e7ec !important;
    border-radius: 10px !important;
    background: #fff !important;
    overflow: hidden;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

.admin-form-array-table .admin-form-array-table__header {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    padding: 14px 16px 12px !important;
    border-bottom: 1px solid #e8ebf0 !important;
    background: #f7f8fa !important;
}

.admin-form-array-table .admin-form-array-table__title {
    display: block !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #111827 !important;
}

.admin-form-array-table .admin-form-array-table__description {
    display: block !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #6b7280 !important;
    line-height: 1.4 !important;
    max-width: 920px;
}

.admin-form-array-table .admin-form-array-table__scroll {
    overflow-x: auto;
    max-width: 100%;
}

.admin-form-array-table .admin-form-array-table__table.table,
.admin-form-array-table .admin-form-array-table__table {
    margin: 0 !important;
    width: 100% !important;
    border: 0 !important;
    border-collapse: collapse !important;
    table-layout: auto;
}

/* thead may be tr-wrapped or (legacy) bare th under thead */
.admin-form-array-table .admin-form-array-table__table thead th,
.admin-form-array-table .admin-form-array-table__table > thead > tr > th,
.admin-form-array-table .admin-form-array-table__table > thead > th {
    background: #eef1f5 !important;
    color: #1f2937 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-align: left !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #dfe3ea !important;
    padding: 8px 10px !important;
    white-space: nowrap;
    vertical-align: middle !important;
    line-height: 1.25 !important;
}

.admin-form-array-table .admin-form-array-table__table > tbody > tr > td {
    padding: 4px 10px !important;
    vertical-align: middle !important;
    border: 0 !important;
    border-top: 1px solid #eef0f3 !important;
    line-height: 1.2 !important;
}

.admin-form-array-table .admin-form-array-table__table > tbody > tr:nth-of-type(odd) {
    background: #fff !important;
}

.admin-form-array-table .admin-form-array-table__table > tbody > tr:nth-of-type(even) {
    background: #fafbfc !important;
}

.admin-form-array-table .admin-form-array-table__table > tbody > tr:hover {
    background: #f3f7ff !important;
}

.admin-form-array-table .admin-form-array-table__table .form-group,
.admin-form-array-table .admin-form-array-table__table .form-group.col-xs-12,
.admin-form-array-table .admin-form-array-table__table .form-group.padding-left-right-section {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    float: none !important;
    display: block !important;
}

.admin-form-array-table .admin-form-array-table__table label.control-label,
.admin-form-array-table .admin-form-array-table__table [data-id="title-label"],
.admin-form-array-table .admin-form-array-table__table .description-field-container,
.admin-form-array-table .admin-form-array-table__table .description-field-shower,
.admin-form-array-table .admin-form-array-table__table .error_text {
    display: none !important;
}

.admin-form-array-table .admin-form-array-table__table .form-control,
.admin-form-array-table .admin-form-array-table__table select.form-control,
.admin-form-array-table .admin-form-array-table__table .form-control.col-md-10,
.admin-form-array-table .admin-form-array-table__table select.form-control.col-md-10 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 32px !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 4px 8px !important;
    float: none !important;
    display: block !important;
    box-sizing: border-box !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
}

.admin-form-array-table .admin-form-array-table__table select.form-control {
    padding-right: 24px !important;
}

.admin-form-array-table .admin-form-array-table__actions {
    padding: 10px 16px !important;
    border-top: 1px solid #eef0f3 !important;
    background: #fafbfc !important;
}

.admin-form-array-table .admin-form-array-table__actions [data-id="add"] {
    border: 0;
    border-radius: 6px;
    background: #4f46e5;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    cursor: pointer;
}

.admin-form-array-table .admin-form-array-table__actions [data-id="add"]:hover {
    background: #4338ca;
}

.admin-form-array-table .admin-form-array-table__table .btn-danger {
    border-radius: 6px;
    min-width: 2rem;
    padding: 0.2rem 0.5rem;
    line-height: 1.2;
}

@media (prefers-color-scheme: dark) {
/* Dark theme support for section descriptions */
.dark-theme-1 .section-title {
    color: var(--white);
}

.dark-theme-1 .section-description-icon {
    color: var(--border-color);
}

.dark-theme-1 .section-description-icon:hover {
    color: #66ff66;
}

.dark-theme-1 .section-description-inline {
    color: #b0b0b0;
}

.dark-theme-1 .section-description-tooltip {
    background-color: var(--main-lighter);
    color: var(--white);
    border-color: var(--border-color);
}

.dark-theme-1 .section-description-tooltip::before {
    border-bottom-color: var(--main-lighter);
    left: 10px;
}
}