﻿.vertical-spans {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.common-card {
    width: 100%;
    height: 100%;
    gap: 16px;
    padding: 0px;
    opacity: 1;
    transform: rotate(0deg);
    background-color: #fff;
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    border: 1px solid #0000003D;
    border-top: none;
    border-radius: 16px 16px 8px 8px;
}

.setup-sections {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 64px;
    align-items: start;
}

.left-section {
    margin-left:32px;
    flex-shrink: 0;
}

.right-section {
    flex-shrink: 0;
    margin-right: 32px;
}

.template-card {
    width: 100%;
    height: 100%;
    gap: 16px;
    border-radius: 16px;
    border: 1px solid #ccc;
    padding: 16px;
    opacity: 1;
    transform: rotate(0deg);
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}


.form-select {
    display: block;
    width: 100%;
    padding: 8px 12px;
    line-height: 1.5;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    box-sizing: border-box;
    height: auto;
    appearance: none;
}


.schema-card {
    width: 345px;
    height: 83px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    gap: 10px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--Text-Grey-Grey-400, #DEDEDE);
    background: var(--Text-Grey-Grey-100, #F6F6F6);
    opacity: 1;
}

    .schema-card:hover {
        background: #eaeaea;
        cursor: pointer;
    }

    .schema-card.selected {
        border-color: #E3A535;
        background: #fffbf0;
    }


.text-brief-title-font-semibold {
    font-weight: 600;
}

.text-brief-title {
    font-size: 1rem;
    line-height: 1.5rem;
}


.btn-publish-sitecore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px;
    border: 1px solid #CED3D6;
    background-color: #EEEEEE;
    transform: rotate(0deg);
    cursor: pointer;
    padding: 8px 16px;
    margin: 16px 0px;
}

    .btn-publish-sitecore:disabled {
        opacity: 0.5 !important;
        cursor: not-allowed !important;
    }

    .btn-publish-sitecore img {
        margin-right: 8px;
    }

    .btn-publish-sitecore label {
        margin-left: 4px;
    }

.label-note {
    font-weight: 400;
    font-style: normal;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0;
    color: #FF003B;
}

.action-buttons-no-margin {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.action-btn-brief {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.325rem 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
}

.label-regular {
    font-weight: 400;
    font-style: normal;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 1px;
    color: #00131F;
}

.input-textfield {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
    vertical-align: middle;
    color: #00131F;
}


.delete-loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.75) !important;
    z-index: 999;
}

.delete-spinner {
    border: 3px solid #eee;
    border-top: 4px solid #d9534f;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    animation: delete-spin 0.8s linear infinite;
}

@keyframes delete-spin {
    100% {
        transform: rotate(360deg);
    }
}

.ms-dropdown-container {
    position: relative;
    width: 100%;
    font-family: Arial, sans-serif;
}

.ms-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    padding: 8px 10px;
    background: #fff;
    cursor: pointer;
    min-height: 40px;
}

.ms-header-content {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
}

.ms-placeholder {
    color: #999;
}

.ms-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    background: #e6e6e6;
    border-radius: 12px;
    font-size: 12px;
    gap: 6px;
}

.ms-remove {
    cursor: pointer;
    font-weight: bold;
}

.ms-arrow {
    margin-left: 10px;
    font-size: 12px;
    pointer-events: none;
}

.ms-dropdown-body {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    max-height: 220px;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ms-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    cursor: pointer;
}

.review-accordion .accordion-item:has(.ms-dropdown-body) {
    overflow: visible !important;
}

.ms-dropdown-item:hover {
    background-color: #f5f5f5;
}

.ms-dropdown-item input[type="checkbox"] {
    cursor: pointer;
}

.step2brief-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    overflow: visible;
    background: #fff;
}

    .step2brief-table thead th {
        background: #FAFAFA;
        color: #767676;
        font-size: 12px;
        font-weight: 500;
        text-align: center;
        padding: 14px 16px;
        border-right: 1px solid #E5E7EB;
    }

.step2brief-table tbody td {
    padding: 16px;
    vertical-align: middle;
    text-align: center;
    border-top: 1px solid #E5E7EB;
    border-right: 1px solid #E5E7EB;
}

.step2brief-table th:last-child,
.step2brief-table td:last-child {
    border-right: none;
}

.wizard-header-status {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-type {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
}

.country-language-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.language-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}

.lang-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    background: #F5F5F5;
    border: 1px solid #E5E7EB;
    border-radius: 3px;
    font-size: 10px;
    color: #878787;
}

.lang-tag-approved {
    background: #F3FAEE;
    border-color: #B8D99A;
    color: #6FA73C;
}

.lang-tag-approved .status-dot {
    width: 6px;
    height: 6px;
    background: #6FA73C;
}

.tooltip-wrapper {
    position: relative;
    display: inline-block;
    z-index: 10000;
}

.tooltip-content {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    min-width: 150px;
    white-space: nowrap;
    display: none;
    z-index: 10001;
    font-size: 12px;
}
.tooltip-wrapper:hover .tooltip-content {
    display: block;
}
.tooltip-content-table {
    font-size: 10px;
    line-height: 1.2;
    position: absolute;
    bottom: 105%;
    left: 50%;
    transform: translateX(-75%);
    display: none;
    grid-auto-flow: row; /* fill columns */
    gap: 6px 16px;
    width: max-content;
    background: #333;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    z-index: 10001;
    grid-template-columns: repeat(4, 1fr);
    max-width: 900px;
}

.step2brief-table {
    border: none;
}

    .step2brief-table thead th:first-child {
        border-top-left-radius: 8px;
    }

    .step2brief-table thead th:last-child {
        border-top-right-radius: 8px;
    }

    .step2brief-table tbody tr:last-child td:first-child {
        border-bottom-left-radius: 8px;
    }

    .step2brief-table tbody tr:last-child td:last-child {
        border-bottom-right-radius: 8px;
    }

.step2brief-table,
.step2brief-table td,
.step2brief-table tbody,
.step2brief-table tr {
    overflow: visible;
}

.tooltip-wrapper:hover .tooltip-content-table {
    display: grid;
}

.add-tag {
    background: #ECECEC;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    background: #F7E7BD;
    color: #916D16;
    font-size: 12px;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #B58109;
}

/* Accordion Wrapper */
.review-accordion {
    width: 540px;
    margin: 0 auto;
}

    /* Accordion Item - Closed State */
    .review-accordion .accordion-item {
        border: 1px solid #0000001A;
        border-radius: 8px;
        overflow: hidden;
        background: #FAFAFA;
        margin-bottom: 12px;
        transition: all 0.2s ease;
    }

        /* Open Accordion */
        .review-accordion .accordion-item.active,
        .review-accordion .accordion-item:has(.accordion-body) {
            border: 1px solid #B8B1F1;
            background: #FAFAFF;
        }

    /* Header - Closed */
    .review-accordion .accordion-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #FAFAFA;
        padding: 16px;
        cursor: pointer;
    }

    /* Header - Open */
    .review-accordion .accordion-item.active .accordion-header,
    .review-accordion .accordion-item:has(.accordion-body) .accordion-header {
        background: #FAFAFF;
    }

    /* Header Title */
    .review-accordion .accordion-header span:first-child {
        font-size: 16px;
        font-weight: 600;
        color: #00131F;
    }

    /* Toggle */
    .review-accordion .toggle {
        font-size: 18px;
        font-weight: 600;
        color: #00131F;
        line-height: 1;
    }

    /* Body */
    .review-accordion .accordion-body {
        background: #FAFAFF;
        padding: 0 16px 16px;
    }

    /* Label Row */
    .review-accordion .d-flex.align-items-center {
        margin-bottom: 8px !important;
    }

    /* Labels */
    .review-accordion label {
        font-size: 12px !important;
        font-weight: 400 !important;
        color: #6B7280 !important;
        margin-bottom: 4px;
    }

/* Badge */
.custom-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #E9E6E6;
    color: #565655 !important;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 10px !important;
    font-weight: 700 !important;
    min-height: 24px;
}

/* Inputs */
.review-accordion input,
.review-accordion .form-control,
.review-accordion textarea,
.review-accordion select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #0000001A;
    border-radius: 6px;
    background: #FFFFFF;
    color: #00131F;
    font-size: 14px;
    box-sizing: border-box;
}

/* Textarea */
.review-accordion textarea {
    min-height: 110px;
    resize: vertical;
}

    /* Focus */
    .review-accordion input:focus,
    .review-accordion textarea:focus,
    .review-accordion select:focus {
        outline: none;
        border-color: #B8B1F1;
        box-shadow: 0 0 0 2px rgba(184, 177, 241, 0.15);
    }

/* Character Counter */
.review-accordion .char-counter,
.review-accordion .text-end {
    font-size: 11px;
    color: #9CA3AF;
    margin-top: 4px;
}

/* Checkbox */
.review-accordion input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: #7C6AF3;
}

/* Spacing Between Fields */
.review-accordion .space-y-1\.5 {
    margin-bottom: 18px;
}

/* Card Override */
.review-accordion .card {
    box-shadow: none;
    background: transparent;
}

/* Bootstrap Override */
.review-accordion .accordion-button,
.review-accordion .accordion-button:not(.collapsed) {
    background: transparent;
    box-shadow: none;
}

/* Closed Hover */
.review-accordion .accordion-header:hover {
    background: #F4F4F4;
}

/* Open Hover */
.review-accordion .accordion-item.active .accordion-header:hover,
.review-accordion .accordion-item:has(.accordion-body) .accordion-header:hover {
    background: #F6F6FF;
}

.page-type-section {
    margin-bottom:20px;
    background: #FFFFFF;
}

.section-label {
    display: block;
    font-family: 'Gilroy';
    font-size: 14px;
    font-weight: 600;
    color: #000000;
}

.font-italic-caption {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0;
    color: #808080;
}

.semibold-text {
    font-family: 'Gilroy', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0;
    color: #808080;
}

.semibold-dark-text {
    font-family: 'Gilroy', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0;
    color: #000000;
}

.upload-btn {
    height: 32px;
    padding: 8px;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    background: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-family: 'Gilroy', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0;
    color: #000000;
    cursor: pointer;
}

.upload-btn img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.brand-field {
    width: 100%;
}

.brand-label {
    font-family: 'Gilroy', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
    color: #000000;
    display: block;
    margin-bottom: 12px;
}

.brand-select-wrapper {
    position: relative;
    width: 100%;
}

.brand-select {
    width: 100%;
    height: 62px;
    padding: 0 20px;
    border: 1px solid #5B2EFF;
    border-radius: 14px;
    background: #FFFFFF;
    font-family: 'Gilroy', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

/* Custom Arrow */
.brand-select-wrapper::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 12px;
    height: 12px;
    transform: translateY(-50%);
    background-image: url('/images/schemaadvIcon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

.brand-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(91, 46, 255, 0.1);
}

.page-type-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}


.page-type-card:hover {
    background: #ffffff;
    border-color: #bcbcbc;
}

.page-type-card.active {
    background: #f7f7f7;
    border-color: #cfcfcf;
}

.page-type-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.page-type-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    min-height: 40px;
    background: #F5F5F5;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    cursor: pointer;
}

.page-type-card.selected {
    background: #F7F3FF;
    border: 1px solid #4F2CCF;
}

.page-icon {
    width: 16px;
    height: 16px;
}

.page-title {
    font-size: 12px;
    font-weight: 500;
    color: #1F1F1F;
}

.page-type-card.selected .page-title {
    color: #4F2CCF;
}

.selected-icon {
    width: 18px;
    height: 18px;
    margin-left: auto;
}


.sections-container {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.country-search-container {
    position: relative;
    width: 100%;
   
}

.country-search-input {
    width: 100%;
    height: 48px;
    border: 1px solid #ffffff;
    border-radius: 8px;
    background: #FFFFFF;
    font-size: 14px;
    color: #00131F;
    outline: none;
    padding: 0 42px 0 42px;
}

.country-search-input::placeholder {
    color: #9CA3AF;
    font-weight: 400;
    height:20px;
}

    .country-search-input:focus {
        border-color: #ffffff;
    }

.search-clear-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 0;
    z-index: 2;
}

    .search-clear-btn img {
        width: 13px;
        height: 13px;
        display: block;
        opacity: 0.7;
        transition: opacity 0.2s ease;
        color: #1C1B1F;
    }

    .search-clear-btn:hover img {
        opacity: 1;
    }

.country-list-container {
    flex: 1;
    overflow-y: auto;
    padding-right: 4px;

}

.selected-countries-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.selected-country-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid #2B0695;
    border-radius: 5px;
    background: #fff;
    min-width: auto;
    height: 48px;
}


    .selected-country-chip input[type="checkbox"] {
        accent-color: #2B0695;
    }

    .selected-country-chip .country-name {
        font-size: 14px;
        font-weight: 500;
    }

.language-badge {
    padding: 2px 6px;
    font-size: 10px;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    background: #F8F8F8;
    color: #6F6F6F;
}

.selected-countries-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 12px;
    color: #6F6F6F;
}

.clear-all-btn {
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
    color: #1F2B33;
}
.zone-card.selection-card {
   margin-right: 15px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.search-icon img {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

.dropdown-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    cursor: pointer;
}

.dropdown-icon img {
    width: 12px;
    height: 12px;
}


.table-container {
    overflow: visible !important;
}

.briefs-table {
    width: 100%;
    background: transparent;
    border-collapse: collapse !important;
    border-spacing: 0 12px !important;
    margin-top:10px !important;

}

    .briefs-table thead th {
        background: #1F2B33;
        color: #FFFFFF;
        font-family: 'Gilroy', sans-serif;
        font-weight: 600;
        font-size: 14px;
        line-height: 14px;
        letter-spacing: 0;
        padding: 20px 16px;
        text-align: center;
        border: none;
    }

        .briefs-table thead th:first-child {
            border-top-left-radius: 12px;
        }

        .briefs-table thead th:last-child {
            border-top-right-radius: 12px;
        }

    .briefs-table tbody td {
        background: #FFFFFF;
        padding: 16px 16px;
        vertical-align: middle;
        font-family: 'Open Sans', sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0;
        border-top: 1px solid #E5E7EB;
        border-bottom: 1px solid #E5E7EB;
    }

        .briefs-table tbody td:first-child {
            border-left: 1px solid #E5E7EB;
            border-radius: 12px 0 0 12px;
            width: 16px;
        }

        .briefs-table tbody td:last-child {
            border-right: 1px solid #E5E7EB;
            border-radius: 0 12px 12px 0;
        }

    .briefs-table tbody tr:hover td {
        background: #FAFAFF;
    }

    .briefs-table tbody tr {
        transition: all 0.2s ease;
    }

    .briefs-table tbody tr.brief-master-row.expanded td {
        border-bottom: none;
    }

    .briefs-table tbody tr.brief-child-row td {
        background: #FAFAFA;
        border-top: none;
    }

    .briefs-table tbody tr.brief-child-row:hover td {
        background: #F5F5F5;
    }

    .briefs-table tbody tr.brief-child-row td.brief-child-name {
        color: #878787;
        font-weight: 400;
        padding-left: 28px;
    }

    .briefs-table tbody tr.brief-child-row + tr.brief-child-row td {
        border-top: none;
    }

.briefs-table {
    border-collapse: unset !important;
    border-spacing: 0 12px;
}

.brief-group-expanded {
    outline: 1px solid #7C4DFF;
    outline-offset: -2px;
    border-radius: 12px;
}

    .brief-group-expanded tr:first-child td:first-child {
        border-top-left-radius: 0px;
    }

    .brief-group-expanded tr:first-child td:last-child {
        border-top-right-radius: 0px;
    }

    .brief-group-expanded tr:last-child td:first-child {
        border-bottom-left-radius: 0px;
    }

    .brief-group-expanded tr:last-child td:last-child {
        border-bottom-right-radius: 0px;
    }

    .workflow-status-cell {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 44px;
    }

    .workflow-status-cell-stacked {
        gap: 4px;
    }

    .workflow-status-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-height: 22px;
        padding: 2px 10px;
        border-radius: 999px;
        font-size: 10px;
        font-weight: 500;
        line-height: 1.2;
        white-space: nowrap;
    }

    .workflow-status-badge-draft {
        background: #F6ECE3;
        color: #8B5E3C;
        border: 1px solid #EBD9CB;
    }

    .workflow-status-badge-published,
    .workflow-status-badge-push {
        background: #E8F8EF;
        color: #1F8A4C;
        border: 1px solid #CFEEDD;
    }

    .workflow-status-badge-neutral {
        background: #F5F5F5;
        color: #8B8B8B;
        border: 1px solid #E0E0E0;
    }

    .workflow-status-badge-neutral-outline {
        background: #FFFFFF;
        color: #878787;
        border: 1px solid #D9D9D9;
        font-size: 9px;
        min-height: 16px;
        padding: 1px 8px;
        font-weight: 400;
    }

    .workflow-status-badge-failed {
        background: #FDEEEE;
        color: #C0392B;
        border: 1px solid #F5C6CB;
    }

    .workflow-status-sublabel {
        font-size: 10px;
        font-weight: 600;
        line-height: 1;
        color: #3B21B6;
        text-align: center;
    }

    .workflow-status-action-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        font-size: 10px;
        font-weight: 600;
        line-height: 1;
        color: #3B21B6;
        text-decoration: none;
        cursor: pointer;
        background: transparent;
        border: none;
        padding: 0;
        font-family: 'LOREAL Essentielle', sans-serif;
    }

    .workflow-status-action-link:hover {
        text-decoration: underline;
    }

    .workflow-status-action-link:disabled,
    .workflow-status-action-link-disabled {
        opacity: 0.6;
        cursor: not-allowed;
        text-decoration: none;
        pointer-events: none;
    }

    .workflow-status-action-loading {
        display: inline-block;
        width: 10px;
        height: 10px;
        border: 1.5px solid currentColor;
        border-top-color: transparent;
        border-radius: 50%;
        animation: workflow-status-spin 0.8s linear infinite;
    }

    @keyframes workflow-status-spin {
        to {
            transform: rotate(360deg);
        }
    }

    .workflow-status-progress-text {
        font-size: 10px;
        font-weight: 400;
        color: #00131F;
        line-height: 1.2;
    }

    .briefs-table tbody tr.brief-master-row.expanded + tr.brief-child-row td {
        border-top: 1px solid #E5E7EB;
    }


.brief-name-cell {
    min-width: 260px;
    max-width: 320px;
    font-weight: 500;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
}

.brief-title-hover {
    font-family: "LOREAL Essentielle", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
    transition: color 0.2s ease;
}

    .brief-title-hover:hover {
        color: #2B0695;
        cursor: pointer;
    }

.briefs-table tbody tr:hover td {
    background: #FAFAFF;
}

.briefs-table tbody.brief-group-expanded .brief-master-row .brief-title-hover {
    color: #2B0695;
}

.briefs-table tbody.brief-group-expanded .brief-master-row td {
   background-color: #FAFAFF !important;
}

.briefs-table tbody tr:hover .brief-title-hover {
    color: #2B0695;
}

.file-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.file-details {
    min-width: 0;
}

.delete-file-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .delete-file-btn img {
        width: 20px;
        height: 20px;
    }

.upload-area {
    display: block;
    cursor: pointer;
}

.upload-zone {
    position: relative;
}

.invisible-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/* Prevent rest of section from opening file dialog */
.radio-option {
    cursor: default;
}

.section-label,
.font-italic-caption {
    pointer-events: none;
}

.import-card {
    background: #FAFAFA;
    border: 1px solid #D9D9D9;
    border-radius: 12px;
    padding: 20px;
}

.import-title {
    font-family: 'Gilroy', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.import-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-style: italic;
    color: #808080;
    margin-bottom: 20px;
}

.upload-zone {
    border: 1px dashed #4E3FC0 !important;
    border-radius: 12px;
    min-height: 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: #F9F9FF !important;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: #FFFFFF;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    font-family: 'Gilroy', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
}

.upload-text {
    margin-top: 8px;
    font-family: 'Gilroy', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #757575;
}

.file-card {
    border: 1px solid #CED3D6;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFF;
    flex-direction: column
}

.file-info {
    display: flex;
    align-self: flex-start;
    align-items:center;
    gap: 12px;
    width: 100%;
}

/*.file-name {
    font-family: Gilroy, sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 22px;
    letter-spacing: 0;
    color: #1A3547;
    text-align: left;
    text-overflow: ellipsis;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.file-size {
    font-family: "LOREAL Essentielle", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0;
    color: #6F6F6F;
    text-align: left;
}

.file-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
}*/

.file-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.file-name {
    font-family: Gilroy, sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 22px;
    color: #1A3547;
    word-break: break-word;
    overflow-wrap: break-word;
}

.file-size {
    font-family: "LOREAL Essentielle", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    color: #6F6F6F;
    white-space: nowrap;
}

.file-name,
.file-size {
    display: inline;
}


.upload-progress {
    margin-top: 12px;
    width: 100%;
}

.file-card.uploading {
    border-color: #CED3D6;
}

.file-card.success {
    border-color: #2DBE7F;
}

.file-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.upload-progress-container {
    width: 100%;
    margin-top: 12px;
}
/*Countries DropDown*/
.country-language-panel {
    border: 1px solid #6F42C1;
    border-radius: 8px;
    padding: 12px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: calc(100vh - 280px);
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.search-container {
    position: relative;
}

.search-input {
    width: 100%;
    height: 40px;
    padding: 0 40px 0 36px;
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    font-size: 12px;
}

.search-container .fa-search {
    position: absolute;
    left: 12px;
    top: 12px;
    color: #999;
}

.close-btn {
    position: absolute;
    right: 10px;
    top: 7px;
    border: none;
    background: none;
    cursor: pointer;
    color: #666;
}


.selection-card {
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    background: #fff;
    padding: 10px;
}

.selection-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.selection-title {
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.flag-container {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    margin-left: auto;
}

.flag-icon {
    width: 18px;
    height: 12px;
    border-radius: 2px;
    object-fit: cover;
}

.flag-icon-large {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

.count-badge {
    font-size: 10px;
    background: #F3F4F6;
    padding: 2px 6px;
    border-radius: 4px;
    color: #6B7280;
}

.country-code {
    margin-left: auto;
    font-size: 10px;
    color: #8A8A8A;
    background: #F5F5F5;
    padding: 2px 6px;
    border-radius: 4px;
}

.add-btn {
    margin-top: 8px;
    width: auto;
    height: 38px;
    border: none;
    border-radius: 6px;
    background: #D1D5DB;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

    .add-btn:not(:disabled) {
        background: #6F42C1;
    }

 /*ZoneCard Style*/
.zone-card {
    display: flex;
    gap: 8px;
    padding: 8px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    margin-bottom: 4px;
    background: #fff;
}

.zone-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    align-self: center
}

.zone-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.zone-top-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.zone-name {
    margin-right: 8px;
}

.lang-chip {
    height: 20px;
    width: auto;
    padding: 2px 4px;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    font-size: 8px;
    color: #000000;
    display: flex;
    align-items: center;
}


.lang-chip-country {
    height: 20px;
    width: auto;
    padding: 2px 4px;
    border: 1px solid #0000001A;
    border-radius: 4px;
    font-size: 8px;
    color: #000000;
    display: flex;
    align-items: center;
}

.flags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    align-items: start;
}

.country-flag {
    width: 20px;
    height: 16px;
    border-radius: 2px;
}

.country-zone-names {
    font-family: 'LOREAL Essentielle', sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0;
    color: #6F6F6F;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;
    width: 100% !important;
}

    .zone-card, .country-zone-names.selected-country-action {
        margin-top: 10px;
    }

.zone-name,
.country-name {
    font-family: 'Gilroy', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0;
    color: #1F2B33;
}

.country-zone-names span:last-child {
    margin-left: auto;
}

.selected-brand {
    border: 1px solid #6A38F5;
}

.breadcrumb-title {
    color: #1E1E1E;
    cursor: pointer;
    font-family: Gilroy;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
}

.selected-country-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.add-country-btn {
    background: linear-gradient(90deg, #3A5161 0%, #638AA6 100%);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 16px;
    font-family: Gilroy, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    width: auto; /* important */
    min-width: 155px; /* optional */
}

.add-country-btn:disabled,
.add-country-btn[disabled] {
    background: #C8D0D8 !important;
    color: #FFFFFF !important;
    cursor: not-allowed;
    opacity: 1;
    border: none;
}

    .add-country-btn:hover {
        background: #3a3a3a;
        border-color: #E3A535;
    }

    .add-country-btn:active {
        transform: translateY(1px);
    }


/* Container */
.review-page-form {
    max-width: 640px;
}

    /* Labels */
    .review-page-form .form-label {
        font-size: 14px;
        font-weight: 600;
        color: #5C6B7A;
        margin-bottom: 6px;
        display: block;
    }

    .review-page-form .form-helper {
        font-size: 12px;
        color: #8A94A6;
        margin-bottom: 12px;
    }

/* Language field */
.field-section {
    margin-bottom: 28px;
}

.field-label {
    font-size: 14px;
    font-weight: 600;
    color: #5C6B7A;
    margin-bottom: 6px;
    display: block;
}

.field-hint {
    font-size: 12px;
    color: #8A94A6;
    margin-bottom: 12px;
}

/* Dropdown */
.language-dropdown-container {
    position: relative;
   width: 100%;
}

.review-language-dropdown {
    height: 48px;
    border: 1px solid #2B0695;
    border-radius: 10px;
    background: #FFF;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.review-language-dropdown img,
.language-dropdown-item img {
    width: 16px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

.review-language-left {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

/* EN chip */
.review-language-chip {
    background: #F3F3F3;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 12px;
    color: #7B7B7B;
    font-weight: 500;
    white-space: nowrap;
}

.language-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    background: #FFF;
    border: 1px solid #E5E5E5;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 19, 31, 0.08);
    padding: 6px;
    max-height: 240px;
    overflow-y: auto;
}

.language-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
}

.language-dropdown-item:hover {
    background: #F7F5FF;
}

    .language-dropdown-item.selected {
        background: #B8B1F159;
    }

.language-dropdown-item .review-language-chip {
    margin-left: auto;
}

.language-dropdown-item.disabled {
        pointer-events: none;
        cursor: not-allowed;
        opacity: 0.6;
}

/* Inputs */
.review-page-form .review-input,
.review-page-form .review-textarea {
    width: 100%;
    border: 1px solid #CFCFCF;
    border-radius: 10px;
    background: #FFF;
    color: #223547;
}

.review-page-form .review-input {
    height: 50px;
    padding: 0 16px;
}

.review-page-form .review-textarea {
    min-height: 150px;
    padding: 16px;
    resize: none;
}

    /* Focus */
    .review-page-form .review-input:focus,
    .review-page-form .review-textarea:focus {
        outline: none;
        border-color: #6B4EFF;
    }

/* URL */
.review-url-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.review-url-prefix {
    font-size: 14px;
    color: #5C6B7A;
    white-space: nowrap;
}

/* Counter */
.review-counter {
    text-align: right;
    font-size: 12px;
    color: #7D8797;
    margin-top: 6px;
}

/* Spacing */
.review-form-group {
    margin-bottom: 28px;
}

.language-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    background: #FAFAFA;
}

.language-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .language-left input[type="radio"] {
        margin: 0;
        width: 16px;
        height: 16px;
        accent-color: #1A3547;
        flex-shrink: 0;
    }

    .language-left img {
        width: 16px;
        height: 16px;
        object-fit: cover;
        flex-shrink: 0;
    }

.country-name {
    font-weight: 500;
}

.language-dropdown-item.selected {
    border: 1px solid #6f42ff;
    background: #f7f4ff;
}

.approval-text {
    font-size: 12px;
    color: #8f8f8f;
    font-style: italic;
}


.finalizepagebriefs-container {
    width: calc(100% - 64px);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    margin: 0 32px 24px;
}

.finalizepagebriefs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.finalizepagebriefs-status-pills {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.finalize-pill {
    font-family: "LOREAL Essentielle", sans-serif;
    display: inline-flex;
    align-items: center;
    height: 16px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 400;
    white-space: nowrap;
}

.finalize-pill-complete {
    background: #e8f8ef;
    color: #1f8a4c;
    border: 1px solid #cfeedd;
}

.finalize-pill-outline {
    background: #fff;
    color: #5b2cd3;
    border: 1px solid #cbbaf8;
}

.finalizepagebriefs-push-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #bcaefc;
    color: #5b2cd3;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 10px;
    font-weight: 400;
    cursor: pointer;
}

    .finalizepagebriefs-push-all-btn img,
    .finalizepagebriefs-push-btn img {
        width: 12px;
        height: 12px;
    }

.finalizepagebriefs-push-all-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.finalizepagebriefs-row {
    display: grid;
    grid-template-columns: minmax(180px, 1.4fr) 90px 110px minmax(160px, 1fr) 40px;
    align-items: center;
    gap: 16px;
    min-height: 74px;
    padding: 14px 24px;
    border-bottom: 1px solid #efefef;
}

.finalizepagebriefs-row:last-child {
    border-bottom: none;
}

.finalizepagebriefs-title {
    font-size: 14px;
    font-weight: 500;
    color: #2b0695;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.finalizepagebriefs-locale {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.finalize-flag {
    width: 28px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
}

.finalize-lang-chip {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 20px;
    padding: 0 6px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #f8f8f8;
    color: #6b7280;
    font-size: 10px;
    font-weight: 500;
}

.finalize-star {
    width: 10px;
    height: 10px;
}

.finalizepagebriefs-datetime {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* horizontal center */
    text-align: center;
    color: #4b5563;
    font-size: 12px;
    line-height: 1.45;
    align-content: center;
}

.finalizepagebriefs-status-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.finalizepagebriefs-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}

.finalizepagebriefs-status.done {
    background: #e8f8ef;
    color: #1f8a4c;
    border: 1px solid #cfeedd;
}

.finalizepagebriefs-status.progress {
    background: #f5f5f5;
    color: #8b8b8b;
    border: 1px solid #e0e0e0;
}

.finalizepagebriefs-status.draft {
    background: #F6ECE3;
    color: #8B5E3C;
    border: 1px solid #EBD9CB;
}

.finalizepagebriefs-status.failed {
    background: #FDEEEE;
    color: #C0392B;
    border: 1px solid #F5C6CB;
}


.finalizepagebriefs-status-label {
    font-family: 'LOREAL Essentielle', sans-serif;
    font-weight: 600;
    font-size: 10px;
    line-height: 100%;
    letter-spacing: 0;
    color: #3B21B6;
    text-align: center;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.finalizepagebriefs-status-label.disabled {
    cursor: default;
    pointer-events: none;
}

.finalizepagebriefs-status-label:not(.disabled) {
    cursor: pointer;
}


.finalizepagebriefs-push-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid #bcaefc;
    background: #fff;
    color: #5b2cd3;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.finalize-view-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2b69ff;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
}

.finalize-view-link:hover {
    text-decoration: underline;
}

.finalizepagebriefs-menu {
    display: flex;
    justify-content: flex-end;
}

.finalize-menu-btn {
    border: none;
    background: transparent;
    padding: 4px;
    cursor: pointer;
    line-height: 0;
}

.finalize-menu-btn img {
    width: 16px;
    height: 16px;
}

.finalizepagebriefs-push-btn:hover,
.finalizepagebriefs-push-all-btn:hover:not(:disabled) {
    background: #f8f5ff;
}

@media (max-width: 900px) {
    .finalizepagebriefs-container {
        margin: 0 16px 24px;
    }

    .finalizepagebriefs-row {
        grid-template-columns: 1fr 40px;
        gap: 10px;
    }

    .finalizepagebriefs-locale,
    .finalizepagebriefs-datetime,
    .finalizepagebriefs-status-section {
        grid-column: 1;
    }

    .finalizepagebriefs-menu {
        grid-column: 2;
        grid-row: 1;
    }
}

.brief-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brief-breadcrumb-label {
    font-family: Gilroy;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    color: #757575;
}

.brief-breadcrumb-arrow {
    width: 20px;
    height: 20px;
}

.brief-title-display {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
}

.brief-title-text {
    font-family: Gilroy;
    font-size: 16px;
    font-weight: 600;
    color: #1E1E1E;
}

.brief-edit-icon {
    width: 16px;
    height: 16px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    flex-shrink: 0;
    visibility: visible;
    opacity: 1;
}

    /*.brief-edit-icon.is-visible,
    .brief-title-display:hover .brief-edit-icon {
        visibility: visible;
        opacity: 1;
    }*/

.alert-close {
    margin-left: auto;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.alert-close:hover {
 opacity: 1;
}
.processing-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: var(--sidebar-width, 250px);
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(3px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page .sidebar.collapsed ~ main .processing-overlay,
.page .sidebar.collapsed ~ main .modal-overlay {
    left: var(--sidebar-collapsed-width, 60px);
}

.processing-content {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    min-width: 320px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

    .processing-content h4 {
        margin: 16px 0 8px;
        color: #2B0695;
        font-size: 18px;
        font-weight: 600;
    }

    .processing-content p {
        margin: 0;
        color: #666;
        font-size: 14px;
    }

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #E5E7EB;
    border-top: 4px solid #2B0695;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.brief-name-input-wrapper {
    position: relative;
    min-width: 0;
    display : inline-block;
}

.clear-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    color: #666;
    font-size: 18px;
    line-height: 1;
    padding: 0;
    align-items: center;
    justify-content: center;
}

    .clear-btn:hover {
        color: #2B0695;
    }

.approval-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    color: #6FA73C;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6FA73C;
    flex-shrink: 0;
}

.brief-actions {
    position: relative;
    display: inline-block;
}

.action-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 120px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    z-index: 1000;
}

.action-menu-item {
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: transparent;
    text-align: center;
    cursor: pointer;
    font-family: 'Gilroy';
    font-size: 12px;
    font-weight:400;
}

.action-menu-item:hover {
    background: #F8F8F8;
}

.action-menu-item.delete {
    color: #D92D20;
}

    .action-menu-item.delete {
        color: #D92D20;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .action-menu-item.delete img,
        .action-menu-item.delete svg {
            color: #D92D20;
            fill: #D92D20;
            stroke: #D92D20;
        }
.expand-arrow {
    margin-right: 5px;
    transition: transform 0.2s ease;
}

.expand-arrow.expanded {
    transform: rotate(180deg);
}

/* Step 2 review inner tabs */
.review-container {
    margin: 0 32px 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
}

.step2-inner-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 24px;
}

.step2-inner-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #767676;
    cursor: pointer;
    margin-bottom: -1px;
    transition: color 0.15s, border-color 0.15s;
}

.step2-inner-tab:hover {
    color: #00131F;
}

.step2-inner-tab.active {
    color: #00131F;
    border-bottom-color: #1A3547;
    font-weight: 600;
}

.master-brief-section,
.localize-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.master-brief-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    gap: 16px;
}

.master-brief-card-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.master-brief-card-left img {
    width: 16px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

.master-brief-card-status {
    flex-shrink: 0;
}

.master-brief-pending {
    font-size: 13px;
    color: #767676;
    font-weight: 500;
}

.localize-list-toolbar {
    padding: 0 0;
    border-bottom: 0px solid #f0f0f0;
}

.localize-select-all {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #00131F;
    cursor: pointer;
    margin: 0;
    line-height: 1;
}

    .localize-select-all input[type="checkbox"] {
        width: 16px;
        height: 16px;
        accent-color: #1A3547;
        margin: 0;
        vertical-align: middle;
        flex-shrink: 0;
    }

.localize-language-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.localize-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.localize-status-approved {
    color: #6FA73C;
}

.localize-status-progress {
    color: #767676;
}

.localize-status-draft {
    color: #767676;
}

.localize-language-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid #CED3D6;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s;
    background: #fff;
}

.localize-language-row:last-child {
    margin-bottom: 0;
}

.localize-language-row:hover:not(.disabled) {
    background: #fafafa;
}

.localize-language-row.selected {
    border-color: #2B0695;
    background: #fff;
}

.localize-language-row.disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.localize-language-row.disabled:hover {
    background: #fff;
}

.localize-language-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #1A3547;
    flex-shrink: 0;
}

.localize-language-row-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.localize-language-row-info img {
    width: 16px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.localize-language-row-status {
    flex-shrink: 0;
    margin-left: auto;
}

.localize-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 8px;
}

.localize-detail-section {
    margin-top: 8px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.product-details-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.media-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 32px;
    margin-bottom: 32px;
}

.media-card {
    width: 120px;
    height: 120px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid #5a3eff;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

    .media-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.delete-media-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: rgba(80,80,80,.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.add-media-icon {
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.media-add-card:hover .add-media-icon {
    opacity: 1;
}

.media-file-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    color: white;
    font-size: 13px;
    background: linear-gradient( to top, rgba(0,0,0,0.75), rgba(0,0,0,0) );
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.media-add-card {
    border: 2px dashed #C5C5C5 !important;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #FAFAFA;
}

    .media-add-card.drop-zone-active {
        border-color: #4E3FC0 !important;
        background: #F5F3FF;
    }

.media-add-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    margin: 0;
}

.upload-disabled {
    opacity: 0.6;
    pointer-events: none;
}

.component-media-label {
   position: relative;
   z-index: 2;
   margin-bottom: 6px;
   display: block;
}

.component-media-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.visual-media-file-name {
    bottom: 0;
    left: 0;
    right: 0;
    color:black;
    padding: 10px;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flag-icon {
    width: 24px;
    height: 18px;
    
}

.country-flag {
    width: 24px !important;
    height: 18px !important;
    min-width: 24px;
    max-width: 24px;
    min-height: 18px;
    max-height: 18px;
    object-fit: contain;
}