.share-book-btn {
    background-color: none;
    margin-left: 12px;
        margin-top: -2px;
}
.share-book-btn a {
    margin-left: 20px;
}

.share-book-btn a:hover {
    color: #DD5B19;
}

.text-orange{
    color: #DD5B19 !important;
}

.video-container {
    position: relative;
    width: 100%;
}

.poster-image {
    width: 100%;
    display: block;
}

video {
    width: 100%;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

 .single-coverage {
            display: flex;
            justify-content: center;
            width: 100%;
        }
        
        .single-coverage nav {
            display: flex;
            justify-content: center;
            width: 100%;
        }
        
        .custom_pagination, .dt-paging nav {
            display: flex;
            justify-content: center;
            gap: 4px;
            list-style: none;
            padding: 0;
            margin: 0;
            flex-wrap: wrap;
        }
        
        .custom_page-item {
            margin: 0;
        }
        
        .custom_page-link, .dt-paging-button {
            color: #333;
            border: none;
            padding: 8px 12px;
            font-weight: 500;
            border-radius: 6px;
            background: none;
            text-decoration: none;
            display: block;
            cursor: pointer;
        }
        
        .custom_page-item.custom_active .custom_page-link, .dt-paging-button.current {
            background-color: rgb(237, 125, 49, 0.1);
            color: rgb(237, 125, 49);
            font-weight: 600;
        }
        
        .custom_page-link:hover, .dt-paging-button:hover {
            background-color: rgb(237, 125, 49, 0.05);
            color: rgb(237, 125, 49);
        }
        
        .custom_page-item.custom_disabled .custom_page-link, .dt-paging-button.disabled {
            color: #9CA3AF;
            background: none;
            cursor: not-allowed;
            pointer-events: none;
        }
        
        .custom_page-link:focus, dt-paging-button:focus {
            outline: none;
        }


 /* Video container */
.video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Poster image styling */
.poster-image {
    width: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* Video element (hidden by default) */
video {
    display: none;
    width: 480px;
    object-fit: cover;
     
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    opacity: 0.9;
}

/* Hover effect */
.play-button:hover {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
}

/* SVG Styling */
svg {
    border-radius: 50%;
    overflow: visible;
}

/* Input box styling */
#brand-search {
    border: none; /* Remove border */
    outline: none; /* Remove blue focus outline */
    font-size: 14px; /* Adjust font size */
    color: #525252; /* Set the default font color */
    font-weight: 600;
    width: 100%; /* Ensure the input box uses full width */
    background: none; /* Make the background transparent */
}

#brand-search::placeholder {
    color: #525252; /* Set the placeholder text color */
}

/* Container for the suggestion list */
.tt-menu {
    width: 100%; /* Match the width of its parent container */
    margin-top: 30px; /* Keep the spacing from the input */
    margin-left: -20px; /* Shift the menu to the left by 20px */
    background-color: #fff; /* Keep background white */
    border-radius: 8px; /* Rounded corners */
   
    box-shadow: 0 4px 10px #EEE;
    padding: 0; /* No padding */
    z-index: 1000; /* Ensure the menu is on top */
}

/* Individual suggestions styling */
.tt-suggestion {
    width: 100%; /* Ensure suggestions stretch properly inside the wider menu */
    padding: 10px 20px; /* Add spacing on the left and right */
    display: flex; /* Align content properly */
    align-items: center; /* Center items vertically */
    border: none; /* Remove any border from suggestions */
    border-radius: 0; /* Remove rounded corners from individual suggestions */
    background-color: transparent; /* Transparent background for individual items */
    cursor: pointer; /* Pointer for hover */
    box-sizing: border-box; /* Ensure padding does not break width */
}

/* Hover effect for suggestions */
.tt-suggestion:hover {
    background-color: #f8f8f8; /* Add hover effect */
    padding-right: 20px; /* Ensure hover effect spans full width */
}

/* Highlight the active suggestion */
.tt-suggestion.tt-cursor {
    background-color: #e0e0e0; /* Highlight the active suggestion */
    padding-right: 20px; /* Ensure padding matches hover */
}

/* Individual suggestion styling */
.option-wrapper {
    display: flex; /* Arrange items in a row */
    align-items: center; /* Vertically center content */
    padding: 10px 20px; /* Add consistent spacing */
    cursor: pointer; /* Pointer on hover */
    box-sizing: border-box; /* Ensure padding doesn't overflow */
    border-radius: 10px; /* Rounded corners for the last suggestion */
    margin: 10px;
    width: 93%;
}

/* Image styling */
.option-img img {
    width: 24px; /* Set a consistent width */
    height: 24px; /* Set a consistent height */
    margin-right: 10px; /* Space between the image and text */
}

/* Text styling */
.option {
    font-size: 14px; /* Font size */
    color: #525252; /* Text color */
}

/* Hover effect */
.option-wrapper:hover {
    background-color: #f7f7f7; /* Light gray background */
    padding-right: 20px; /* Ensure hover spans full width */
}

/* Active suggestion highlight */
.tt-cursor {
    background-color: #e8f0fe; /* Slight blue highlight */
    padding-right: 20px; /* Ensure padding matches hover */
}


.search-select {
    display: block;
    width: 100%;
    font-size: 14px;
    color: #525252;
    font-weight: 600;
    width: 380px;
    -webkit-appearance: none;
    -moz-appearance: none;
    border:none;
}

.search-select:hover {
    background-color: #F8F8F8; /* Changes background color on hover */
    cursor: pointer; /* Changes cursor to pointer */
}

.search-select:focus {
    outline: none;
}


.caption-container {
    cursor: pointer;
    display: inline-block;
}

.caption-preview {
    display: inline;
}

.caption-full {
    display: none;
}

.caption-full.visible {
    display: inline;
}

.hidden {
    display: none;
}

/* OLD NAV-TOGGLE STYLES - COMMENTED OUT TO USE DESIGN SYSTEM STYLES FROM design-system.css */
/*
.nav-toggle-button, li.share-book-btn .nav-toggle-group a.nav-toggle-button:link,
li.share-book-btn .nav-toggle-group a.nav-toggle-button,
.nav-toggle-button.disabled{
    color: #656565 !important;
    font-size: 14px !important;
    font-weight: 500;
    display: flex;
    border: none;
    align-content: center;
    align-items: center;
    background-color: transparent !important;
    border-radius: 12px;
    padding: 6px 12px;
    min-width: 143px;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.nav-toggle-group.smaller .nav-toggle-button{
    font-size: 12px !important;
}

.nav-toggle-button.active{
    background-color: white !important;
    border: 1px solid #EEEEEE;
}

.hidden-mentions-toggle .nav-toggle-group, .nav-toggle-group{
    border-radius: 12px;
    padding: 3.2px;
    display: inline-flex;
}
.hidden-mentions-toggle .nav-toggle-group, .nav-toggle-group{height: 45px;}

.nav-toggle-group.smaller {height: 35px;}

.hidden-mentions-toggle .nav-toggle-group, .btn-macaron, .nav-toggle-group {
    background: #FEF7EE;
}
.nav-toggle-button img{margin-right:10px ;}
*/

/* Keep only btn-macaron styles that are not related to nav-toggle */
.btn-macaron{
    display: flex;
    border-radius: 50%;
    font-size: 12px;
    height: 1.5rem;
    width: 1.5rem;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    margin-left: .5rem;
    background: #FEF7EE;
}
.active .btn-macaron {
    border: 1px solid #FEF7EE;
}

.btn-zoom-coverage-img img{
    margin: 0 !important;
}

.btn-zoom-coverage-img .zoommable-img-holder:after{
    width: 40px;
    border-radius: 12px;
    height: 40px;
    display: block;
    content: " ";
    position: absolute;
    background-repeat: no-repeat !important;
    background-position: center !important;
    bottom: 12px;
    right: 12px;
}

.zoommable-img-holder.zoom-bg-white:after{
    background-color: rgba(255, 255, 255, .6) !important;
    background: url(/images/zoom-in.svg);
}

.zoommable-img-holder.zoom-bg-black:after{
    background-color: rgba(0, 0, 0, .6) !important;
    background: url(/images/zoom-white.svg) ;
}




.btn-zoom-coverage-img{
    border: none; background-color: initial; border-radius: initial;
    padding: 0;
    position: relative;
}

.modal-pink-rose .upper-half, .modal-rose-white .upper-half{
    min-height: 45%; height: 125px;
}
.modal-rose-white .upper-half{
    background: linear-gradient(to right, #FFECD2, #FCB69F);
}

.modal-pink-rose .upper-half{
    background: linear-gradient(to right, #E9DEFA, #FFF6EB);
}

.modal-rose-white .bottom-half, .modal-pink-rose .bottom-half{padding-top:60px ; padding-bottom:24px; flex-direction: column;
    justify-content: flex-start !important; color: #535862 }

.modal-pink-rose .bottom-half img{
    width: 75px;
}

body.brand-select-open{
    overflow: hidden;
    padding-right: 0px;
}

.dt-column-header:after{
    background: url('/images/chevron-selector-vertical.svg');
    width: 1rem;
    background-repeat: no-repeat;
    background-position: center;
    content: ">";
    text-shadow: none;
    color: transparent;
    display: inline-block;
    background-position-y: 1px;
    margin-left: .5rem;
}

.bg-main-gradient{
    background: linear-gradient(to right, #FFECD2, #FCB69F);
    background-size: cover;
}

.bg-main-red, .btn-main-reddish{background-color: #DD5B19;}
.red-point:after{content:".";font-weight:bold;color: #DD5B19; }
.btn-main-reddish:hover{background-color: #B34318;color: white;}
.btn-main-reddish{
    border-color: #8A2E10 !important;
    color: #fff;
}
.semi-bold{font-weight: 600;}
.medium-bold, .btn {font-weight: 500;}
.btn-transparent-white{
    background-color: transparent;
}
.btn-transparent-white:hover, .btn-white-outline:hover{
    background-color: #FAFAFA;
}

/* Button Variants with Icons */
.btn-secondary-brand {
    background: #FFF2ED;
    color: #CD5229;
    border: 1px solid #FFF2ED;
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
}
.btn-secondary-brand:hover {
    background: #FFE6DA;
    color: #CD5229;
    border-color: #FFE6DA;
}

.btn-tertiary {
    background: white;
    color: #6C757D;
    border: 1px solid #D5D7DA;
    padding: 6px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-family: Inter, sans-serif;
}
.btn-tertiary:hover {
    background: #FAFAFA;
    color: #6B6B6B;
    border-color: #D5D7DA;
}

.btn-quaternary {
    background: transparent;
    color: #687083;
    border: none;
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
}
.btn-quaternary:hover {
    background: #F9FAFB;
    color: #687083;
}

.dashboard-main-content-area.user-settings,
.dashboard-main-content-area.user-preferences {
    padding: 2px 2px 0 102px;
}


.btn-simpleToggle{color: #535862; font-size: 14px;}
.btn-simpleToggle:before{
    content: '>';
    color: transparent;
    width: 43px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: left center;
}
.btn-simpleToggle:before{background-image: url('/images/icn/toggle-off.svg') ;}
.btn-simpleToggle.active:before{background-image: url('/images/icn/toggle-on.svg') ;}
.d-flex-absCenter{
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
}

.h2_badge{
    font-weight: normal;
    font-weight: normal; padding: 0 0.5rem; font-size: 14px;
    margin-left: 10px;
    border:1px solid #D5D7DA;
}
th.no-order .dt-column-header:after{content: none}

/* Tag badge group and select2 choices - tag-badge is defined in design-system.css */
.tag-badge-group, .select-tagGroup .select2-selection__choice{
    display: inline-block;
    padding: 8px;
    border-radius: 12px;
    font-size: 0.875rem;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}

.tag-badge-group, .select-tagGroup .select2-selection__choice {
    background-color: #F4F3FF;
    border: 1px solid #D9D6FE !important;
    color: #5925DC !important;
}

.select-tagGroup .select2-selection__choice{
    display: flex;
    position: relative;
    padding-right: 25px !important;
    margin-top: 1px;
    border-radius: 20px !important;
    height: 24px
}
.select-tagGroup .select2-selection__choice button{
    position: absolute;
    right: 5px;
    width: .35rem !important;
    margin-top: 1px;
}

.select-tagGroup .select2-dropdown{
    background-color: #F4F3FF;
    border: 1px solid #D9D6FE !important;
    margin-top: 5px;
}

/* Override Bootstrap 5 Select2 theme - remove all blue colors */
.select2-container--bootstrap-5 .select2-results__option--selectable,
.select2-container--bootstrap-5 .select2-results__option {
    color: #333333 !important;
    background-color: #FFFFFF !important;
}

/* Unselected options hover */
.select2-container--bootstrap-5 .select2-results__option--highlighted:not([aria-selected="true"]),
.select2-container--bootstrap-5 .select2-results__option--selectable.select2-results__option--highlighted:not([aria-selected="true"]),
.select2-container--bootstrap-5 .select2-results__option[aria-selected="false"]:hover {
    background-color: #FFE5D080 !important;
    color: #333333 !important;
}

/* Selected options - always grayed out */
.select2-container--bootstrap-5 .select2-results__option[aria-selected="true"],
.select2-container--bootstrap-5 .select2-results__option--selected,
.select2-container--bootstrap-5 .select2-results__option[aria-selected="true"]:not(.select2-results__option--highlighted) {
    background-color: #F5F5F5 !important;
    color: #999999 !important;
}

/* Selected options on hover - still show hover effect */
.select2-container--bootstrap-5 .select2-results__option[aria-selected="true"]:hover,
.select2-container--bootstrap-5 .select2-results__option[aria-selected="true"].select2-results__option--highlighted {
    background-color: #FFE5D080 !important;
    color: #333333 !important;
}


.table-wrapper-with-abs-search-right .dt-search{width: fit-content;
    position: absolute;
    right: 2rem;
    top: 0;
}
.dt-search:before{
    background-image: url('/images/search-gray-400.svg');
    background-repeat: no-repeat;
    background-position: center;
    content: '>';
    color: transparent;
    width: 25px;
    position: relative;
    left: 2rem;
    height: 25px;
    display: inline-block;
}
.dt-search label{display: none;}
.dt-search input{
    width: 320px;
    height: 40px;
    border-radius: 12px;
    padding-left: 2.25rem;
    padding-right: 1rem;
    border: 1px solid #D5D7DA;
    font-size: 14px;
}

.dt-search input:focus{
    border:2px solid #ED7D31 ;
    outline: none;  /* Remove the blue outline */
    /* Or customize it: */
    /* outline: 2px solid #ff6b35; */
    /* outline-offset: 2px; */
}

#nav_dt_searchReceiver{
    _min-width: 345px;
}

.btn-white-outline{
    border: 1px solid #D5D7DA;
    background-color: white;
}
.btn-white-outline:hover{
    border:1px solid #D5D7DA;
}
.tags-header-actions {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.table.deleted td{
    background-image: url('/images/hidden-pattern.png');
    background-size: 1.5rem 1.5rem;
    background-position: top left;
    background-repeat: space
}
.table.deleted th{background-color: #FAFAFA;}

.border-radius-12{border-radius: 12px;}
.table.caption-up{caption-side: top;}
.dt-paging-noArrow .dt-paging-button.next, .dt-paging-noArrow .dt-paging-button.previous{display: none}

.table-wrapper-with-search .dt-layout-row{
    display: flex;
    justify-content : space-between;
    padding-bottom: 1rem;
}
.table-wrapper-with-search .dt-search{

}

.dt-layout-row.dt-layout-table{display: block}

/* Hide the first .dt-layout-row in each DataTables wrapper */
.dt-hide-original-search-wrapper .dt-container .dt-layout-row:first-child {
    display: none;
}

.tags-table th, .dataTable th{
    background-color: #FAFAFA;
    border-bottom: 1px solid #dee2e6;
}

.text-primary-gray{
    color: #181D27 !important;
}
.text-secondary-gray{color:#414651}

.text-tertiary-gray, td.text-tertiary-gray{
    color: #535862 !important;
}

/* Remove padding from the dropdown and results containers */
.select2-dropdown {
    padding: 0 !important;
    box-sizing: border-box !important;
}

.select2-results {
    padding: 0 !important;
    margin: 0 !important;
}

.select2-results__options {
    padding: 0 !important;
    margin: 0 !important;
}

/* Make highlighted option background span full width */
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #DD5B19 !important;
    color: white !important;
    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 8px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Ensure all select2 options have consistent padding */
.select2-results__option {
    padding: 8px 12px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.bg-secondary{
    background-color:#FAFAFA;
}

/* HTMX Loading Indicators */
.htmx-indicator {
    opacity: 0;
    transition: opacity 200ms ease-in;
}
.htmx-request .htmx-indicator {
    opacity: 1;
}
.htmx-request.htmx-indicator {
    opacity: 1;
}

/* Orange checkboxes (global) */
.form-check-input:checked {
    background-color: #ED7D31 !important;
    border-color: #ED7D31 !important;
}
.form-check-input:focus {
    border-color: #ED7D31 !important;
    box-shadow: 0 0 0 0.25rem rgba(237, 125, 49, 0.25) !important;
}

/* Shared table wrapper */
.brands-table-wrapper {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    overflow: hidden;
}
.brands-table {
    font-size: 0.875rem;
}

/* ===========================
   MOBILE OVERRIDES (< 1000px)
   =========================== */
@media all and (max-width: 999px) {
    /* Hide date picker from main page - it's in the burger menu */
    .date-picker-v2,
    .date-picker-trigger,
    .date-selector-button {
        display: none !important;
    }
}

