/**
 * director.css — Scene Director Modal
 * 4-step wizard: Estilo → Sujeto → Vestimenta → Audio/Textos
 * Converted from Tailwind mockup to vanilla CSS (Inter font)
 * Architecture: ZERO inline CSS. External only.
 */

/* ═══ OVERLAY ═══ */
.director-overlay {
    position: fixed;
    inset: 0;
    z-index: 900;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow: hidden;
}

.director-overlay.open {
    display: flex;
}

/* ═══ MODAL CONTAINER ═══ */
.director-modal {
    width: 100%;
    max-width: 540px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    max-height: 95vh;
    position: relative;
    overflow: hidden;
    transition: max-width 0.4s ease;
}

/* Expand for slides 2-4 (2 columns) */
.director-modal.wide {
    max-width: 780px;
}

/* ═══ HEADER ═══ */
.director-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    flex-shrink: 0;
    background: #0a0a0a;
    z-index: 10;
}

.director-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

/* Inline thumbnails (product + scene) */
.director-thumbs {
    display: flex;
    gap: 10px;
    flex: 1;
    justify-content: center;
    align-items: center;
    margin-right: 8px;
}
.dir-thumb-group {
    display: flex;
    align-items: center;
    gap: 4px;
}
.dir-thumb-label {
    font-size: 9px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.director-thumb {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: border-color 0.2s, transform 0.15s;
}
.director-thumb:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.08);
}
.dir-thumb-expand {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s;
}
.dir-thumb-expand:hover {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
}

/* Locked zone thumb wrapper (expand inside) */
.dir-locked-thumb-wrap {
    position: relative;
    display: inline-block;
}
.dir-locked-thumb-wrap img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.dir-locked-expand {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
}
.dir-locked-expand:hover {
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
}

/* Lightbox overlay */
.director-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5%;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}
.director-lightbox.open {
    opacity: 1;
    pointer-events: auto;
}
.director-lightbox img {
    max-width: 95%;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.dir-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s;
}
.dir-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.director-title {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
}

.director-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.director-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ═══ STEP NAV ═══ */
.director-steps {
    display: flex;
    gap: 4px;
}

.director-step {
    flex: 1;
    text-align: center;
    cursor: pointer;
}

.director-step-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    margin-bottom: 4px;
    transition: opacity 0.3s;
}

.director-step-bar {
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.15);
    transition: background 0.3s;
}

/* States */
.director-step.current .director-step-label { opacity: 1; }
.director-step.current .director-step-bar  { background: #fff; }
.director-step.done .director-step-label    { opacity: 0.5; }
.director-step.done .director-step-bar      { background: rgba(255, 255, 255, 0.4); }
.director-step.locked .director-step-label  { opacity: 0.18; }
.director-step.locked .director-step-bar    { background: rgba(255, 255, 255, 0.15); }
.director-step.locked { cursor: default; pointer-events: none; }

/* ═══ SLIDER ═══ */
.director-slider-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.director-slider {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.director-slide {
    width: 25%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    overflow-x: hidden;
}

.director-slide-content {
    padding: 14px 20px;
    overflow-x: hidden;
    word-break: break-word;
}

/* ═══ SLIDE FOOTER ═══ */
.director-slide-footer {
    padding: 8px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #0a0a0a;
    flex-shrink: 0;
    display: flex;
    gap: 8px;
}

.director-btn-back {
    width: 40px;
    height: 40px;
    border: none;
    background: #fff;
    color: #000;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.director-btn-back:hover {
    background: rgba(255, 255, 255, 0.9);
}

.director-btn-next {
    flex: 1;
    background: #fff;
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: none;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.director-btn-next:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Final "Generar Escena" button */
.director-btn-generate {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #fff;
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: none;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.director-btn-generate::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 10%, rgba(130, 190, 255, 0.7) 40%, rgba(255, 150, 190, 0.7) 60%, transparent 90%);
    background-size: 200% 200%;
    animation: directorPastel 4s ease-in-out infinite;
    pointer-events: none;
}

.director-btn-generate span {
    position: relative;
    z-index: 2;
}

.director-btn-generate:hover {
    transform: scale(1.01);
}

@keyframes directorPastel {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ═══ SECTION TITLE ═══ */
.dir-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dir-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin: 0;
}

.dir-section-reset {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.35);
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 3px 8px;
    cursor: pointer;
    transition: all 0.2s;
}

/* Active — has changes, invite click (white selected look) */
.dir-section-reset:not(.disabled) {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.07);
}

.dir-section-reset:not(.disabled):hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
}

/* Disabled — no changes, subtle but visible */
.dir-section-reset.disabled {
    cursor: default;
    pointer-events: none;
}

/* ═══ SELECT ROW ═══ */
/* ═══ TWO-COLUMN LAYOUT ═══ */
.dir-columns {
    display: flex;
    gap: 16px;
}

.dir-col {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.dir-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dir-row-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
    width: 120px;
    flex-shrink: 0;
    white-space: nowrap;
}

.dir-row-right {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    min-width: 0;
}

/* ═══ CUSTOM SELECT ═══ */
.dir-sel {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 28px;
    position: relative;
    overflow: hidden;
}

.dir-sel:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.dir-sel-value {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    flex: 1;
    min-width: 0;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dir-sel-arrow {
    font-size: 6px;
    opacity: 0.3;
    color: #fff;
}

/* ═══ DROPDOWN MENU (inline — hidden, not used for display) ═══ */
.dir-menu {
    display: none !important;
}

/* ═══ FLOATING DROPDOWN (portal — direct child of overlay) ═══ */
.dir-float-menu {
    position: absolute;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
    z-index: 200;
    min-width: 140px;
    padding: 3px;
    display: none;
}

.dir-float-menu.open { display: block; }

.dir-float-menu button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 5px 10px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.45);
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.12s;
}

.dir-float-menu button:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
}

.dir-float-menu button.cur {
    color: #fff;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.05);
}

/* Optgroup headers (OUTDOOR / INDOOR) */
.dir-float-group {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.45);
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    margin-top: 2px;
    pointer-events: none;
}

/* Select disabled state (when free-text input is active) */
.dir-sel.disabled {
    opacity: 0.25;
    pointer-events: none;
}

/* + Ingresar Nueva — always white */
#dir-loc-new {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* ═══ PILLS ═══ */
.dir-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.2s;
    white-space: nowrap;
}

.dir-pill:hover {
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.7);
}

.dir-pill.active {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

.dir-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

/* ═══ COLOR SWATCHES ═══ */
.dir-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: calc(7 * 19px);
    padding: 2px 0;
}

.dir-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: all 0.15s;
    opacity: 0.3;
}

.dir-swatches:hover .dir-dot { opacity: 0.85; }
.dir-dot:hover { transform: scale(1.2); }

.dir-dot.active {
    opacity: 1 !important;
    border-color: #fff;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
}

/* ═══ TOGGLE ═══ */
.dir-toggle {
    width: 30px;
    height: 16px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    position: relative;
    transition: all 0.25s;
    flex-shrink: 0;
}

.dir-toggle.on {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.25);
}

.dir-toggle-knob {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 1px;
    left: 1px;
    transition: transform 0.25s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.dir-toggle.on .dir-toggle-knob {
    transform: translateX(14px);
}

/* Toggle label (Mostrar / Oculto) */
.dir-toggle-label {
    font-family: 'Inter', sans-serif;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Hook separator (visible on mobile) */
.dir-hook-separator {
    display: none;
}
@media (max-width: 768px) {
    .dir-hook-separator {
        display: block;
        height: 1px;
        background: rgba(255, 255, 255, 0.08);
        margin: 8px 0;
    }
}

/* ═══ MEDIA TAB — uniform rows ═══ */
.dir-m-sep {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 3px 0;
}
.dir-m-hint {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1px;
}
/* Left-align controls (label + select inline, not spread) */
#dir-s4 .dir-row {
    justify-content: flex-start;
    gap: 8px;
    padding: 3px 0;
    border-bottom: none;
}
/* Inline text rows: LABEL TOGGLE [INPUT] — single line on desktop */
.dir-txt-row {
    align-items: center;
    flex-wrap: wrap;
}
.dir-txt-row .dir-input {
    flex: 1;
    min-width: 120px;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .dir-txt-row .dir-input {
        flex-basis: 100%;
    }
}
@media (min-width: 769px) {
    .dir-m-sep { margin: 2px 0; }
    #dir-s4 .dir-row { padding: 2px 0; }
}

/* ═══ GARMENT GROUP ═══ */
.dir-garment {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px;
}

.dir-garment.locked {
    opacity: 0.35;
    pointer-events: none;
    border-style: dashed;
}

.dir-garment-title {
    font-family: 'Inter', sans-serif;
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.dir-garment-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.dir-garment-row:last-child { margin-bottom: 0; }

.dir-garment-label {
    font-family: 'Inter', sans-serif;
    font-size: 7px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    width: 40px;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Garment select truncation */
.dir-sel-gar {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.dir-sel-gar .dir-sel-value {
    text-align: left;
}

/* Color trio: 3 independent squares */
.dir-color-trio {
    display: flex;
    align-items: center;
    gap: 6px;
}
.dir-csq {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 2px solid #555;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.15s;
    box-sizing: border-box;
    flex-shrink: 0;
}
.dir-csq:hover {
    transform: scale(1.1);
}
.dir-csq-sel {
    border-color: #fff;
}

/* iro.js popup */
.iro-popup {
    display: none;
    position: fixed;
    z-index: 10001;
    background: #1a1a1a;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.iro-popup.iro-open {
    display: block;
}
.iro-bw-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.iro-bw-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.15s;
}
.iro-bw-btn:hover {
    transform: scale(1.15);
}

/* Color + Material paired row */
.dir-garment-row-pair {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}
.dir-garment-sub {
    display: flex;
    align-items: center;
    gap: 6px;
}
@media (max-width: 600px) {
    .dir-garment-row-pair {
        flex-direction: column;
        align-items: stretch;
    }
    .dir-garment-sub {
        width: 100%;
    }
}

/* Dropdown buttons: wrap long text */
.dir-float-menu button {
    white-space: normal;
    text-align: left;
}

/* Free-text exclusivity: disabled selects/picker */
.dir-garment.gar-freetext .dir-sel-gar,
.dir-garment.gar-freetext .dir-color-trio {
    opacity: 0.25;
    pointer-events: none;
}

/* Free-text row visual separator */
.dir-gar-text-row {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

/* ═══ GARMENTS GRID ═══ */
.dir-garments-grid {
    margin-top: 8px;
}

/* Sub-tab bar for garment zones */
.dir-subtabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 12px;
}
.dir-subtab {
    flex: 1;
    text-align: center;
    padding: 6px 4px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}
.dir-subtab:hover {
    color: rgba(255, 255, 255, 0.5);
}
.dir-subtab.active {
    color: #fff;
    border-bottom-color: #fff;
}
.dir-subtab.locked-tab {
    color: rgba(255, 255, 255, 0.25);
}
.dir-subtab.locked-tab.active {
    color: rgba(255, 255, 255, 0.5);
    border-bottom-color: rgba(255, 255, 255, 0.3);
}
.dir-subtab.disabled-tab {
    opacity: 0.2;
    pointer-events: none;
}

/* Locked garment content */
.dir-garment-locked {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 10px;
    color: rgba(255, 255, 255, 0.4);
}
.dir-garment-locked img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.dir-garment-locked span {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ═══ TWO COLUMNS ═══ */
.dir-columns {
    display: flex;
    gap: 16px;
}

.dir-col {
    flex: 1;
}

/* ═══ TEXT INPUT ═══ */
.dir-input {
    width: 100%;
    box-sizing: border-box;
    height: 38px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 4px 10px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: border-color 0.2s;
    outline: none;
}

.dir-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.dir-input:focus {
    border-color: rgba(255, 255, 255, 0.3);
}

.dir-input.disabled {
    opacity: 0.25;
    pointer-events: none;
}

/* ═══ MARKET INFO ═══ */
.dir-market-info {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.dir-market-info strong {
    color: #fff;
    font-weight: 900;
}

/* ═══ LOCKED ROW ═══ */
.dir-row.locked {
    opacity: 0.35;
}

.dir-locked-value {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
}

/* ═══ SCROLLBAR ═══ */
.director-slide::-webkit-scrollbar { width: 3px; }
.director-slide::-webkit-scrollbar-track { background: transparent; }
.director-slide::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 4px; }

/* ═══ MOBILE ═══ */
@media (max-width: 480px) {
    .director-modal {
        max-width: 100% !important;
        max-height: 100vh;
        border-radius: 0;
    }

    .director-overlay {
        padding: 0;
    }

    .dir-columns {
        flex-direction: column;
        gap: 0;
    }

    .dir-garments-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══ LOADING STATE ═══ */
.dir-loading {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    padding: 60px 20px;
}
