.lbc-box,
.lbc-directory {
    --lbc-ink: #f5f1e8;
    --lbc-muted: rgba(245, 241, 232, 0.72);
    --lbc-soft: rgba(245, 241, 232, 0.1);
    --lbc-line: rgba(194, 146, 79, 0.34);
    --lbc-gold: #c2924f;
    --lbc-gold-soft: #e5c178;
    --lbc-dark: #07140f;
    --lbc-dark-2: #0d2119;
    --lbc-coffee: #5a341f;
    width: min(1120px, 100%);
    margin: 0 auto 32px;
    padding: 28px;
    border: 1px solid var(--lbc-line);
    border-radius: 28px;
    background:
        radial-gradient(circle at 18% 0%, rgba(194, 146, 79, 0.18), transparent 32%),
        radial-gradient(circle at 82% 100%, rgba(44, 94, 67, 0.32), transparent 34%),
        linear-gradient(135deg, #06110d 0%, #0d2119 52%, #07140f 100%);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
    box-sizing: border-box;
    color: var(--lbc-ink);
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}


.lbc-box *,
.lbc-directory *,
.lbc-box input,
.lbc-box select,
.lbc-box textarea,
.lbc-box button,
.lbc-directory input,
.lbc-directory select,
.lbc-directory textarea,
.lbc-directory button {
    font-family: inherit;
}


.lbc-header {
    margin-bottom: 24px;
}

.lbc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--lbc-gold-soft);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lbc-header h2,
.lbc-register-intro h2 {
    margin: 0 0 10px;
    color: var(--lbc-ink);
    font-size: clamp(34px, 5vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.lbc-header p,
.lbc-register-intro p,
.lbc-step-heading p {
    max-width: 720px;
    margin: 0;
    color: var(--lbc-muted);
    font-size: 16px;
    line-height: 1.6;
}

.lbc-register-wizard {
    padding: 0;
    overflow: hidden;
}

.lbc-register-shell {
    display: grid;
    grid-template-columns: 0.95fr 1.35fr;
    min-height: 520px;
}

.lbc-register-intro {
    position: relative;
    padding: clamp(28px, 4vw, 48px);
    border-right: 1px solid var(--lbc-line);
    background:
        linear-gradient(160deg, rgba(194, 146, 79, 0.14), transparent 42%),
        rgba(255, 255, 255, 0.02);
}

.lbc-register-intro::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -120px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(194, 146, 79, 0.28);
    border-radius: 50%;
    pointer-events: none;
}

.lbc-register-progress {
    height: 6px;
    margin: 28px 0 24px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(245, 241, 232, 0.12);
}

.lbc-register-progress span {
    display: block;
    width: 50%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--lbc-gold), var(--lbc-gold-soft));
    transition: width 0.28s ease;
}

.lbc-register-steps {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: lbc-step;
}

.lbc-register-steps li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    color: rgba(245, 241, 232, 0.56);
    font-size: 14px;
    font-weight: 800;
}

.lbc-register-steps li::before {
    counter-increment: lbc-step;
    content: counter(lbc-step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(194, 146, 79, 0.34);
    border-radius: 50%;
    color: var(--lbc-gold-soft);
    background: rgba(255, 255, 255, 0.04);
}

.lbc-register-steps li.is-active,
.lbc-register-steps li.is-done {
    color: var(--lbc-ink);
}

.lbc-register-steps li.is-active::before,
.lbc-register-steps li.is-done::before {
    color: #07140f;
    background: var(--lbc-gold-soft);
}

.lbc-register-note {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid rgba(194, 146, 79, 0.34);
    border-radius: 18px;
    background: rgba(194, 146, 79, 0.1);
    color: var(--lbc-ink);
}

.lbc-register-note strong {
    color: var(--lbc-gold-soft);
    font-size: 15px;
}

.lbc-register-note span {
    color: var(--lbc-muted);
    line-height: 1.5;
}

.lbc-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.lbc-wizard-form {
    align-content: space-between;
    padding: clamp(24px, 4vw, 48px);
}

.lbc-wizard-step {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    animation: lbcStepIn 0.26s ease both;
}

.lbc-wizard-step.is-active {
    display: grid;
}

.lbc-step-heading {
    grid-column: 1 / -1;
    padding-bottom: 8px;
}

.lbc-step-heading span {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--lbc-gold-soft);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lbc-step-heading h3 {
    max-width: 760px;
    margin: 0 0 8px;
    color: var(--lbc-ink);
    font-size: clamp(26px, 3.3vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.035em;
}


.lbc-panel-section {
    position: relative;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding-top: 28px;
    margin-top: 14px;
}

.lbc-panel-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(194, 146, 79, 0.52), transparent);
}

.lbc-panel-section-profile {
    margin-top: 22px;
}

.lbc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lbc-field > br {
    display: none !important;
}

.lbc-field-full,
.lbc-actions {
    grid-column: 1 / -1;
}

.lbc-field label {
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 0;
    color: var(--lbc-ink);
    font-weight: 800;
    font-size: 14px;
    line-height: 1.15;
}

.lbc-field input,
.lbc-field select,
.lbc-field textarea,
.lbc-filters input,
.lbc-filters select {
    width: 100%;
    min-height: 50px;
    padding: 13px 15px;
    border: 1px solid rgba(194, 146, 79, 0.28);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    color: #102019;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
}

.lbc-field textarea {
    min-height: 130px;
}

.lbc-password-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.lbc-password-wrap input {
    padding-right: 76px;
}

.lbc-password-toggle {
    position: absolute;
    right: 8px;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(194, 146, 79, 0.34);
    border-radius: 999px;
    background: rgba(7, 20, 15, 0.92);
    color: var(--lbc-gold-soft);
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.lbc-password-toggle:hover {
    background: rgba(18, 37, 28, 0.98);
}

.lbc-field input:focus,
.lbc-field select:focus,
.lbc-field textarea:focus,
.lbc-filters input:focus,
.lbc-filters select:focus {
    border-color: var(--lbc-gold-soft);
    box-shadow: 0 0 0 4px rgba(229, 193, 120, 0.18);
}

.lbc-field input[readonly] {
    color: #6f6251;
    background: rgba(245, 241, 232, 0.72);
    cursor: not-allowed;
}

.lbc-field small {
    color: var(--lbc-muted);
    font-size: 12px;
}

.lbc-field small[data-type="success"] {
    color: #9fe2a3;
}

.lbc-field small[data-type="error"] {
    color: #ffb1a8;
}

.lbc-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lbc-checks label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 13px;
    border: 1px solid rgba(194, 146, 79, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--lbc-ink);
    font-size: 13px;
    font-weight: 800;
}

.lbc-checks input {
    width: auto;
    min-height: auto;
    accent-color: var(--lbc-gold-soft);
}

.lbc-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 4px;
}

.lbc-wizard-actions {
    align-self: end;
    padding-top: 18px;
    border-top: 1px solid rgba(194, 146, 79, 0.24);
}

.lbc-button,
.lbc-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--lbc-gold), var(--lbc-gold-soft));
    color: #07140f !important;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.lbc-button:hover,
.lbc-card-action:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.lbc-button[hidden],
.lbc-card-action[hidden] {
    display: none !important;
}

.lbc-button-secondary {
    border: 1px solid rgba(194, 146, 79, 0.34);
    background: rgba(255, 255, 255, 0.06);
    color: var(--lbc-ink) !important;
    box-shadow: none;
}

.lbc-status {
    color: var(--lbc-muted);
    font-weight: 800;
}

.lbc-status[data-type="success"] {
    color: #9fe2a3;
}

.lbc-status[data-type="error"] {
    color: #ffb1a8;
}

.lbc-photo-preview img {
    width: 116px;
    height: 116px;
    margin-top: 10px;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid rgba(194, 146, 79, 0.34);
}

.lbc-filters {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.lbc-directory-meta {
    margin-bottom: 14px;
    color: var(--lbc-muted);
    font-size: 14px;
    font-weight: 800;
}

.lbc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    transition: opacity 0.2s ease;
}

.lbc-grid.is-loading {
    opacity: 0.55;
}

.lbc-card {
    overflow: hidden;
    border: 1px solid rgba(194, 146, 79, 0.24);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.lbc-card-photo {
    display: block;
    aspect-ratio: 4 / 3;
    background: #13261d;
    text-decoration: none;
}

.lbc-card-photo img,
.lbc-photo-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lbc-photo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lbc-gold-soft);
    font-size: 54px;
}

.lbc-card-body {
    padding: 18px;
}

.lbc-card-top {
    min-height: 24px;
    margin-bottom: 8px;
}

.lbc-verified {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e5c178;
    color: #07140f;
    font-size: 12px;
}

.lbc-general {
    color: #6f6251;
    font-size: 12px;
    font-weight: 800;
}

.lbc-card h3 {
    margin: 0 0 6px;
    color: #102019;
    font-size: 22px;
    line-height: 1.15;
}

.lbc-card h3 a {
    color: inherit;
    text-decoration: none;
}

.lbc-card p {
    margin: 0 0 12px;
    color: #5e5447;
    line-height: 1.5;
}

.lbc-location {
    font-weight: 900;
}

.lbc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 14px;
}

.lbc-tags span {
    padding: 6px 9px;
    border-radius: 999px;
    background: #102019;
    color: #e5c178;
    font-size: 12px;
    font-weight: 900;
}

.lbc-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lbc-card-action {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
}

.lbc-empty {
    grid-column: 1 / -1;
    padding: 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--lbc-ink);
    text-align: center;
    font-weight: 800;
}

@keyframes lbcStepIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .lbc-register-shell {
        grid-template-columns: 1fr;
    }

    .lbc-register-intro {
        border-right: 0;
        border-bottom: 1px solid var(--lbc-line);
    }

    .lbc-register-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lbc-filters,
    .lbc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .lbc-box,
    .lbc-directory {
        padding: 20px;
        border-radius: 20px;
    }

    .lbc-register-wizard {
        padding: 0;
    }

    .lbc-register-intro,
    .lbc-wizard-form {
        padding: 22px;
    }

    .lbc-form,
    .lbc-panel-section,
    .lbc-wizard-step,
    .lbc-filters,
    .lbc-grid,
    .lbc-register-steps {
        grid-template-columns: 1fr;
    }

    .lbc-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .lbc-button,
    .lbc-card-action {
        width: 100%;
    }
}

/* Ajustes visuales del panel de barista */
.lbc-panel .lbc-header h2 {
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.05;
    margin-bottom: 8px;
}

.lbc-section-heading,
.lbc-field label.lbc-section-heading {
    color: var(--lbc-gold-soft);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.15;
    text-transform: uppercase;
}

.lbc-panel-section-social,
.lbc-panel-section-portfolio {
    margin-top: 22px;
}


.lbc-upload-field,
.lbc-cv-field {
    position: relative;
}

.lbc-upload-input,
.lbc-cv-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.lbc-upload-drop,
.lbc-cv-drop {
    display: flex;
    min-height: 150px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    padding: 26px;
    border: 1px dashed rgba(229, 193, 120, 0.55);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--lbc-ink);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.lbc-upload-drop:hover,
.lbc-upload-drop.is-dragging,
.lbc-cv-drop:hover,
.lbc-cv-drop.is-dragging {
    border-color: rgba(229, 193, 120, 0.95);
    background: rgba(229, 193, 120, 0.10);
    transform: translateY(-1px);
}

.lbc-upload-drop-title,
.lbc-cv-drop-title {
    color: var(--lbc-ink);
    font-size: 18px;
    font-weight: 900;
}

.lbc-upload-drop-text,
.lbc-upload-drop small,
.lbc-cv-drop-text,
.lbc-cv-drop small {
    color: var(--lbc-muted);
    font-size: 13px;
    font-weight: 700;
}

.lbc-upload-drop strong,
.lbc-cv-drop strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--lbc-gold-soft), var(--lbc-gold));
    color: #07140f;
    font-size: 13px;
    font-weight: 900;
}

.lbc-upload-current,
.lbc-cv-current {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 20px;
    color: var(--lbc-muted);
    font-size: 13px;
    font-weight: 800;
}

.lbc-upload-current a,
.lbc-cv-current a {
    display: inline-flex;
    padding: 6px 10px;
    border: 1px solid rgba(229, 193, 120, 0.32);
    border-radius: 999px;
    color: var(--lbc-gold-soft);
    text-decoration: none;
}

.lbc-upload-current span,
.lbc-cv-current span {
    display: inline-flex;
    padding: 6px 10px;
    border: 1px solid rgba(229, 193, 120, 0.32);
    border-radius: 999px;
}

/* Fotografía principal: uploader compacto + vista previa */
.lbc-photo-field .lbc-photo-manager {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 18px;
    align-items: stretch;
}

.lbc-photo-manager-upload,
.lbc-photo-preview {
    min-width: 0;
}

.lbc-photo-field .lbc-upload-drop {
    min-height: 180px;
    height: 100%;
    padding: 22px 18px;
}

.lbc-photo-preview {
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-height: 180px;
    padding: 0;
}

.lbc-photo-current-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    width: 100%;
    min-height: 180px;
    padding: 12px;
    border: 1px solid rgba(229, 193, 120, 0.34);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.05);
}

.lbc-photo-lightbox-trigger {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 156px;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: transparent;
    cursor: zoom-in;
    overflow: hidden;
}

.lbc-photo-preview img,
.lbc-photo-lightbox-trigger img {
    width: 100%;
    height: 100%;
    min-height: 156px;
    margin: 0;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(194, 146, 79, 0.34);
}

.lbc-photo-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-self: center;
}

.lbc-mini-button {
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(229, 193, 120, 0.34);
    border-radius: 999px;
    background: rgba(229, 193, 120, 0.12);
    color: var(--lbc-gold-soft);
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.lbc-mini-button:hover {
    background: rgba(229, 193, 120, 0.20);
}

.lbc-mini-button-danger {
    border-color: rgba(255, 177, 168, 0.38);
    color: #ffb1a8;
}

.lbc-photo-empty {
    display: flex;
    width: 100%;
    min-height: 180px;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(229, 193, 120, 0.34);
    border-radius: 22px;
    color: var(--lbc-muted);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.lbc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(0, 0, 0, 0.84);
}

.lbc-lightbox.is-active {
    display: flex;
}

.lbc-lightbox img {
    max-width: min(92vw, 980px);
    max-height: 88vh;
    border-radius: 24px;
    object-fit: contain;
    box-shadow: 0 22px 80px rgba(0, 0, 0, 0.5);
}

.lbc-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(229, 193, 120, 0.42);
    border-radius: 999px;
    background: rgba(7, 20, 15, 0.92);
    color: var(--lbc-gold-soft);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 760px) {
    .lbc-photo-field .lbc-photo-manager,
    .lbc-photo-current-card {
        grid-template-columns: 1fr;
    }

    .lbc-photo-actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* Uploader en dos tercios + archivos en un tercio */
.lbc-upload-split,
.lbc-photo-field .lbc-photo-manager {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 18px;
    align-items: stretch;
}

.lbc-upload-panel,
.lbc-photo-manager-upload,
.lbc-upload-current-panel,
.lbc-photo-preview {
    min-width: 0;
}

.lbc-upload-split .lbc-upload-drop,
.lbc-upload-split .lbc-cv-drop,
.lbc-photo-field .lbc-upload-drop {
    min-height: 170px;
    height: 100%;
}

.lbc-upload-current-panel,
.lbc-photo-preview {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 170px;
    padding: 12px;
    border: 1px solid rgba(229, 193, 120, 0.30);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.045);
}

.lbc-upload-current-panel {
    align-content: flex-start;
    align-items: stretch;
    flex-wrap: nowrap;
    overflow: hidden;
}

.lbc-file-pill {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 7px !important;
    border-radius: 16px !important;
    box-sizing: border-box;
}

.lbc-file-pill span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lbc-file-thumb,
.lbc-file-icon {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border: 1px solid rgba(229, 193, 120, 0.22) !important;
    border-radius: 12px !important;
    background: rgba(7, 20, 15, 0.55);
    overflow: hidden;
}

.lbc-file-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lbc-upload-empty {
    display: flex !important;
    width: 100%;
    min-height: 146px;
    align-items: center;
    justify-content: center;
    padding: 12px !important;
    border: 1px dashed rgba(229, 193, 120, 0.28) !important;
    border-radius: 18px !important;
    color: var(--lbc-muted);
    text-align: center;
}

.lbc-photo-preview {
    justify-content: stretch;
}

.lbc-photo-current-card {
    min-height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    grid-template-columns: 1fr;
}

.lbc-photo-lightbox-trigger {
    min-height: 104px;
}

.lbc-photo-preview img,
.lbc-photo-lightbox-trigger img {
    min-height: 104px;
}

.lbc-photo-actions {
    flex-direction: row;
    justify-content: center;
    align-self: auto;
}

@media (max-width: 760px) {
    .lbc-upload-split,
    .lbc-photo-field .lbc-photo-manager {
        grid-template-columns: 1fr;
    }
}
