/* js/components/enhanced_search/styles/search-styles.css */

/* Core Layout Container System Layouts */
.canvas-container {
 
}

.search-wrapper-relative {
    position: relative;
    width: 100%;
    margin-bottom: 24px;
    /* z-index: 1000; */
}

/* 2026 Floating Input Field Pill Box Group */
.search-pill-box {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 100px;
    padding: 12px 16px;
    width: 100%;
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-pill-box:focus-within {
    background-color: #ffffff;
    border-color: #111111;
    box-shadow: 0 4px 20px rgba(17, 17, 17, 0.04);
}

/* Contextual Restrictive Profile Scope Badge */
.scope-chip-badge {
    display: flex;
    align-items: center;
    background-color: #111111;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 100px;
    margin-right: 8px;
    white-space: nowrap;
}

.scope-chip-close {
    margin-left: 6px;
    cursor: pointer;
    opacity: 0.6;
    font-size: 10px;
    transition: opacity 0.15s ease;
}

.scope-chip-close:hover {
    opacity: 1;
}

/* Global Search Dropdown — full-height overlay panel.
   Acts like an overlay on top of the window (position: fixed, reaches the
   screen bottom) but reads like a component swap: solid panel, flat bottom
   edge, aligned to the search column. top/left/width are set at runtime in
   SearchBarView.positionFullHeightOverlay() so it lines up with the search bar. */
.global-search-dropdown {
    position: fixed;
    bottom: 0;
    background-color: #ffffff;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 30px rgba(17, 17, 17, 0.06);
    border: 1px solid rgba(17, 17, 17, 0.05);
    border-bottom: none;
    padding: 12px 0;
    overflow-y: auto;
    z-index: 1000;
}

/* 🚀 The Global Search Escape Hatch Row Component */
.global-override-row {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    background-color: rgba(238, 0, 0, 0.04); /* Light Verizon Red Accent Tint */
    border-bottom: 1px solid rgba(17, 17, 17, 0.04);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.global-override-row:hover {
    background-color: rgba(238, 0, 0, 0.08);
}

.dropdown-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6C757D;
    padding: 12px 20px 6px 20px;
}

.dropdown-suggest-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 14px;
    color: #111111;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.dropdown-suggest-item:hover {
    background-color: #f8f9fa;
}

.suggest-item-icon {
    margin-right: 14px;
    font-size: 16px;
    color: #6C757D;
}

/* Flexible Category Tabs System Modules */
.pill-tabs-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.pill-tab-node {
    padding: 8px 16px;
    border-radius: 100px;
    background-color: #f8f9fa;
    color: #6C757D;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pill-tab-node.active {
    background-color: #111111;
    color: #ffffff;
}

/* Asymmetric Timeline Media Matrix System Grid Elements */
.asymmetric-media-matrix {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.media-asset-node {
   
}

/* Widescreen Priority Aspect Ratio Mapping */
.media-asset-node.hero-block-span {
  
}

.media-asset-node:hover {
    transform: scale(1.02);
    /* box-shadow: 0 8px 24px rgba(17, 17, 17, 0.06); */
}

/* Floating Circular Overlay Multi-Select Checkboxes Indicators */
.floating-checkbox-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background-color: rgba(17, 17, 17, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 5;
    transition: all 0.2s ease;
}

/* Show selector on card hover, or force visible when active selection toggle sets are on */
.media-asset-node:hover .floating-checkbox-badge,
.media-asset-node.forced-selected-active .floating-checkbox-badge {
    opacity: 1;
}

.media-asset-node.forced-selected-active .floating-checkbox-badge {
    background-color: #EE0000; /* Crisp Verizon Red Core Accent Badge */
    border-color: #EE0000;
}

/* Bulk Management Glassmorphic Action Sheet */
.glassmorphic-action-sheet {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 100;
    animation: slideUpActionSheet 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideUpActionSheet {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Search grid checkbox visibility — mirror photos multiselect behavior.
   The check glyph itself is drawn by the generic default.css rule
   (.checkbox-custom:checked + .checkbox-custom-label:before); here we only
   control WHEN the label box is visible: on hover, in multi-select mode, or
   when the item is checked. The blue selection border comes from photo.css
   (.itemContainer .selectedItem .itemContent) since the template now adds the
   selectedItem class. */
.search-grid-view .checkbox-wrapper .checkbox-custom-label {
    visibility: hidden;
}

.search-grid-view .gridElem:hover .checkbox-custom-label,
.search-grid-view.multiSelectMode .checkbox-custom-label,
.search-grid-view .checkbox-custom:checked + .checkbox-custom-label {
    visibility: visible;
}

/* Month/year group checkboxes always visible */
.search-grid-view .month-group-checkbox-wrapper .checkbox-custom-label {
    visibility: visible !important;
}

/* List view checkboxes always visible */
.search-grid-view.list-view .checkbox-wrapper .checkbox-custom-label {
    visibility: visible !important;
}

.bulk-actions .bulk-share-btn, .bulk-actions .bulk-favorite-btn, .bulk-actions .bulk-download-btn, .bulk-actions .bulk-album-btn,.bulk-actions .bulk-delete-btn{
    background: none; 
    border: none; 
    cursor: pointer;
}

.bulk-actions .bulk-delete-btn{
    position: relative;
    top: 1px;
}

.bulk-actions .bulk-unselect-all-btn{
    margin-left: auto;
    font-size: 18px;
    padding: 6px;
    position: relative;
    top: -1px;
    left: -5px;
    background: none;
    border: none;
    color: #000;
}

.bulk-actions .albumIcon {
    display: inline-block;
    width: 24px;
    height: 18px;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAASCAYAAAC5DOVpAAAAAXNSR0IArs4c6QAAAbVJREFUOBGdkj9Lw2AQxn2TWlMrLjrYji6CTtqU4FDBTaoWV6EIboKLm+AXECdxEuoiOKmomHwAByH0D/UTlIoIKrqJlIIk8bnQK018hzaBl3vvcs8vd5cTuq5feJ5XHIrwCCGaqqrOVyqVb5IrOJsROL4ERUw7jmOwXmQyGY+dKBbV5VOplArtSCwKIKxBhRrOMrUpe1wEH3FaspeymKIor1IYSj+r1+tLSNiVCcOxRCJxZ5rmkbRNlDybzWanYHUSAm7DzMCfCIPIb7fbG4VCYVQKg3jOdd33jvAHFRbx1wh81YkFDD4CiViUtdmIx+MLyP4kBUD71Wr1GW1fQ3AZoPQ4ADbCMBr8tm3bL1jGHdwfADplDc0QwA/22WLxby3LOg7v2Qkq2OMkwzDGebs5hlmuYwQm+4Dn0+m0h9hwb2UNJBxwEtkwiGK1Ws2COac7PwCNoc2V7g+g2WialszlcklOYovhC7qzhfAQ9zWEJjkH+rcuDPSbVqvvHWWGb9HmPY7ThQXeDuiUSqVfkvTObEDE/3SCff0P9x/BCvn7SIoYBreFga72Lw9kNsvl8hPWww/+AUFqnzgs/grPAAAAAElFTkSuQmCC) no-repeat;
    background-size: contain;
}


.bulk-actions .vz-icon-share {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    bottom: 4px;
    color: #000;
}

.bulk-actions .vz-icon-share:hover,.bulk-actions .bulk-favorite-btn .svg-icon-star:hover,.bulk-actions .bulk-unselect-all-btn:hover {
    color: #CD040B !important;
}

.bulk-actions .bulk-favorite-btn .svg-icon-star.selected, .bulk-actions .bulk-favorite-btn .svg-icon-star:hover {
    background-position: -42px -445px;
}

.bulk-actions .svg-icon-star {
    display: inline-block;
    width: 18px;
    background-repeat: no-repeat;
    position: relative;
    top: 1px;
}

.bulk-actions .svg-icon-download {
   display: inline-block;
    width: 18px;
    background-repeat: no-repeat;
    position: relative;
    top: 3px;
}

.bulk-actions .albumIcon {
    display: inline-block;
    width: 18px;
    height: 26px;
    background-repeat: no-repeat;
    position: relative;
    top: 10px;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAASCAYAAAC5DOVpAAAAAXNSR0IArs4c6QAAAbVJREFUOBGdkj9Lw2AQxn2TWlMrLjrYji6CTtqU4FDBTaoWV6EIboKLm+AXECdxEuoiOKmomHwAByH0D/UTlIoIKrqJlIIk8bnQK018hzaBl3vvcs8vd5cTuq5feJ5XHIrwCCGaqqrOVyqVb5IrOJsROL4ERUw7jmOwXmQyGY+dKBbV5VOplArtSCwKIKxBhRrOMrUpe1wEH3FaspeymKIor1IYSj+r1+tLSNiVCcOxRCJxZ5rmkbRNlDybzWanYHUSAm7DzMCfCIPIb7fbG4VCYVQKg3jOdd33jvAHFRbx1wh81YkFDD4CiViUtdmIx+MLyP4kBUD71Wr1GW1fQ3AZoPQ4ADbCMBr8tm3bL1jGHdwfADplDc0QwA/22WLxby3LOg7v2Qkq2OMkwzDGebs5hlmuYwQm+4Dn0+m0h9hwb2UNJBxwEtkwiGK1Ws2COac7PwCNoc2V7g+g2WialszlcklOYovhC7qzhfAQ9zWEJjkH+rcuDPSbVqvvHWWGb9HmPY7ThQXeDuiUSqVfkvTObEDE/3SCff0P9x/BCvn7SIoYBreFga72Lw9kNsvl8hPWww/+AUFqnzgs/grPAAAAAElFTkSuQmCC) no-repeat;
}

.bulk-actions .albumIcon:hover {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAASCAYAAAC5DOVpAAAAAXNSR0IArs4c6QAAAeVJREFUOBGdUs9LG1EQnnm7xtSYBNIK7bUoAUU0P6D0IvQipSW00JMggrdCL3oS/A88iScPXgRPtqhob730UOpt9eTJkFJ6aGlBbIy6idkZ30SeYTfvoBkW3ptv5vuY9+3gYU9yg5imoZtArKSSsdzQyUlV6EoLTXWj0+IwP62d158ZPnpugk3SzYmO80oBO8Tc63YjEOUQqzgzv1DRguQIQID4TV8vbHUbxsi/rGJaaK1wVZtQqD7YiFEs92Zyp1CvLlmfqU0cPkoMPPYbl0UhIuI+M2QB+GFUSPLD3S9vIZbus4ohw4hfv/gtjQhYcxxnmigoEsFHwSyhnYHnHc/UU5TBdfNa5K+QEGFhzP//I9eofdK1TYtQC1KKyyExMV4xzub9059K4Xst9XW8cbZqBB7EUTz8Y3Jz5hbnt8f86nJ4zxBXtPFzpuk4k0mZ7TaY15ssQUB7Jpc90x7L13M7mTzvyUBq0TTJGRUSrFA/+6yNXJe7CWTsB8KX7ckUvsMYyG51hCP/QYdibp1BU6WDgL/raR7JZMCYQAiy7b9JvMV+h04LaHbAFEJodHC3UCoFbbFQ+X5J0fOuwPPg1rP70e3dSu/TP3vpbijTzT5Kt8uOmkGi13ejhrsYuJJvnB7IZktcA5rcoXv34P3GAAAAAElFTkSuQmCC) no-repeat;
}

.bulk-actions .svg-icon-delete {
    display: inline-block;
    width: 18px;
    background-repeat: no-repeat;
}

/* List view row hover effect - match photos.css styling */
.search-grid-view.list-view .listContainer.list-row-item {
    background-color: transparent !important;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-grid-view.list-view .listContainer.list-row-item:hover {
    background-color: #E8F6FE !important;
}

.search-grid-view.list-view .listContainer.list-row-item.selectedItem {
    background-color: #E8F6FE !important;
}

.search-grid-view.list-view .listContainer.list-row-item.selectedItem:hover {
    background-color: #E8F6FE !important;
}

/* Select-all checkbox in list view header - always show checkmark when checked */
.search-grid-view.list-view .select-all-checkbox + .checkbox-custom-label {
    visibility: visible !important;
    border: 2px solid #ccc;
    border-radius: 3px;
    background-color: white;
    width: 18px;
    height: 18px;
    display: inline-block;
    cursor: pointer;
    position: relative;
}

.search-grid-view.list-view .select-all-checkbox:checked + .checkbox-custom-label {
    background-color: #000;
    border-color: #000;
}

.search-grid-view.list-view .select-all-checkbox:checked + .checkbox-custom-label:before {
    content: "\f00c";
    font-family: 'FontAwesome';
    color: #fff;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    visibility: visible !important;
}

/* Partial state for select-all - show "-" */
.search-grid-view.list-view .checkbox-custom-label-part {
    background-color: #000 !important;
    border-color: #000 !important;
}

.search-grid-view.list-view .checkbox-custom-label-part:before {
    content: "\f068";
    font-family: 'FontAwesome';
    color: #fff;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    visibility: visible !important;
}

/* List view header styling - match photos */
.search-grid-view.list-view .list-header-row {
    font-family: nhg-text-bold, Arial, Sans-Serif !important;
    font-weight: 600;
}

.search-grid-view.list-view .list-header-row > div {
    padding: 7px 4px 7px 11px;
    text-align: left;
    min-height: 33px;
    display: flex;
    align-items: center;
}

.search-grid-view.list-view .list-header-row > div[data-sort-field] {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.search-grid-view.list-view .list-header-row > div[data-sort-field]:hover {
    background-color: #dcdcdd;
}

/* Responsive list view for mobile/tablet */
@media (max-width: 768px) {
    .search-grid-view.list-view .list-header-row {
        display: none !important;
    }

    .search-grid-view.list-view .listContainer.list-row-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 10px !important;
        border: 1px solid #D2D3D4 !important;
        margin-bottom: 10px !important;
        border-radius: 4px;
        width: 100% !important;
    }

    .search-grid-view.list-view .listContainer.list-row-item > div {
        width: 100% !important;
        margin-bottom: 8px !important;
    }

    .search-grid-view.list-view .listItemContent.itemClick.preview {
        width: 60px !important;
        height: 60px !important;
        margin-right: 8px !important;
        margin-bottom: 0 !important;
        float: left;
    }
}

/* ----------------------------------------------------------------------
   Landing screen polish.
   These rules target the ACTUAL classes rendered on the search landing
   view. Inline styles on those elements still set base look; we only add
   properties that are NOT set inline (hover, transition) so nothing is
   overridden and no inline-style-based event binding is affected.
   ---------------------------------------------------------------------- */

/* Recent search pills — hook class added in renderLandingView. The inline
   "padding: 6px 12px" / "cursor: pointer" substrings are preserved on the
   element because the recent-search click handler is bound to them. */
.recent-search-pill {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.recent-search-pill:hover {
    background-color: #ffffff !important;
    border-color: #ee0000 !important;
    color: #ee0000 !important;
    box-shadow: 0 2px 8px rgba(238, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* People preview cards (avatar tiles) — class exists in people-preview-lane.html */
.avatar-card-item {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.avatar-card-item:hover {
    transform: translateY(-3px);
}

.avatar-card-item:hover .avatar-circle-frame {
    border-color: #ee0000 !important;
    box-shadow: 0 4px 12px rgba(238, 0, 0, 0.12);
}

.avatar-circle-frame {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* "View All" people link — class exists in people-preview-lane.html */
.view-all-people-trigger {
    color: #ee0000 !important;
    transition: opacity 0.2s ease;
}

.view-all-people-trigger:hover {
    text-decoration: underline !important;
    opacity: 0.8;
}

/* Empty-state icon — hook class added in renderLandingView */
.search-empty-icon {
    display: inline-block;
    animation: searchEmptyFloat 3s ease-in-out infinite;
}

@keyframes searchEmptyFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}