/* ═══════════════════════════════════════════════════════════════
   Song Wizard – Black/White theme matching NashvilleChords
   ═══════════════════════════════════════════════════════════════ */

/* ── Base Font ─────────────────────────────────────────────── */
#auth-gate,
#wizard-app {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ── Auth Gate ─────────────────────────────────────────────── */
#auth-gate {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-container {
    max-width: 420px;
    width: 100%;
    text-align: center;
}

.auth-container h2 {
    margin-bottom: 4px;
}

.auth-container h3 {
    color: #888;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.auth-container input {
    background: #111;
    border: 1px solid #444;
    color: #fff;
    padding: 12px 16px;
    font-size: 14px;
    width: 100%;
    margin-bottom: 12px;
    border-radius: 4px;
}

.auth-container input:focus {
    border-color: #fff;
    outline: none;
}

.auth-container .btn {
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.auth-hint {
    color: #666;
    font-size: 13px;
    margin-top: 16px;
}

.auth-hint a {
    color: #aaa;
    text-decoration: underline;
}

.error-msg {
    color: #ff4444;
    font-size: 14px;
    min-height: 20px;
    margin-bottom: 4px;
}

/* ── Wizard Header ─────────────────────────────────────────── */
.wizard-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 16px 20px 8px;
    flex-wrap: wrap;
}

.wizard-brand {
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
}

.wizard-brand:hover {
    color: #ccc;
    text-decoration: none;
}

.wizard-subtitle {
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.wizard-user {
    color: #555;
    font-size: 0.8rem;
    margin-left: auto;
}

/* ── Mode Toggle (New Song / My Songs) ────────────────────── */
.wizard-mode-toggle {
    display: flex;
    max-width: 700px;
    margin: 12px auto 0;
    padding: 0 20px;
    gap: 0;
}

.mode-btn {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid #333;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.15s;
}

.mode-btn:first-child {
    border-radius: 4px 0 0 4px;
    border-right: none;
}

.mode-btn:last-child {
    border-radius: 0 4px 4px 0;
}

.mode-btn.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.mode-btn:not(.active):hover {
    color: #aaa;
    border-color: #555;
}

/* ── My Songs Panel ───────────────────────────────────────── */
#my-songs-panel {
    max-width: 700px;
    margin: 0 auto;
    padding: 12px 20px 100px;
}

.my-songs-header h3 {
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 4px;
    border-bottom: 1px solid #333;
    padding-bottom: 8px;
}

.my-songs-list {
    margin-top: 12px;
}

.my-song-card {
    border: 1px solid #333;
    border-radius: 4px;
    padding: 14px 16px;
    margin-bottom: 8px;
    transition: border-color 0.15s;
}

.my-song-card:hover {
    border-color: #555;
}

.my-song-scheduled-notice {
    margin: -6px -12px 12px;
    padding: 10px 12px;
    border-radius: 4px 4px 0 0;
    border-bottom: 1px solid #334155;
    background: #1a1f2e;
}

.my-song-scheduled-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fbbf24;
}

.my-song-scheduled-text {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: #94a3b8;
}

.my-song-scheduled-text strong {
    color: #e2e8f0;
}

.my-song-admin-notice {
    margin: -6px -12px 12px;
    padding: 10px 12px;
    border-radius: 4px 4px 0 0;
    border-bottom: 1px solid #553322;
    background: #221a12;
}

.my-song-admin-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffb020;
}

.my-song-admin-note {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: #ccc;
}

.my-song-fix-sent {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: #7dd3fc;
}

.my-song-request-wrap {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #443322;
}

.my-song-request-hint {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.45;
    color: #999;
}

.btn-request-review {
    display: inline-block;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #111;
    background: #e8e8e8;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.btn-request-review:hover:not(:disabled) {
    background: #fff;
    border-color: #fff;
}

.btn-request-review:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.my-song-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.my-song-card-info {
    flex: 1;
    min-width: 0;
}

.my-song-card-title-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-bottom: 2px;
}

.my-song-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    word-break: break-word;
}

.my-song-status {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 3px;
    flex-shrink: 0;
}

.my-song-status-listed {
    color: #86efac;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.my-song-status-unlisted {
    color: #fcd34d;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.my-song-unlisted-notice {
    margin: -6px -12px 12px;
    padding: 10px 12px;
    border-radius: 4px 4px 0 0;
    border-bottom: 1px solid #333;
    background: #1a1a1a;
    font-size: 12px;
    line-height: 1.45;
    color: #aaa;
}

.my-songs-action-msg {
    margin-top: 8px;
    color: #7dd3fc !important;
}

.my-song-card-meta {
    font-size: 12px;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.my-song-card-meta span {
    white-space: nowrap;
}

.my-song-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex-shrink: 0;
    justify-content: flex-end;
    max-width: 100%;
}

.my-song-card-actions .btn-publish,
.my-song-card-actions .btn-unlist,
.my-song-card-actions .btn-copy-chord-link {
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 3px;
    cursor: pointer;
    border: 1px solid #555;
    background: #2a2a2a;
    color: #e0e0e0;
    transition: background 0.15s, border-color 0.15s;
}

.my-song-card-actions .btn-publish:hover,
.my-song-card-actions .btn-unlist:hover,
.my-song-card-actions .btn-copy-chord-link:hover {
    background: #333;
    border-color: #777;
}

.my-song-card-actions .btn-publish {
    border-color: #3d7a4a;
    color: #b8f0c4;
}

.my-song-card-actions .btn-edit,
.my-song-card-actions .btn-delete {
    padding: 5px 14px;
    font-size: 12px;
    border-radius: 3px;
    cursor: pointer;
    border: 1px solid #444;
    background: transparent;
    transition: all 0.15s;
}

.my-song-card-actions .btn-edit {
    color: #ccc;
}

.my-song-card-actions .btn-edit:hover {
    color: #fff;
    border-color: #888;
}

.my-song-card-actions .btn-delete {
    color: #aa3333;
    border-color: #552222;
}

.my-song-card-actions .btn-delete:hover {
    color: #ff4444;
    border-color: #ff4444;
    background: #1a0000;
}

/* Delete confirmation */
.delete-confirm {
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid #552222;
    border-radius: 4px;
    background: #1a0000;
    font-size: 13px;
    color: #ff8888;
}

.delete-confirm p {
    margin: 0 0 8px;
}

.delete-confirm-actions {
    display: flex;
    gap: 8px;
}

.delete-confirm-actions button {
    padding: 5px 16px;
    font-size: 12px;
    border-radius: 3px;
    cursor: pointer;
    border: 1px solid;
}

.delete-confirm-actions .btn-confirm-delete {
    background: #ff4444;
    border-color: #ff4444;
    color: #fff;
}

.delete-confirm-actions .btn-cancel-delete {
    background: transparent;
    border-color: #444;
    color: #aaa;
}

/* ── Step Indicator ────────────────────────────────────────── */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px 12px;
    gap: 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: default;
    opacity: 0.35;
    transition: opacity 0.2s;
}

.step-item.active,
.step-item.done {
    opacity: 1;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #555;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.2s;
}

.step-item.active .step-num {
    border-color: #fff;
    background: #fff;
    color: #000;
}

.step-item.done .step-num {
    border-color: #666;
    background: #333;
    color: #fff;
}

.step-item.done .step-num::after {
    content: "✓";
    position: absolute;
}

.step-label {
    font-size: 11px;
    color: #888;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.step-item.active .step-label {
    color: #fff;
}

.step-line {
    flex: 1;
    height: 1px;
    background: #444;
    margin: 0 8px;
    margin-bottom: 18px;
    max-width: 60px;
}

/* ── Wizard Body ───────────────────────────────────────────── */
.wizard-body {
    max-width: 700px;
    margin: 0 auto;
    padding: 12px 20px 100px;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
}

.wizard-step h3 {
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 8px;
}

.wizard-step h4 {
    font-size: 0.95rem;
    color: #ccc;
    margin: 20px 0 10px;
}

.optional-hint {
    color: #666;
    font-size: 0.75rem;
    font-weight: normal;
}

/* ── Forms ─────────────────────────────────────────────────── */
.form-control {
    background: #111;
    border: 1px solid #444;
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
}

.form-control:focus {
    background: #111;
    border-color: #aaa;
    color: #fff;
    box-shadow: none;
}

.form-control::placeholder {
    color: #555;
}

input.form-control,
select.form-control {
    height: 46px;
    min-height: 46px;
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 1.2;
}

select.form-control {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6.5 6 6.5-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

select.form-control option {
    background: #111;
    color: #fff;
}

label {
    color: #ccc;
    font-size: 13px;
    margin-bottom: 4px;
}

.req {
    color: #ff4444;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #aaa;
    font-size: 14px;
}

.toggle-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #fff;
}

.form-row {
    margin-left: -5px;
    margin-right: -5px;
}

.form-row > .col-6 {
    padding-left: 5px;
    padding-right: 5px;
}

/* ── BPM / Tap Tempo ──────────────────────────────────────── */
.bpm-input-group {
    display: flex;
    gap: 8px;
}

.bpm-input-group .form-control {
    flex: 1;
}

#tap-tempo-btn {
    font-weight: bold;
    letter-spacing: 1px;
    white-space: nowrap;
    min-width: 64px;
}

#tap-tempo-btn.tapping {
    background: #fff;
    color: #000;
}

#tap-tempo-display {
    color: #888;
    font-size: 12px;
}

/* ── Note Picker ──────────────────────────────────────────── */
.note-picker {
    display: flex;
    gap: 6px;
}

.note-picker .note-select {
    flex: 2;
}

.note-picker .octave-select {
    flex: 1;
}

/* ── Structure Builder ────────────────────────────────────── */
.structure-builder {
    margin-bottom: 20px;
}

.add-section-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.add-section-row .form-control {
    flex: 1;
}

.section-list {
    min-height: 40px;
}

.section-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #333;
    border-radius: 4px;
    margin-bottom: 6px;
    cursor: grab;
    transition: background 0.15s, border-color 0.15s;
    user-select: none;
    -webkit-user-select: none;
}

.section-item:active {
    cursor: grabbing;
}

.section-item.selected {
    border-color: #fff;
    background: #1a1a1a;
}

.section-item.drag-over {
    border-color: #aaa;
    background: #222;
}

.section-item .drag-handle {
    color: #555;
    font-size: 18px;
    cursor: grab;
    touch-action: none;
    line-height: 1;
}

.section-item .section-name {
    flex: 1;
    font-size: 14px;
}

.section-item .section-chords-hint {
    color: #555;
    font-size: 12px;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.section-item .section-repeat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #888;
}

.section-item .section-repeat input {
    width: 36px;
    background: #111;
    border: 1px solid #444;
    color: #fff;
    text-align: center;
    font-size: 13px;
    padding: 2px 4px;
    border-radius: 3px;
}

.section-item .section-remove {
    background: none;
    border: none;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.section-item .section-remove:hover {
    color: #ff4444;
}

.hint-text {
    color: #555;
    font-size: 13px;
    text-align: center;
    padding: 20px 0;
}

/* ── Chord Editor ─────────────────────────────────────────── */
.chord-editor {
    border-top: 1px solid #333;
    padding-top: 16px;
    margin-top: 8px;
}

.chord-editor h4 {
    margin-top: 0;
}

.chord-editor h4 span {
    color: #fff;
}

.chord-input-wrap {
    margin-bottom: 12px;
}

#chord-input {
    font-family: "Courier New", Courier, monospace;
    font-size: 16px;
    line-height: 1.6;
    resize: vertical;
    min-height: 60px;
}

/* ── Chord Palette ────────────────────────────────────────── */
.chord-palette {
    margin-bottom: 16px;
}

.palette-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.pal-btn {
    min-width: 44px;
    min-height: 44px;
    padding: 6px 10px;
    background: #1a1a1a;
    border: 1px solid #444;
    color: #fff;
    font-family: "Courier New", monospace;
    font-size: 15px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.1s;
    touch-action: manipulation;
}

.pal-btn:hover,
.pal-btn:active {
    background: #333;
}

.pal-btn[data-shortcut] {
    position: relative;
}

@media (hover: hover) {
    .pal-btn[data-shortcut]::after {
        content: attr(data-shortcut);
        position: absolute;
        left: 50%;
        bottom: calc(100% + 8px);
        transform: translateX(-50%) translateY(4px) scale(0.96);
        background: #111;
        color: #fff;
        border: 1px solid #666;
        border-radius: 4px;
        padding: 3px 7px;
        font-size: 11px;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.12s ease;
        z-index: 20;
    }

    .pal-btn[data-shortcut]:hover::after {
        opacity: 1;
        animation: shortcut-pop 0.18s ease-out forwards;
    }
}

@keyframes shortcut-pop {
    from {
        transform: translateX(-50%) translateY(4px) scale(0.96);
    }
    to {
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

.pal-btn.pal-mod {
    font-weight: normal;
    font-size: 13px;
    color: #ccc;
}

.pal-btn.pal-special {
    font-weight: normal;
    font-size: 12px;
    color: #aaa;
    min-width: 64px;
}

/* ── Chord Preview ────────────────────────────────────────── */
.chord-preview-area h5 {
    font-size: 0.8rem;
    color: #666;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.chord-preview {
    font-family: "Courier New", monospace;
    font-size: 16px;
    line-height: 2;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 4px;
    min-height: 40px;
    background: #0a0a0a;
}

.chord-preview .chord-token {
    display: inline-block;
    margin-right: 12px;
    color: #fff;
}

.chord-preview .chord-token.invalid {
    color: #ff4444;
    text-decoration: underline wavy;
}

.chord-preview .chord-token.repeat-marker {
    color: #888;
}

.chord-preview .chord-token.line-break {
    display: block;
    height: 0;
}

/* ── Review Step ──────────────────────────────────────────── */
#review-content {
    margin-bottom: 20px;
}

.review-section {
    margin-bottom: 20px;
    position: relative;
}

.review-section h4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review-edit-btn {
    background: none;
    border: 1px solid #444;
    color: #888;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 3px;
    cursor: pointer;
}

.review-edit-btn:hover {
    color: #fff;
    border-color: #888;
}

.review-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
    font-size: 13px;
}

.review-meta-grid .meta-label {
    color: #666;
}

.review-meta-grid .meta-value {
    color: #fff;
}

.review-chords-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Courier New", monospace;
}

.review-chords-table td {
    padding: 6px 10px;
    border: 1px solid #333;
    vertical-align: top;
}

.review-chords-table .part-name {
    color: #888;
    width: 120px;
    font-size: 13px;
    white-space: nowrap;
}

.review-chords-table .part-chords {
    color: #fff;
    font-size: 14px;
}

.review-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.review-link {
    background: #1a1a1a;
    border: 1px solid #444;
    padding: 4px 12px;
    border-radius: 3px;
    color: #aaa;
    font-size: 12px;
    text-decoration: none;
}

.review-link:hover {
    color: #fff;
    border-color: #888;
    text-decoration: none;
}

/* ── Submit ────────────────────────────────────────────────── */
#submit-area {
    margin-top: 24px;
    border-top: 1px solid #333;
    padding-top: 20px;
}

#submit-song-btn {
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 16px;
    padding: 14px;
}

#submit-song-btn:disabled {
    opacity: 0.4;
}

#submit-result {
    margin-top: 16px;
    padding: 16px;
    border-radius: 4px;
    font-size: 14px;
}

#submit-result.success {
    border: 1px solid #444;
    color: #fff;
    background: #111;
}

#submit-result.error {
    border: 1px solid #ff4444;
    color: #ff4444;
    background: #1a0000;
}

/* ── Bottom Nav ────────────────────────────────────────────── */
.wizard-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111;
    border-top: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    z-index: 100;
}

.wizard-nav .btn {
    min-width: 100px;
}

#step-counter {
    color: #666;
    font-size: 13px;
}

/* ── Responsive / Mobile ──────────────────────────────────── */
@media (max-width: 768px) {
    .wizard-header {
        padding: 12px 16px 4px;
    }

    .wizard-brand {
        font-size: 1rem;
    }

    .wizard-body {
        padding: 8px 16px 120px;
    }

    .wizard-mode-toggle {
        padding: 0 16px;
    }

    .mode-btn {
        font-size: 13px;
        padding: 8px 12px;
    }

    #my-songs-panel {
        padding: 8px 16px 120px;
    }

    .my-song-card-header {
        flex-direction: column;
    }

    .my-song-card-actions {
        align-self: flex-end;
    }

    .step-label {
        font-size: 9px;
    }

    .step-num {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .step-line {
        max-width: 30px;
    }

    .form-row > .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 8px;
    }

    .section-item .section-chords-hint {
        display: none;
    }

    .pal-btn {
        min-width: 40px;
        min-height: 44px;
        font-size: 14px;
        padding: 6px 8px;
    }

    .review-meta-grid {
        grid-template-columns: 1fr;
    }

    .review-chords-table .part-name {
        width: 80px;
        font-size: 11px;
    }

    .review-chords-table .part-chords {
        font-size: 13px;
    }

    #submit-song-btn {
        font-size: 14px;
        padding: 12px;
    }
}

@media (max-width: 400px) {
    .step-indicator {
        padding: 12px 10px 8px;
    }

    .step-label {
        font-size: 8px;
    }

    .step-line {
        max-width: 16px;
        margin: 0 4px;
    }

    .palette-row {
        gap: 4px;
    }

    .pal-btn {
        min-width: 36px;
        font-size: 13px;
        padding: 6px 6px;
    }
}

/* ── Auth gate: apply CTA ─────────────────────────────────── */
.auth-apply-cta {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #333;
}

.auth-apply-cta-text {
    color: #888;
    font-size: 13px;
    margin-bottom: 10px;
}

.auth-apply-btn {
    border-color: #555 !important;
    color: #ccc !important;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.auth-apply-btn:hover {
    background: #222 !important;
    border-color: #777 !important;
    color: #fff !important;
}

/* ── Song Creator apply page (/add/apply/) ───────────────── */
.apply-page-body {
    background: #000;
    min-height: 100vh;
    margin: 0;
}

.apply-page-wrap {
    padding-top: 24px;
    padding-bottom: 48px;
}

.apply-form-container {
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
}

.apply-back-brand {
    display: inline-block;
    margin-bottom: 20px;
}

.apply-title {
    color: #fff;
    font-size: 1.35rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.apply-intro {
    color: #888;
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 28px;
}

.apply-intro a {
    color: #aaa;
    text-decoration: underline;
}

.apply-privacy-box .custom-control-label {
    color: #bbb;
    font-size: 13px;
    line-height: 1.5;
}

.apply-page-wrap .custom-control-label {
    color: #ccc;
}

.apply-success {
    text-align: center;
    padding: 32px 0;
}

.apply-success h3 {
    color: #fff;
    margin-bottom: 16px;
}

.apply-success p {
    color: #888;
}

.ca-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ── Admin song overview (add/admin/) ───────────────────────── */
#admin-auth-gate {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.admin-panel-body {
    padding: 16px 20px 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.admin-intro {
    margin-bottom: 16px;
}

.admin-table-wrap {
    border: 1px solid #333;
    border-radius: 4px;
}

.admin-songs-table {
    margin-bottom: 0;
    font-size: 13px;
}

.admin-songs-table th {
    white-space: nowrap;
    border-color: #333 !important;
}

.admin-songs-table td {
    border-color: #2a2a2a !important;
    vertical-align: middle;
}

.admin-note-cell {
    max-width: 220px;
    word-break: break-word;
    color: #aaa;
}

.admin-review-badge {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.03em;
}
