/* ==================== PHOTO SEARCH SHARED STYLES ==================== */

/* Photo choice popup */
.search-bar-inline {
    position: relative;
}

.photo-choice-popup {
    position: fixed;
    font-family: var(--font-ecommerce, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    background: var(--bg-white, var(--bg-white, #ffffff));
    border: 1px solid var(--border, #E0E4EC);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 2px;
    z-index: 99999 !important;
    min-width: 180px;
}

.photo-choice-popup .popup-arrow {
    position: absolute;
    top: -6px;
    width: 12px;
    height: 12px;
    background: var(--bg-white, var(--bg-white, #ffffff));
    border-left: 1px solid var(--border, #E0E4EC);
    border-top: 1px solid var(--border, #E0E4EC);
    transform: rotate(45deg);
    pointer-events: none;
}

.photo-choice-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: none;
    background: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark, #0A1128);
    font-family: var(--font-ecommerce, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    transition: background 0.12s ease;
    white-space: nowrap;
}

.photo-choice-option:hover {
    background: var(--primary-bg, hsl(232, 100%, 97%));
}

.photo-choice-option svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--primary, #0044FF);
}

/* Drag drop overlay */
.drag-drop-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--overlay-glass, rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.drag-drop-overlay:not([hidden]) {
    display: flex;
}

.drag-drop-border {
    position: absolute;
    inset: 12px;
    border: 3px dashed var(--primary, #0044FF);
    border-radius: 20px;
    background: rgba(0, 68, 255, 0.04);
    animation: drag-border-pulse 1.5s ease-in-out infinite;
}

@keyframes drag-border-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.drag-drop-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--primary, #0044FF);
    text-align: center;
    pointer-events: none;
}

.drag-drop-content svg {
    opacity: 0.8;
}

.drag-drop-title {
    font-size: 22px;
    font-weight: 750;
    color: var(--text-dark, #0A1128);
    margin: 0;
}

.drag-drop-subtitle {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light, #667);
    margin: 0;
}
