/* BeatLatin — Panel DJ (Apple glass, sin sombras; verde/rojo para comisiones) */

/* ---------- Login / aviso restringido ---------- */

.bl-dj-login-wrap {
    width: 100%;
    max-width: 440px;
    margin: 46px auto;
    font-family: var(--bl-font);
    color: var(--bl-system-primary, hsla(0, 0%, 100%, 0.92));
    text-align: left;
}

.bl-dj-login-card {
    padding: 28px 28px 24px;
    border: 1px solid var(--bl-border, rgba(255, 255, 255, 0.08));
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    box-shadow: none !important;
}

.bl-dj-login-title {
    margin: 0;
    color: var(--bl-system-primary, hsla(0, 0%, 100%, 0.92));
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-align: left !important;
    text-transform: none;
}

.bl-dj-login-subtitle {
    margin: 8px 0 22px;
    color: var(--bl-muted, rgba(245, 245, 247, 0.55));
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

.bl-dj-login-form {
    text-align: left;
}

.bl-dj-login-form p {
    margin: 0 0 16px;
}

.bl-dj-login-form label {
    display: block;
    margin: 0 0 6px;
    color: var(--bl-muted, rgba(245, 245, 247, 0.55));
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-transform: none;
}

.bl-dj-login-form input[type="text"],
.bl-dj-login-form input[type="password"] {
    display: block;
    width: 100%;
    height: 44px;
    padding: 0 14px;
    box-sizing: border-box;
    border: 1px solid var(--bl-border, rgba(255, 255, 255, 0.10));
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.18);
    color: var(--bl-system-primary, hsla(0, 0%, 100%, 0.92));
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    outline: none;
    box-shadow: none !important;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.bl-dj-login-form input[type="text"]:focus,
.bl-dj-login-form input[type="password"]:focus {
    border-color: rgba(217, 12, 12, 0.45);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none !important;
}

.bl-dj-pass-wrapper {
    position: relative;
    display: block;
}

.bl-dj-pass-wrapper input[type="password"],
.bl-dj-pass-wrapper input[type="text"] {
    padding-right: 44px;
}

.bl-dj-toggle-password {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--bl-muted, rgba(245, 245, 247, 0.45));
    cursor: pointer;
    box-shadow: none !important;
}

.bl-dj-toggle-password:hover,
.bl-dj-toggle-password:focus-visible {
    color: var(--bl-system-primary, #fff);
    outline: none;
}

.bl-dj-toggle-password svg {
    display: block;
    width: 18px;
    height: 18px;
}

.bl-dj-toggle-password.is-visible::after {
    content: "";
    position: absolute;
    width: 21px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transform: rotate(-45deg);
}

.bl-dj-altcha {
    margin: 4px 0 16px;
    max-width: 100%;
}

.bl-dj-login-form .forgetmenot {
    margin: 0 0 16px;
}

.bl-dj-login-form .forgetmenot label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
    color: var(--bl-muted, rgba(245, 245, 247, 0.55));
    font-size: 12px;
}

.bl-dj-login-form input[type="checkbox"] {
    margin: 0;
    accent-color: var(--bl-red, #d90c0c);
}

.bl-dj-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--bl-system-primary, #fff) !important;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.01em;
    text-decoration: none !important;
    text-transform: none;
    cursor: pointer;
    box-shadow: none !important;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.bl-dj-submit-btn:hover,
.bl-dj-submit-btn:focus-visible {
    border-color: var(--bl-red, #d90c0c) !important;
    color: var(--bl-red, #d90c0c) !important;
    background: rgba(217, 12, 12, 0.08) !important;
    outline: none;
    box-shadow: none !important;
    transform: none !important;
}

.bl-dj-login-footnote {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--bl-border, rgba(255, 255, 255, 0.08));
    color: var(--bl-muted-soft, rgba(245, 245, 247, 0.42));
    font-size: 12px;
    line-height: 1.5;
}

/* ---------- Error ---------- */

.bl-dj-shell {
    max-width: 980px;
    margin: 40px auto;
    font-family: var(--bl-font);
    color: var(--bl-system-primary, #fff);
}

.bl-dj-error {
    padding: 16px 18px;
    border: 1px solid rgba(217, 12, 12, 0.22);
    border-radius: 12px;
    background: rgba(217, 12, 12, 0.10);
    color: var(--bl-system-primary, #fff);
    font-size: 13px;
    line-height: 1.5;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: none !important;
}

.bl-dj-error strong {
    color: var(--bl-red, #d90c0c);
}

/* ---------- Panel ---------- */

.bl-dj-panel {
    width: 100%;
    max-width: 1120px;
    margin: 36px auto;
    font-family: var(--bl-font);
    color: var(--bl-system-primary, hsla(0, 0%, 100%, 0.92));
}

.bl-dj-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--bl-border, rgba(255, 255, 255, 0.08));
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    box-shadow: none !important;
}

.bl-dj-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--bl-border, rgba(255, 255, 255, 0.08));
}

.bl-dj-eyebrow {
    margin-bottom: 5px;
    color: var(--bl-muted, rgba(245, 245, 247, 0.52));
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bl-dj-title {
    margin: 0;
    color: var(--bl-system-primary, #fff);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.bl-dj-title strong {
    color: var(--bl-system-primary, #fff);
}

.bl-dj-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--bl-system-primary, #fff);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: none !important;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.bl-dj-logout:hover,
.bl-dj-logout:focus-visible {
    border-color: var(--bl-red, #d90c0c);
    color: var(--bl-red, #d90c0c);
    background: rgba(217, 12, 12, 0.08);
    outline: none;
    box-shadow: none !important;
    transform: none !important;
}

.bl-dj-hero {
    padding: 34px 24px 24px;
    text-align: left;
}

.bl-dj-hero-label {
    display: block;
    margin-bottom: 8px;
    color: var(--bl-muted, rgba(245, 245, 247, 0.58));
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.bl-dj-hero-amount {
    margin: 0;
    color: var(--bl-system-primary, #fff);
    font-size: clamp(36px, 6vw, 44px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
}

.bl-dj-hero-amount span {
    color: var(--bl-red, #d90c0c);
    letter-spacing: -0.02em;
}

.bl-dj-hero-note {
    max-width: 680px;
    margin: 14px 0 0;
    color: var(--bl-muted, rgba(245, 245, 247, 0.55));
    font-size: 13px;
    line-height: 1.6;
}

.bl-dj-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 0 24px 24px;
}

.bl-dj-stat {
    min-height: 92px;
    padding: 16px;
    border: 1px solid var(--bl-border, rgba(255, 255, 255, 0.08));
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none !important;
}

.bl-dj-stat-label {
    margin-bottom: 8px;
    color: var(--bl-muted, rgba(245, 245, 247, 0.52));
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.bl-dj-stat-value {
    color: var(--bl-system-primary, #fff);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.bl-dj-stat-value.is-green {
    color: #34c759;
}

.bl-dj-stat-sub {
    margin-top: 7px;
    color: var(--bl-muted-soft, rgba(245, 245, 247, 0.42));
    font-size: 11px;
}

.bl-dj-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    margin: 0 24px 4px;
    padding: 4px;
    border: 1px solid var(--bl-border, rgba(255, 255, 255, 0.08));
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.14);
}

.bl-dj-tab-btn {
    position: relative;
    min-height: 40px;
    padding: 10px 10px;
    border: 0;
    border-radius: 9px;
    background: transparent !important;
    color: var(--bl-muted, rgba(245, 245, 247, 0.5)) !important;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-transform: none;
    cursor: pointer;
    appearance: none;
    box-shadow: none !important;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.bl-dj-panel .bl-dj-tab-btn:hover,
.bl-dj-panel .bl-dj-tab-btn:focus,
.bl-dj-panel .bl-dj-tab-btn:focus-visible {
    color: var(--bl-system-primary, rgba(255, 255, 255, 0.82)) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    outline: none !important;
}

.bl-dj-panel .bl-dj-tab-btn.active,
.bl-dj-panel .bl-dj-tab-btn.active:hover,
.bl-dj-panel .bl-dj-tab-btn.active:focus,
.bl-dj-panel .bl-dj-tab-btn.active:focus-visible {
    color: var(--bl-system-primary, #fff) !important;
    background: rgba(255, 255, 255, 0.10) !important;
    border-color: transparent !important;
}

.bl-dj-content {
    display: none;
    padding: 20px 24px 24px;
}

.bl-dj-content.active {
    display: block;
}

.bl-dj-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 14px;
}

.bl-dj-section-title {
    margin: 0 0 5px;
    color: var(--bl-system-primary, #fff);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.bl-dj-section-desc {
    margin: 0;
    color: var(--bl-muted, rgba(245, 245, 247, 0.54));
    font-size: 12px;
    line-height: 1.5;
}

.bl-dj-mini-total {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--bl-border, rgba(255, 255, 255, 0.08));
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--bl-system-primary, #fff);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: none !important;
}

.bl-dj-mini-total strong {
    color: #34c759;
}

.bl-dj-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--bl-border, rgba(255, 255, 255, 0.08));
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.bl-dj-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 13px;
}

.bl-dj-table th {
    padding: 12px 15px;
    border-bottom: 1px solid var(--bl-border, rgba(255, 255, 255, 0.08));
    background: transparent;
    color: var(--bl-muted, rgba(245, 245, 247, 0.55));
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-align: left;
    text-transform: uppercase;
}

.bl-dj-table td {
    padding: 14px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--bl-system-primary, rgba(255, 255, 255, 0.75));
    vertical-align: middle;
}

.bl-dj-table tbody tr {
    transition: background 0.2s ease;
}

.bl-dj-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
}

.bl-dj-table tbody tr:last-child td {
    border-bottom: 0;
}

.bl-dj-remix-title {
    color: var(--bl-system-primary, #fff);
    font-size: 13px;
    font-weight: 400;
}

.bl-dj-date {
    color: var(--bl-muted-soft, rgba(245, 245, 247, 0.48));
    white-space: nowrap;
}

.bl-dj-money {
    color: #34c759;
    font-weight: 600;
    white-space: nowrap;
}

.bl-dj-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: none !important;
}

.bl-dj-badge-paid {
    border: 1px solid rgba(52, 199, 89, 0.24);
    background: rgba(52, 199, 89, 0.12);
    color: #34c759;
}

.bl-dj-badge-pending {
    border: 1px solid rgba(217, 12, 12, 0.24);
    background: rgba(217, 12, 12, 0.10);
    color: #ff6b6b;
}

.bl-dj-empty {
    padding: 28px 18px !important;
    color: var(--bl-muted-soft, rgba(245, 245, 247, 0.48)) !important;
    font-weight: 500;
    text-align: center;
}

.bl-dj-footnote {
    padding: 0 24px 24px;
    color: var(--bl-muted-soft, rgba(245, 245, 247, 0.42));
    font-size: 11px;
    line-height: 1.6;
}

.bl-dj-footnote strong {
    color: var(--bl-muted, rgba(245, 245, 247, 0.72));
}

/* ---------- Perfil DJ ---------- */

.bl-dj-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.bl-dj-profile-card {
    padding: 20px;
    border: 1px solid var(--bl-border, rgba(255, 255, 255, 0.08));
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none !important;
}

.bl-dj-profile-card--avatar {
    grid-column: 1 / -1;
}

.bl-dj-profile-title {
    margin: 0;
    color: var(--bl-system-primary, #fff);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    text-align: left !important;
    text-transform: none;
}

.bl-dj-profile-desc {
    margin: 6px 0 18px;
    color: var(--bl-muted, rgba(245, 245, 247, 0.55));
    font-size: 12px;
    line-height: 1.5;
}

.bl-dj-profile-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bl-dj-profile-field {
    min-width: 0;
    margin: 0 0 15px;
}

.bl-dj-profile-field label {
    display: block;
    margin: 0 0 6px;
    color: var(--bl-muted, rgba(245, 245, 247, 0.55));
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.bl-dj-profile-input {
    display: block;
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 14px;
    box-sizing: border-box;
    border: 1px solid var(--bl-border, rgba(255, 255, 255, 0.10));
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.18);
    color: var(--bl-system-primary, hsla(0, 0%, 100%, 0.92));
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 44px;
    outline: none;
    box-shadow: none !important;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.bl-dj-profile-input::placeholder {
    color: rgba(245, 245, 247, 0.32);
}

.bl-dj-profile-input:focus {
    border-color: rgba(217, 12, 12, 0.45);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none !important;
}

.bl-dj-profile-avatar-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.bl-dj-profile-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 84px;
    height: 84px;
    overflow: hidden;
    border: 1px solid var(--bl-border, rgba(255, 255, 255, 0.10));
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--bl-system-primary, #fff);
    font-size: 32px;
    font-weight: 600;
}

.bl-dj-profile-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bl-dj-profile-avatar-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.bl-dj-profile-file {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.bl-dj-profile-file input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.bl-dj-profile-file-name {
    color: var(--bl-muted-soft, rgba(245, 245, 247, 0.42));
    font-size: 12px;
    word-break: break-all;
}

.bl-dj-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.bl-dj-profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    margin: 0;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06) !important;
    color: var(--bl-system-primary, #fff) !important;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.01em;
    text-decoration: none !important;
    text-transform: none;
    cursor: pointer;
    box-shadow: none !important;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.bl-dj-profile-btn:hover,
.bl-dj-profile-btn:focus-visible {
    border-color: var(--bl-red, #d90c0c) !important;
    background: rgba(217, 12, 12, 0.08) !important;
    color: var(--bl-red, #d90c0c) !important;
    outline: none;
    box-shadow: none !important;
    transform: none !important;
}

.bl-dj-profile-btn:disabled {
    cursor: wait;
    opacity: 0.62;
    pointer-events: none;
}

.bl-dj-profile-btn--sm {
    height: 38px;
    padding: 0 16px;
    font-size: 12px;
}

.bl-dj-profile-btn--ghost {
    border-color: transparent !important;
    background: transparent !important;
    color: var(--bl-muted, rgba(245, 245, 247, 0.55)) !important;
}

.bl-dj-profile-alert {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: none !important;
}

.bl-dj-profile-alert--ok {
    border: 1px solid rgba(52, 199, 89, 0.22);
    background: rgba(52, 199, 89, 0.10);
    color: #34c759;
}

.bl-dj-profile-alert--err {
    border: 1px solid rgba(217, 12, 12, 0.22);
    background: rgba(217, 12, 12, 0.10);
    color: #ff6b6b;
}

/* ---------- Light ---------- */

[data-theme="light"] .bl-dj-login-card,
[data-theme="light"] .bl-dj-card {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: none !important;
}

[data-theme="light"] .bl-dj-login-title,
[data-theme="light"] .bl-dj-title,
[data-theme="light"] .bl-dj-title strong,
[data-theme="light"] .bl-dj-hero-amount,
[data-theme="light"] .bl-dj-stat-value,
[data-theme="light"] .bl-dj-section-title,
[data-theme="light"] .bl-dj-remix-title,
[data-theme="light"] .bl-dj-mini-total {
    color: rgba(0, 0, 0, 0.88);
}

[data-theme="light"] .bl-dj-login-subtitle,
[data-theme="light"] .bl-dj-login-form label,
[data-theme="light"] .bl-dj-login-form .forgetmenot label,
[data-theme="light"] .bl-dj-login-footnote,
[data-theme="light"] .bl-dj-eyebrow,
[data-theme="light"] .bl-dj-hero-label,
[data-theme="light"] .bl-dj-hero-note,
[data-theme="light"] .bl-dj-stat-label,
[data-theme="light"] .bl-dj-stat-sub,
[data-theme="light"] .bl-dj-section-desc,
[data-theme="light"] .bl-dj-date,
[data-theme="light"] .bl-dj-empty,
[data-theme="light"] .bl-dj-footnote {
    color: rgba(0, 0, 0, 0.48);
}

[data-theme="light"] .bl-dj-footnote strong {
    color: rgba(0, 0, 0, 0.72);
}

[data-theme="light"] .bl-dj-login-form input[type="text"],
[data-theme="light"] .bl-dj-login-form input[type="password"] {
    border-color: rgba(0, 0, 0, 0.10);
    background: rgba(0, 0, 0, 0.04);
    color: rgba(0, 0, 0, 0.88);
}

[data-theme="light"] .bl-dj-login-form input[type="text"]:focus,
[data-theme="light"] .bl-dj-login-form input[type="password"]:focus {
    border-color: rgba(217, 12, 12, 0.40);
    background: rgba(0, 0, 0, 0.03);
    box-shadow: none !important;
}

[data-theme="light"] .bl-dj-toggle-password {
    color: rgba(0, 0, 0, 0.40);
}

[data-theme="light"] .bl-dj-toggle-password:hover {
    color: rgba(0, 0, 0, 0.88);
}

[data-theme="light"] .bl-dj-submit-btn,
[data-theme="light"] .bl-dj-logout {
    border-color: rgba(0, 0, 0, 0.12);
    background: rgba(0, 0, 0, 0.04);
    color: rgba(0, 0, 0, 0.88) !important;
}

[data-theme="light"] .bl-dj-submit-btn:hover,
[data-theme="light"] .bl-dj-logout:hover {
    border-color: var(--bl-red, #d90c0c) !important;
    color: var(--bl-red, #d90c0c) !important;
    background: rgba(217, 12, 12, 0.06) !important;
}

[data-theme="light"] .bl-dj-header,
[data-theme="light"] .bl-dj-login-footnote {
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .bl-dj-stat,
[data-theme="light"] .bl-dj-table-wrap,
[data-theme="light"] .bl-dj-mini-total {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .bl-dj-tabs {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .bl-dj-tab-btn {
    color: rgba(0, 0, 0, 0.46) !important;
}

[data-theme="light"] .bl-dj-panel .bl-dj-tab-btn:hover,
[data-theme="light"] .bl-dj-panel .bl-dj-tab-btn:focus,
[data-theme="light"] .bl-dj-panel .bl-dj-tab-btn:focus-visible {
    color: rgba(0, 0, 0, 0.82) !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .bl-dj-panel .bl-dj-tab-btn.active,
[data-theme="light"] .bl-dj-panel .bl-dj-tab-btn.active:hover,
[data-theme="light"] .bl-dj-panel .bl-dj-tab-btn.active:focus,
[data-theme="light"] .bl-dj-panel .bl-dj-tab-btn.active:focus-visible {
    color: rgba(0, 0, 0, 0.88) !important;
    background: #ffffff !important;
}

[data-theme="light"] .bl-dj-table th {
    border-color: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.55);
}

[data-theme="light"] .bl-dj-table td {
    border-color: rgba(0, 0, 0, 0.06);
    color: rgba(0, 0, 0, 0.75);
}

[data-theme="light"] .bl-dj-table tbody tr:hover {
    background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .bl-dj-badge-paid {
    border-color: rgba(26, 122, 66, 0.22);
    background: rgba(26, 122, 66, 0.10);
    color: #1a7a42;
}

[data-theme="light"] .bl-dj-badge-pending {
    border-color: rgba(217, 12, 12, 0.22);
    background: rgba(217, 12, 12, 0.06);
    color: var(--bl-red, #d90c0c);
}

[data-theme="light"] .bl-dj-money,
[data-theme="light"] .bl-dj-stat-value.is-green,
[data-theme="light"] .bl-dj-mini-total strong {
    color: #1a7a42;
}

[data-theme="light"] .bl-dj-error {
    border-color: rgba(217, 12, 12, 0.22);
    background: rgba(217, 12, 12, 0.08);
    color: rgba(0, 0, 0, 0.88);
    box-shadow: none !important;
}

[data-theme="light"] .bl-dj-profile-card {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.03);
    box-shadow: none !important;
}

[data-theme="light"] .bl-dj-profile-title,
[data-theme="light"] .bl-dj-profile-avatar {
    color: rgba(0, 0, 0, 0.88);
}

[data-theme="light"] .bl-dj-profile-desc,
[data-theme="light"] .bl-dj-profile-field label,
[data-theme="light"] .bl-dj-profile-file-name,
[data-theme="light"] .bl-dj-profile-btn--ghost {
    color: rgba(0, 0, 0, 0.48) !important;
}

[data-theme="light"] .bl-dj-profile-input {
    border-color: rgba(0, 0, 0, 0.10);
    background: rgba(0, 0, 0, 0.04);
    color: rgba(0, 0, 0, 0.88);
}

[data-theme="light"] .bl-dj-profile-input::placeholder {
    color: rgba(0, 0, 0, 0.32);
}

[data-theme="light"] .bl-dj-profile-input:focus {
    border-color: rgba(217, 12, 12, 0.40);
    background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .bl-dj-profile-avatar {
    border-color: rgba(0, 0, 0, 0.10);
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .bl-dj-profile-btn {
    border-color: rgba(0, 0, 0, 0.12) !important;
    background: rgba(0, 0, 0, 0.04) !important;
    color: rgba(0, 0, 0, 0.88) !important;
}

[data-theme="light"] .bl-dj-profile-btn:hover {
    border-color: var(--bl-red, #d90c0c) !important;
    background: rgba(217, 12, 12, 0.06) !important;
    color: var(--bl-red, #d90c0c) !important;
}

[data-theme="light"] .bl-dj-profile-btn--ghost {
    border-color: transparent !important;
    background: transparent !important;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
    .bl-dj-panel {
        max-width: calc(100% - 40px);
    }

    .bl-dj-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bl-dj-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bl-dj-profile-grid {
        grid-template-columns: 1fr;
    }

    .bl-dj-profile-card--avatar {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .bl-dj-panel {
        max-width: calc(100% - 40px);
        margin: 24px auto;
    }

    .bl-dj-login-wrap {
        max-width: none;
        margin: 28px 0;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .bl-dj-login-card {
        padding: 22px 20px;
    }

    .bl-dj-login-title {
        font-size: 26px;
    }

    .bl-dj-altcha {
        margin-bottom: 12px;
    }

    .bl-dj-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px;
    }

    .bl-dj-logout {
        width: 100%;
        box-sizing: border-box;
    }

    .bl-dj-hero {
        padding: 26px 20px 18px;
    }

    .bl-dj-stats {
        grid-template-columns: 1fr;
        padding: 0 20px 20px;
    }

    .bl-dj-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0 20px 4px;
    }

    .bl-dj-tab-btn {
        min-height: 44px;
    }

    .bl-dj-content {
        padding: 20px;
    }

    .bl-dj-profile-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .bl-dj-profile-avatar-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .bl-dj-profile-actions .bl-dj-profile-btn {
        width: 100%;
    }

    .bl-dj-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .bl-dj-mini-total {
        width: 100%;
        justify-content: space-between;
        box-sizing: border-box;
    }

    .bl-dj-footnote {
        padding: 0 20px 22px;
    }
}
