body {
    background-color: #ffffff;
    color: #000000;
    font-family: sans-serif;
}

h2 {
    color: #000000;
}

/* =========================================================
   TITLES
   ========================================================= */

.title-main {
    font-size: 18px;
    font-weight: 700;
}

.title-main a,
.title-main a:visited {
    color: inherit;
    text-decoration: none;
}

.title-main a:hover,
.title-main a:visited:hover {
    color: #0b4f8a;
    text-decoration: none;
}

.title-main::after {
    content: "";
    display: block;
    width: 45px;
    margin: 4px 0 3px;
    border-bottom: 1px solid currentColor;
    opacity: 0.35;
}

.title-sub {
    margin-top: 2px;
    font-size: 12px;
    opacity: 0.8;
}

.title-sub a,
.title-sub a:visited,
.title-sub a:hover,
.title-sub a:visited:hover {
    color: inherit;
    text-decoration: none;
}

.title-sub a:hover,
.title-sub a:visited:hover {
    color: #0b4f8a;
    font-weight: 700;
}


/* =========================================================
   BUTTON-STYLE LINKS
   ========================================================= */

.button-link {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #000000;
    border-radius: 5px;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.button-link:hover {
    background-color: #ffffff;
    color: #000000;
}

/* =========================================================
   DROPDOWN
   ========================================================= */

.dropbtn {
    padding: 10px;
    border: 1px solid #000000;
    background-color: #000000;
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    position: absolute;
    z-index: 1;
    display: none;
    min-width: 160px;
    border: 1px solid #000000;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.dropdown-content a {
    display: block;
    padding: 12px 16px;
    color: #000000;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: #000000;
    color: #ffffff;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #ffffff;
    color: #000000;
}

/* =========================================================
   CENTERING HELPERS
   ========================================================= */

.center,
.div-1 {
    margin-right: auto;
    margin-left: auto;
}

/* =========================================================
   CORRAL TABLE
   ========================================================= */

.styled-table {
    min-width: 400px;
    margin: 25px auto;
    border-collapse: collapse;
    font-family: sans-serif;
    font-size: 0.9em;
    border: 1px solid #000000;
}

.styled-table thead tr {
    border-bottom: 2px solid #009879;
    background-color: #009879;
    color: #ffffff;
    text-align: left;
}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
}

.styled-table tbody tr {
    border-bottom: 1px solid #000000;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #c0e2ca;
}

.styled-table tbody tr:nth-of-type(odd) {
    background-color: #f3f3e1;
}

.styled-table tbody tr.active-row {
    color: #000000;
    font-weight: bold;
}


.styled-table thead th {
    position: sticky;
    top: 96px;
    z-index: 900;
    background-color: #009879;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
}
.delete-col {
    color: #b00020;
}



.table-title-top-link,
.table-title-top-link:visited {
    color: inherit;
    text-decoration: none;
}

.table-title-top-link:hover {
    color: inherit;
    text-decoration: underline;
}

.song-icon-link {
    text-decoration: none;
}

.song-edit-link {
    text-decoration: none;
    font-size: 18px;
}

.song-delete-form {
    display: inline;
}

.song-delete-button {
    border: 0;
    background: none;
    color: #b00020;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}



/* =========================================================
   LINKS
   ========================================================= */

a {
    color: #000000;
    text-decoration: underline;
}


/*

a:hover {
    background-color: transparent;
    color: #063d6b;
    text-decoration: underline;
}
*/

a:hover {
    background-color: transparent;
    color: #1479c9;
    text-decoration: underline;
}



#link, #lnk, #top a:link {
    color: inherit;
    text-decoration: none;
}

.filter-form {
    margin-bottom: 12px;
}

/* =========================================================
   CORRAL TOOLBAR / CONTROLS
   ========================================================= */

.toolbar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid #000000;
}

.toolbar-row1, .toolbar-row2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.toolbar-row1 {
    justify-content: space-between;
}

.toolbar-view-group {
    display: flex;
    align-items: center;
    gap: 10px;
}


.view-badge {
    padding: 3px 10px;
    border: 1px solid #009879;
    border-radius: 99px;
    background: #009879;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

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

.btn-sm {
    padding: 5px 14px;
    border: 1px solid #000000;
    border-radius: 6px;
    background: #ffffff;
    color: #000000;
    cursor: pointer;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}

.btn-sm:hover {
    background: #000000;
    color: #ffffff;
}

.btn-primary {
    background: #000000;
    color: #ffffff;
}

.btn-primary:hover {
    background: #ffffff;
    color: #000000;
}

.ctrl-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ctrl-label {
    color: #000000;
    font-size: 12px;
    white-space: nowrap;
}

select.ctrl-select {
    padding: 4px 8px;
    border: 1px solid #000000;
    border-radius: 6px;
    background: #ffffff;
    color: #000000;
    font-size: 13px;
}

.toolbar-divider {
    width: 1px;
    height: 20px;
    background: #000000;
}

.back-link {
    padding: 6px 14px;
    font-size: 13px;
}

.btn-back {
    border: 1px solid #000000;
    background: #ffffff;
    color: #000000;
}

.btn-back:hover {
    background: #000000;
    color: #ffffff;
}

/* =========================================================
   FIND SONG BUTTON
   ========================================================= */

.btn-find {
    border: 1px solid #000000;
    background: #000000;
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
}

.btn-find:hover {
    background: #ffffff;
    color: #000000;
}

/* =========================================================
   FIND SONG DIALOG
   ========================================================= */

.song-search-dialog {
    box-sizing: border-box;
    width: min(720px, 92vw);
    max-height: 82vh;
    padding: 0;
    overflow: hidden;
    border: 2px solid #000000;
    border-radius: 8px;
    background: #ffffff;
    color: #000000;
}

.song-search-dialog::backdrop {
    background: rgba(0, 0, 0, 0.7);
}

.song-search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 18px;
    /*background: #000000;*/
    background: #009879;
    color: #ffffff;
}

.song-search-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
}

.song-search-close {
    width: 34px;
    height: 34px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    font-size: 2rem;
    line-height: 30px;
}

.song-search-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.song-search-body {
    padding: 18px;
}

.song-search-input {
    box-sizing: border-box;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #000000;
    border-radius: 6px;
    background: #ffffff;
    color: #000000;
    font-family: inherit;
    font-size: 1rem;
}

.song-search-input:focus {
    outline: 2px solid #000000;
}

.song-search-message {
    margin: 12px 2px;
    color: #000000;
    font-size: 0.9rem;
}

.song-search-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 56vh;
    padding: 4px 3px 8px;
    overflow-y: auto;
}

.song-search-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
    border: 1px solid #000000;
    border-radius: 6px;
    background: #ffffff;
}

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

.song-search-title {
    display: block;
    max-width: 100%;
    padding: 0;
    overflow: hidden;
    border: none;
    background: transparent;
    color: #0b4f8a;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.song-search-title:hover {
    color: #1479c9;
    text-decoration: underline;
}

.song-search-artist {
    margin-top: 5px;
    overflow: hidden;
    color: #333333;
    font-size: 0.88rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.song-search-actions {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.song-search-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 7px 11px;
    border: 1px solid #000000;Screenshot from 2026-08-20 11-44-55
    border-radius: 6px;
    background: #ffffff;
    color: #000000;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.song-search-action:hover {
    background: #000000;
    color: #ffffff;
}

.song-search-pdf {
    border-color: #000000;
    background: #000000;
    color: #ffffff;
}

.song-search-pdf:hover {
    background: #ffffff;
    color: #000000;
}

.song-row-highlight td {
    animation: songRowHighlight 2.5s ease;
}

@keyframes songRowHighlight {
    0%, 100% { background: inherit; }
    12%, 75% { background: #dddddd; }
}

@media (max-width: 600px) {
    .song-search-dialog {
        width: 94vw;
        max-height: 88vh;
    }
    .song-search-result {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 13px;
    }
    .song-search-actions {
        width: 100%;
        justify-content: flex-start;
    }
    .song-search-title, .song-search-artist {
        white-space: normal;
    }
}

/* =========================================================
   DARK MODE
   Activated by: <body class="dark-mode">
   ========================================================= */

body.dark-mode {
    background-color: #000000;
    color: #ffffff;
}

/* General text */
body.dark-mode h2,
body.dark-mode .ctrl-label,
body.dark-mode .song-search-message {
    color: #ffffff;
}

/* Toolbar and standard controls */
body.dark-mode .toolbar {
    border-bottom-color: #ffffff;
}

body.dark-mode select.ctrl-select,
body.dark-mode .btn-sm,
body.dark-mode .btn-back,
body.dark-mode .button-link,
body.dark-mode .dropbtn,
body.dark-mode .song-search-dialog,
body.dark-mode .song-search-input,
body.dark-mode .song-search-result,
body.dark-mode .song-search-action {
    border-color: #ffffff;
}

body.dark-mode select.ctrl-select,
body.dark-mode .btn-sm,
body.dark-mode .btn-back,
body.dark-mode .song-search-dialog,
body.dark-mode .song-search-body,
body.dark-mode .song-search-input,
body.dark-mode .song-search-result,
body.dark-mode .song-search-action,
body.dark-mode .dropdown-content {
    background-color: #000000;
    color: #ffffff;
}

/* Corral playlist/sort selects */
body.dark-mode .toolbar select {
    background-color: #000000;
    color: #ffffff;
    border-color: #ffffff;
    color-scheme: dark;
}

body.dark-mode .toolbar select option {
    background-color: #000000;
    color: #ffffff;
}

body.dark-mode .toolbar-divider {
    background-color: #ffffff;
}

/* Current view / selected playlist pill */
body.dark-mode .view-badge {
    background-color: #d6d6d6;
    color: #111111;
    border-color: #d6d6d6;
}

/* Corral */
body.dark-mode .styled-table {
    border-color: #ffffff;
}

body.dark-mode .styled-table thead tr {
    background-color: #242424;
    color: #ffffff;
    border-bottom-color: #555555;
}

body.dark-mode .styled-table thead th {
    color: #ffffff;
}

body.dark-mode .styled-table tbody tr {
    background-color: #000000;
    color: #ffffff;
    border-bottom-color: #ffffff;
}

/* Links */
body.dark-mode a,
body.dark-mode .song-search-title,
body.dark-mode .dropdown-content a {
    color: #ffffff;
}

body.dark-mode .song-search-artist {
    color: #cccccc;
}

/* Find Song dialog */
body.dark-mode .song-search-header {
    background-color: #242424;
    color: #ffffff;
}

body.dark-mode .song-search-header h2 {
    color: #ffffff;
}

body.dark-mode .song-search-input::placeholder {
    color: #888888;
}

/* High-contrast actions */
body.dark-mode .btn-primary,
body.dark-mode .btn-find,
body.dark-mode .song-search-pdf {
    background-color: #ffffff;
    color: #000000;
}

/* Hover states */
body.dark-mode .btn-sm:hover,
body.dark-mode .btn-back:hover,
body.dark-mode select.ctrl-select:hover,
body.dark-mode .song-search-action:hover,
body.dark-mode .dropdown-content a:hover,
body.dark-mode a:hover {
    background-color: #ffffff;
    color: #000000;
}

body.dark-mode .btn-primary:hover,
body.dark-mode .btn-find:hover,
body.dark-mode .song-search-pdf:hover {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #ffffff;
}

/* Find-song row highlight */
body.dark-mode .song-row-highlight td {
    animation: songRowHighlightDark 2.5s ease;
}

@keyframes songRowHighlightDark {
    0%, 100% { background: inherit; }
    12%, 75% { background: #333333; }
}

/* =========================================================
   SHARED FORM / CARD STYLES
   Consolidated from sh_add_song.php
   2026-08-22
   ========================================================= */

.sh-page {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 18px 40px;
    font-family: Arial, sans-serif;
}

.sh-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .07);
}

.sh-card h1 {
    margin-top: 0;
}

.sh-intro {
    color: #555;
    line-height: 1.5;
}

.sh-form label {
    display: block;
    margin-top: 14px;
    margin-bottom: 5px;
    font-weight: 700;
}

.sh-form input[type="text"],
.sh-form input[type="url"],
.sh-form input[type="file"] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}

.pdf-box {
    margin-top: 20px;
    padding: 16px;
    border: 2px solid #cfcfcf;
    border-radius: 8px;
    background: #fafafa;
}

.hint {
    margin-top: 8px;
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

.optional-section {
    margin-top: 16px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 7px;
}

.optional-section summary {
    cursor: pointer;
    font-weight: 700;
    color: #0b4f8a;
}

.plist {
    margin-top: 8px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.playlist-option {
    font-weight: 400 !important;
    margin: 6px 0 !important;
}

.playlist-option input {
    margin-right: 7px;
}

.sh-actions {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.sh-actions button {
    padding: 10px 18px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.sh-actions a {
    color: #0b4f8a;
}

.sh-success {
    margin-bottom: 18px;
    padding: 12px;
    border: 1px solid #78a981;
    border-radius: 6px;
    background: #e6f5e9;
    color: #276738;
}

.sh-errors {
    margin-bottom: 18px;
    padding: 12px;
    border: 1px solid #cc7777;
    border-radius: 6px;
    background: #ffe5e5;
}

body.dark-mode {
    background: #000000;
    color: #ffffff;
}

body.dark-mode .sh-card {
    background: #000000;
    border-color: #555555;
    box-shadow: none;
}

body.dark-mode .sh-intro,
body.dark-mode .hint {
    color: #cccccc;
}

body.dark-mode .sh-form input[type="text"],
body.dark-mode .sh-form input[type="url"],
body.dark-mode .sh-form input[type="file"] {
    background: #000000;
    color: #ffffff;
    border: 1px solid #777777;
}

body.dark-mode .pdf-box,
body.dark-mode .optional-section,
body.dark-mode .plist {
    background: #000000;
    border-color: #555555;
}

body.dark-mode .optional-section summary,
body.dark-mode .sh-actions a {
    color: #1479c9;
}

body.dark-mode .sh-actions button {
    background: #000000;
    color: #ffffff;
    border: 1px solid #ffffff;
}

body.dark-mode .sh-actions button:hover {
    background: #ffffff;
    color: #000000;
}

body.dark-mode .sh-success {
    background: #102817;
    color: #b8e6c2;
    border-color: #4c8a59;
}

body.dark-mode .sh-errors {
    background: #301414;
    color: #ffd0d0;
    border-color: #a85c5c;
}




/* =========================================================
   SONGHERD HEADER / NAVIGATION
   Consolidated from header.php
   2026-08-22
   ========================================================= */

.sh-header.dark-header .sh-nav a:hover,
.sh-header.dark-header .sh-brand:hover {
    background-color: transparent;
    color: #ffffff;
    text-decoration: underline;
}

.sh-header {
    padding: 14px 18px;
    border-bottom: 1px solid #d7d7d7;
    background: #ffffff;
    font-family: Arial, sans-serif;
    position: sticky;
    top: 0;
    z-index: 1000;
}










.sh-brand {
    display: inline-block;
    margin-bottom: 8px;
    color: #0b4f8a;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}

.sh-brand:hover {
    text-decoration: underline;
}

.sh-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.sh-nav a {
    color: #0b4f8a;
    text-decoration: none;
    font-size: 14px;
}

.sh-nav a:hover {
    text-decoration: underline;
}

.sh-login-status {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}

@media (max-width: 600px) {
    .sh-header {
        padding: 12px;
    }

    .sh-brand {
        font-size: 21px;
    }

    .sh-nav {
        gap: 12px;
    }
    .styled-table thead th {
        top: 132px;
    }

}

/* Dark-mode header */
.sh-header.dark-header {
    background: #181818;
    border-bottom-color: #444444;
}

.sh-header.dark-header .sh-brand,
.sh-header.dark-header .sh-nav a {
    color: #f0f0f0;
}

.sh-header.dark-header .sh-login-status {
    color: #bdbdbd;
}



/* =========================================================
   EDIT SONG PAGE
   Consolidated from sh_edit_song.php
   2026-08-23
   ========================================================= */

.edit-song-page {
    width: calc(100% - 40px);
    max-width: 900px;
    margin: 20px;
    font-family: Arial, sans-serif;
}

.edit-song-page h2,
.edit-song-page h3,
.edit-song-page label {
    color: #002db3;
}

.form-group {
    margin-bottom: 18px;
}

.inline-save-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    max-width: 800px;
}

.edit-song-page .inline-save-row input[type="text"] {
    width: 100%;
    min-width: 0;
}


.edit-song-page .inline-save-button {
    flex: 0 0 auto;
    padding: 9px 12px;
    font-size: 18px;
    line-height: 1;
    border: 1px solid #aaa;
    border-radius: 4px;
    background: transparent;
}





.edit-song-page label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
}

.edit-song-page input[type="text"],
.edit-song-page input[type="url"],
.edit-song-page input[type="file"],
.edit-song-page textarea {
    display: block;
    width: 100%;
    max-width: 800px;
    padding: 9px;
    box-sizing: border-box;
    border: 1px solid #aaa;
    border-radius: 4px;
    font: inherit;
}

.capo-field {
    max-width: 120px !important;
}

.edit-song-page textarea {
    min-height: 120px;
    resize: vertical;
}

.saved-message {
    max-width: 800px;
    margin-bottom: 18px;
    padding: 11px 13px;
    border: 1px solid #78a478;
    border-radius: 5px;
    background: #edf8ed;
    color: #285b28;
}

.pdf-panel {
    max-width: 800px;
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fafafa;
}

.pdf-warning {
    color: #8a5a12;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}

.edit-song-page button,
.edit-song-page .button-link {
    display: inline-block;
    padding: 9px 16px;
    border-radius: 5px;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

.edit-song-page button {
    border: 1px solid #002db3;
    background: #002db3;
    color: #fff;
}

.edit-song-page .button-link {
    border: 1px solid #002db3;
    background: #fff;
    color: #002db3;
}

.remove-pdf-form {
    margin-top: 14px;
}

.pdf-panel a,
.pdf-panel a:visited {
    color: #0b4f8a;
    text-decoration: underline;
}

.pdf-panel a:hover {
    color: #1479c9;
}

/* Dark mode */

body.dark-mode .edit-song-page h2,
body.dark-mode .edit-song-page h3,
body.dark-mode .edit-song-page label {
    color: #ffffff;
}

body.dark-mode .edit-song-page input[type="text"],
body.dark-mode .edit-song-page input[type="url"],
body.dark-mode .edit-song-page input[type="file"],
body.dark-mode .edit-song-page textarea {
    background: #000000;
    color: #ffffff;
    border-color: #777777;
}

body.dark-mode .pdf-panel {
    background: #000000;
    border-color: #555555;
}

body.dark-mode .pdf-warning {
    color: #e6b86a;
}

body.dark-mode .edit-song-page button {
    background: #000000;
    color: #ffffff;
    border-color: #ffffff;
}

body.dark-mode .edit-song-page button:hover {
    background: #ffffff;
    color: #000000;
}

body.dark-mode .edit-song-page .button-link {
    background: #000000;
    color: #ffffff;
    border-color: #ffffff;
}

body.dark-mode .edit-song-page .button-link:hover {
    background: #ffffff;
    color: #000000;
}

body.dark-mode .remove-button {
    background: #000000;
    color: #ff8a8a;
    border-color: #ff8a8a;
}

body.dark-mode .remove-button:hover {
    background: #ff8a8a;
    color: #000000;
}

body.dark-mode .saved-message {
    background: #102817;
    color: #b8e6c2;
    border-color: #4c8a59;
}

body.dark-mode .pdf-panel a,
body.dark-mode .pdf-panel a:visited {
    color: #7db7ff;
}

body.dark-mode .pdf-panel a:hover {
    color: #ffffff;
}

@media (max-width: 700px) {
    .edit-song-page {
        width: auto;
        margin: 12px;
    }
}





/* =========================================================
   PREFERENCES PAGE
   Consolidated from sh_preferences.php
   2026-08-23
   ========================================================= */

.preferences-box {
    width: calc(100% - 40px);
    max-width: 900px;
    margin: 20px;
    padding: 0;
    box-sizing: border-box;
}

.preference-section {
    margin-bottom: 30px;
}

.preference-section h3 {
    margin-bottom: 10px;
}

.preference-options label {
    margin-right: 20px;
}

.save-button {
    padding: 10px 20px;
    font-size: 1rem;
}
.save-button-link {
    display: inline-block;
    text-decoration: none;
}

.message {
    margin-bottom: 20px;
    font-weight: bold;
}

/* =========================================================
   ABOUT SONGHERD
   ========================================================= */

.about-page {
    width: calc(100% - 40px);
    max-width: 800px;
    margin: 20px;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.about-page h1 {
    margin-bottom: 8px;
}

.about-page h2 {
    margin-top: 30px;
    margin-bottom: 8px;
    color: #002db3;
}

.about-page p {
    max-width: 750px;
    line-height: 1.6;
}

.about-lead {
    margin-top: 0;
    font-size: 18px;
}

.about-tagline {
    margin-top: 35px;
    padding-top: 18px;
    border-top: 1px solid #cccccc;
}

body.dark-mode .about-page h2 {
    color: #ffffff;
}

body.dark-mode .about-tagline {
    border-top-color: #555555;
}

@media (max-width: 700px) {
    .about-page {
        width: auto;
        margin: 12px;
    }
}

.tm {
    font-size: 0.5em;
    vertical-align: super;
    margin-left: 1px;
}

p .tm {
    font-size: 0.7em;
}
.about-tagline .tm {
    font-size: 0.85em;
    margin-left: 2px;
}
/* =========================================================
   SONG PLAYLISTS PAGE
   Consolidated from sh_song_playlists.php
   2026-08-25
   ========================================================= */

.song-playlists-page {
    max-width: 720px;
    margin: 20px;
    font-family: Arial, sans-serif;
}

.song-playlists-page h2,
.song-playlists-page h3,
.song-playlists-page label {
    color: #002db3;
}

.song-heading {
    margin-bottom: 26px;
    font-size: 17px;
}

.song-playlists-page .box {
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    background: #ffffff;
}

.song-playlists-page select,
.song-playlists-page button {
    padding: 8px 10px;
    font: inherit;
}

.playlist-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    max-width: 520px;
    margin-bottom: 9px;
    padding: 11px 13px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    background: #ffffff;
}

.song-playlists-page .navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.song-playlists-page .button-link,
.song-playlists-page .button-link:visited {
    background: #ffffff;
    color: #002db3;
    border-color: #002db3;
}

.song-playlists-page .button-link:hover {
    background: #002db3;
    color: #ffffff;
}




/* Dark mode */

body.dark-mode .song-playlists-page h2,
body.dark-mode .song-playlists-page h3,
body.dark-mode .song-playlists-page label {
    color: #ffffff;
}

body.dark-mode .song-playlists-page .box,
body.dark-mode .playlist-item {
    background: #000000;
    border-color: #555555;
}

body.dark-mode .song-playlists-page select {
    background: #000000;
    color: #ffffff;
    border: 1px solid #777777;
}

body.dark-mode .song-playlists-page button {
    background: #000000;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 4px;
}

body.dark-mode .song-playlists-page button:hover {
    background: #ffffff;
    color: #000000;
}

@media (max-width: 600px) {
    .song-playlists-page {
        margin: 12px;
    }

    .playlist-item {
        align-items: flex-start;
    }
}

/* =========================================================
   PLAYLIST SONGS PAGE
   Consolidated from sh_playlist_songs.php
   2026-08-25
   ========================================================= */

.playlist-songs-page {
    width: calc(100% - 40px);
    max-width: 900px;
    margin: 20px;
    font-family: Arial, sans-serif;
}

.playlist-songs-page h2 {
    color: #002db3;
    margin-bottom: 5px;
}

.playlist-name {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 18px;
}

.playlist-songs-page .back-link {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 12px;
    border: 1px solid #0b4f8a;
    border-radius: 5px;
    color: #0b4f8a;
    background: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.playlist-songs-page .back-link:hover {
    color: #1479c9;
    border-color: #1479c9;
    background: #ffffff;
    text-decoration: none;
}

.playlist-songs-page .song-search {
    width: 100%;
    max-width: 600px;
    padding: 10px 12px;
    box-sizing: border-box;
    border: 1px solid #aaa;
    border-radius: 5px;
    font-size: 17px;
    margin-bottom: 15px;
}

.playlist-songs-page .song-list {
    max-width: 700px;
    border: 1px solid #ccc;
    background: #fff;
}

.playlist-songs-page .song-row {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 7px 12px;
    box-sizing: border-box;
    border-bottom: 1px solid #ddd;
}

.playlist-songs-page .song-row:last-child {
    border-bottom: 0;
}

.playlist-songs-page .song-row:hover {
    background: #f6f6f6;
}

.playlist-songs-page .song-check {
    width: 22px;
    height: 22px;
    margin-right: 13px;
    flex: 0 0 auto;
    cursor: pointer;
}

.playlist-songs-page .song-info {
    flex: 1;
}

.playlist-songs-page .song-title {
    font-size: 17px;
    font-weight: 600;
}

.playlist-songs-page .song-artist {
    margin-top: 2px;
    color: #666;
    font-size: 13px;
}

.playlist-songs-page .save-status {
    width: 75px;
    margin-left: 10px;
    color: #666;
    font-size: 12px;
    text-align: right;
}

.playlist-songs-page .save-status.saved {
    color: #267326;
}

.playlist-songs-page .save-status.error {
    color: #a00000;
}

/* Dark mode */

body.dark-mode .playlist-songs-page h2 {
    color: #ffffff;
}

body.dark-mode .playlist-songs-page .back-link {
    color: #ffffff;
    border-color: #ffffff;
    background: #000000;
}

body.dark-mode .playlist-songs-page .back-link:hover {
    color: #000000;
    background: #ffffff;
    border-color: #ffffff;
}

body.dark-mode .playlist-songs-page .song-search {
    background: #000000;
    color: #ffffff;
    border-color: #777777;
}

body.dark-mode .playlist-songs-page .song-list {
    background: #000000;
    border-color: #555555;
}

body.dark-mode .playlist-songs-page .song-row {
    background: #000000;
    border-bottom-color: #555555;
}

body.dark-mode .playlist-songs-page .song-row:hover {
    background: #181818;
}

body.dark-mode .playlist-songs-page .song-artist,
body.dark-mode .playlist-songs-page .save-status {
    color: #cccccc;
}

body.dark-mode .playlist-songs-page .save-status.saved {
    color: #7fd67f;
}

body.dark-mode .playlist-songs-page .save-status.error {
    color: #ff8a8a;
}

@media (max-width: 760px) {
    .playlist-songs-page {
        width: auto;
        margin: 12px;
    }

    .playlist-songs-page .song-list {
        max-width: none;
    }
}



/* =========================================================
   CHANGE PASSWORD PAGE
   Consolidated from sh_change_password.php
   2026-08-25
   ========================================================= */

.password-wrap {
    max-width: 520px;
    margin: 30px auto;
    padding: 20px;
}

.password-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.password-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
}

.password-form input {
    padding: 10px 12px;
    border: 1px solid #bbb;
    border-radius: 6px;
    font-size: 1rem;
}

.password-button {
    align-self: flex-start;
    padding: 10px 18px;
    border: 0;
    border-radius: 6px;
    background: #1a56db;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
}

.password-message {
    margin-bottom: 18px;
    padding: 10px 12px;
    border-radius: 6px;
    font-weight: 600;
}

.password-message.success {
    background: #e7f5ea;
    color: #276738;
}

.password-message.error {
    background: #fdeaea;
    color: #8b1e1e;
}

.password-help {
    color: #666;
    font-size: 0.9rem;
}

/* Dark mode */

body.dark-mode .password-help {
    color: #cccccc;
}

body.dark-mode .password-form input {
    background: #000000;
    color: #ffffff;
    border-color: #777777;
}

body.dark-mode .password-button {
    background: #000000;
    color: #ffffff;
    border: 1px solid #ffffff;
}

body.dark-mode .password-button:hover {
    background: #ffffff;
    color: #000000;
}

body.dark-mode .password-message.success {
    background: #102817;
    color: #b8e6c2;
}

body.dark-mode .password-message.error {
    background: #301414;
    color: #ffd0d0;
}

/* =========================================================
   MANAGE ARTISTS PAGE
   Consolidated from sh_manage_artists.php
   2026-08-25
   ========================================================= */

.manage-artists-page {
    width: calc(100% - 40px);
    max-width: 900px;
    margin: 20px;
    font-family: Arial, sans-serif;
}

.manage-artists-page h2 {
    color: #002db3;
    margin-bottom: 8px;
}

.manage-artists-intro {
    max-width: 700px;
    margin-bottom: 18px;
    color: #555555;
    line-height: 1.4;
}

.manage-artists-page .back-link {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 12px;
    border: 1px solid #0b4f8a;
    border-radius: 5px;
    color: #0b4f8a;
    background: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.manage-artists-page .back-link:hover {
    color: #1479c9;
    border-color: #1479c9;
    background: #ffffff;
    text-decoration: none;
}

.artist-search {
    width: 100%;
    max-width: 700px;
    padding: 10px 12px;
    box-sizing: border-box;
    border: 1px solid #aaaaaa;
    border-radius: 5px;
    font-size: 17px;
    margin-bottom: 15px;
}

.exact-search-option {
    display: block;
    max-width: 700px;
    margin: -5px 0 15px 0;
    font-size: 14px;
    cursor: pointer;
}

.exact-search-option input {
    margin-right: 6px;
}

.bulk-tools {
    max-width: 700px;
    margin-bottom: 15px;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid #cccccc;
    border-radius: 5px;
    background: #f7f7f7;
}

.bulk-tools-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bulk-tools-row + .bulk-tools-row {
    margin-top: 10px;
}

.bulk-selection-status {
    font-size: 13px;
    color: #555555;
}

.bulk-artist-input {
    flex: 1 1 260px;
    min-width: 180px;
    padding: 8px 10px;
    font-size: 16px;
    border: 1px solid #aaaaaa;
    border-radius: 5px;
}

.bulk-button {
    padding: 8px 12px;
    border: 1px solid #0b4f8a;
    border-radius: 5px;
    background: #ffffff;
    color: #0b4f8a;
    font-weight: 600;
    cursor: pointer;
}

.bulk-button:hover {
    color: #ffffff;
    background: #0b4f8a;
}

.manage-artists-page .song-list {
    max-width: 700px;
    border: 1px solid #cccccc;
    background: #ffffff;
}

.manage-artists-page .song-row {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 7px 12px;
    box-sizing: border-box;
    border-bottom: 1px solid #dddddd;
}

.manage-artists-page .song-row:last-child {
    border-bottom: 0;
}

.manage-artists-page .song-row:hover {
    background: #f6f6f6;
}

.artist-select {
    width: 22px;
    height: 22px;
    margin-right: 13px;
    flex: 0 0 auto;
    cursor: pointer;
}

.manage-artists-page .song-info {
    flex: 1;
}

.manage-artists-page .song-title {
    font-size: 17px;
    font-weight: 600;
}

.manage-artists-page .song-artist {
    margin-top: 2px;
    color: #666666;
    font-size: 13px;
}

.manage-message {
    display: none;
    max-width: 700px;
    margin: 0 0 15px 0;
    padding: 12px 14px;
    box-sizing: border-box;
    border: 1px solid #78a981;
    border-radius: 6px;
    background: #e6f5e9;
    color: #276738;
    font-weight: 600;
}

.manage-message.show {
    display: block;
}

.manage-message.error {
    border-color: #cc7777;
    background: #ffe5e5;
    color: #8b1e1e;
}

.manage-message-actions {
    margin-top: 10px;
}

.manage-message .bulk-button {
    margin-right: 8px;
}

/* Dark mode */

body.dark-mode .manage-artists-page h2 {
    color: #ffffff;
}

body.dark-mode .manage-artists-intro,
body.dark-mode .bulk-selection-status,
body.dark-mode .manage-artists-page .song-artist {
    color: #cccccc;
}

body.dark-mode .manage-artists-page .back-link {
    color: #ffffff;
    border-color: #ffffff;
    background: #000000;
}

body.dark-mode .manage-artists-page .back-link:hover {
    color: #000000;
    background: #ffffff;
    border-color: #ffffff;
}

body.dark-mode .artist-search,
body.dark-mode .bulk-artist-input {
    background: #000000;
    color: #ffffff;
    border-color: #777777;
}

body.dark-mode .bulk-tools {
    background: #111111;
    border-color: #555555;
}

body.dark-mode .bulk-button {
    background: #000000;
    color: #ffffff;
    border-color: #ffffff;
}

body.dark-mode .bulk-button:hover {
    background: #ffffff;
    color: #000000;
}

body.dark-mode .manage-artists-page .song-list {
    background: #000000;
    border-color: #555555;
}

body.dark-mode .manage-artists-page .song-row {
    background: #000000;
    border-bottom-color: #555555;
}

body.dark-mode .manage-artists-page .song-row:hover {
    background: #181818;
}

body.dark-mode .manage-message {
    background: #102817;
    color: #b8e6c2;
    border-color: #4c8a59;
}

body.dark-mode .manage-message.error {
    background: #301414;
    color: #ffd0d0;
    border-color: #a85c5c;
}

@media (max-width: 760px) {
    .manage-artists-page {
        width: auto;
        margin: 12px;
    }

    .manage-artists-page .song-list {
        max-width: none;
    }
}

/* =========================================================
   USER ADMIN PAGE
   Consolidated from sh_user_admin.php
   2026-08-25
   ========================================================= */

.admin-wrap {
    width: 90%;
    max-width: 900px;
    margin: 28px auto;
}

.admin-title {
    margin-bottom: 6px;
}

.admin-intro {
    margin-top: 0;
    margin-bottom: 24px;
    color: #555;
}

.admin-card {
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.admin-card h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 20px;
}

.admin-card p {
    margin-top: 0;
    margin-bottom: 16px;
    color: #555;
}

.admin-button {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 5px;
    background: #0b63ce;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.admin-button:hover {
    text-decoration: none;
}

.admin-coming {
    color: #777;
    font-style: italic;
}

/* Dark mode */

body.dark-mode .admin-intro,
body.dark-mode .admin-card p {
    color: #cccccc;
}

body.dark-mode .admin-card {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

body.dark-mode .admin-card h2 {
    color: #ffffff;
}

body.dark-mode .admin-coming {
    color: #aaaaaa;
}

/* =========================================================
   BETA APPLICANTS PAGE
   Consolidated from beta_applicants.php
   2026-08-25
   ========================================================= */


.beta-applicants-page {
    margin: 0;
    font-family: Arial, sans-serif;
    background: transparent;
    color: inherit;
}

.beta-applicants-page .wrap {
    width: 90%;
    max-width: 1000px;
    margin: 28px auto;
}

.beta-applicants-page .box {
    background: #ffffff;
    padding: 30px;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}




.beta-applicants-page h1 {
    margin-top: 0;
}

.beta-applicants-page table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.beta-applicants-page th,
.beta-applicants-page td {
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.beta-applicants-page th {
    background: #f3eadc;
}

.beta-applicants-page button {
    padding: 8px 14px;
    font-weight: bold;
    cursor: pointer;
}

.beta-applicants-page .success {
    background: #e6f5e9;
    border: 1px solid #78a981;
    color: #276738;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.beta-applicants-page .applicant-approve-form {
    margin: 0;
}


.beta-applicants-page .empty {
    margin-top: 20px;
    padding: 20px;
    background: #f7f7f7;
    border-radius: 6px;
}

/* Dark mode */

body.dark-mode .beta-applicants-page {
    background: #000000;
    color: #ffffff;
}

body.dark-mode .beta-applicants-page .box {
    background: #000000;
    color: #ffffff;
    border: 1px solid #555555;
    box-shadow: none;
}

body.dark-mode .beta-applicants-page th {
    background: #181818;
    color: #ffffff;
}

body.dark-mode .beta-applicants-page td {
    border-bottom-color: #555555;
}

body.dark-mode .beta-applicants-page .empty {
    background: #181818;
    color: #ffffff;
}

body.dark-mode .beta-applicants-page button {
    background: #000000;
    color: #ffffff;
    border: 1px solid #ffffff;
}

body.dark-mode .beta-applicants-page button:hover {
    background: #ffffff;
    color: #000000;
}

body.dark-mode .beta-applicants-page .success {
    background: #102817;
    color: #b8e6c2;
    border-color: #4c8a59;
}

/* =========================================================
   BETA ENROLLMENT PAGE
   Consolidated from enroll.php
   2026-08-25
   ========================================================= */

.enroll-page {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f0e4;
    color: #3d2b1f;
}

.enroll-wrap {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.enroll-box {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0,0,0,.12);
}

.enroll-box h1 {
    margin-top: 0;
    text-align: center;
}

.enroll-box p {
    line-height: 1.5;
}

.enroll-box label {
    display: block;
    margin-top: 20px;
    margin-bottom: 5px;
    font-weight: bold;
}

.enroll-box input[type="email"] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}

.enroll-box button {
    width: 100%;
    margin-top: 20px;
    padding: 11px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.enroll-box .error {
    background: #ffe5e5;
    border: 1px solid #cc7777;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
}

/* =========================================================
   LOGIN PAGE
   Consolidated from login.php
   2026-08-27
   ========================================================= */

.login-page {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f0e4;
    color: #3d2b1f;
}

.login-wrap {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.login-box {
    width: 100%;
    max-width: 380px;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0,0,0,.12);
}

.login-box h1 {
    margin-top: 0;
    text-align: center;
}

.login-box label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}

.login-box input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}

.login-box button {
    width: 100%;
    margin-top: 20px;
    padding: 11px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.login-box .error {
    background: #ffe5e5;
    border: 1px solid #cc7777;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
}
/* =========================================================
   PLAYLIST ADMIN PAGE
   Consolidated from sh_playlist_admin.php
   2026-08-27
   ========================================================= */

.playlist-admin-page {
    width: calc(100% - 40px);
    max-width: 1100px;
    margin: 20px;
    font-family: Arial, sans-serif;
}

.playlist-admin-page h2,
.playlist-admin-page h3 {
    color: #002db3;
}

.playlist-admin-page .box {
    background: #ffffff;
    border: 1px solid #cccccc;
    padding: 14px;
    margin-bottom: 18px;
    max-width: 800px;
}

.playlist-admin-page table {
    border-collapse: collapse;
    width: 100%;
    background: #ffffff;
}

.playlist-admin-page th,
.playlist-admin-page td {
    border: 1px solid #cccccc;
    padding: 8px;
    text-align: left;
    vertical-align: middle;
}

.playlist-admin-page th {
    background: #f3f3f3;
}

.playlist-admin-page input[type="text"] {
    padding: 7px;
    box-sizing: border-box;
}

.playlist-admin-page .playlist-name-input {
    width: 360px;
    max-width: 100%;
}

.playlist-admin-page .playlist-col-id {
    width: 80px;
}

.playlist-admin-page .playlist-col-rename {
    width: 420px;
}

.playlist-admin-page .playlist-col-show {
    width: 140px;
}

.playlist-admin-page .playlist-col-manage {
    width: 140px;
}

.playlist-admin-page .playlist-col-delete {
    width: 120px;
}


.playlist-admin-page button {
    padding: 7px 11px;
    cursor: pointer;
}

.playlist-admin-page .msg {
    margin: 10px 0 18px;
    max-width: 800px;
    padding: 10px;
    background: #f3f3f3;
    border: 1px solid #cccccc;
}

.playlist-admin-page .rowform {
    display: flex;
    gap: 8px;
    align-items: center;
}

.playlist-admin-page .rowform input[type="text"] {
    width: 260px;
}

.playlist-admin-page .delete-button {
    color: #a00000;
    border: 1px solid #a00000;
    background: #ffffff;
}

/* Dark mode */

body.dark-mode .playlist-admin-page h2,
body.dark-mode .playlist-admin-page h3 {
    color: #ffffff;
}

body.dark-mode .playlist-admin-page .box,
body.dark-mode .playlist-admin-page table,
body.dark-mode .playlist-admin-page .msg {
    background: #000000;
    color: #ffffff;
    border-color: #555555;
}

body.dark-mode .playlist-admin-page th {
    background: #242424;
    color: #ffffff;
    border-color: #555555;
}

body.dark-mode .playlist-admin-page td {
    background: #000000;
    color: #ffffff;
    border-color: #555555;
}

body.dark-mode .playlist-admin-page input[type="text"] {
    background: #000000;
    color: #ffffff;
    border: 1px solid #777777;
}

body.dark-mode .playlist-admin-page button {
    background: #000000;
    color: #ffffff;
    border: 1px solid #ffffff;
}

body.dark-mode .playlist-admin-page button:hover {
    background: #ffffff;
    color: #000000;
}

body.dark-mode .playlist-admin-page .delete-button {
    background: #000000;
    color: #ff8a8a;
    border-color: #ff8a8a;
}

body.dark-mode .playlist-admin-page .delete-button:hover {
    background: #ff8a8a;
    color: #000000;
}

@media (max-width: 760px) {
    .playlist-admin-page {
        width: auto;
        margin: 12px;
    }

    .playlist-admin-page .rowform {
        flex-direction: column;
        align-items: stretch;
    }

    .playlist-admin-page .rowform input[type="text"] {
        width: 100%;
    }

    .playlist-admin-page table {
        font-size: 14px;
    }
}

/* =========================================================
   NO ARTIST EXPORT PAGE
   Consolidated from beta_no_artist_export.php
   2026-08-27
   ========================================================= */

.no-artist-wrap {
    max-width: 850px;
    margin: 30px auto;
    padding: 0 18px 40px;
    font-family: Arial, sans-serif;
}

.no-artist-card {
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 3px 14px rgba(0,0,0,.07);
}

.no-artist-card h1 {
    margin-top: 0;
}

.no-artist-count {
    margin: 24px 0;
    padding: 18px;
    background: #f7f7f7;
    border: 1px solid #dddddd;
    border-radius: 8px;
}

.no-artist-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 4px;
}

.no-artist-actions {
    margin-top: 22px;
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.no-artist-button {
    display: inline-block;
    padding: 11px 17px;
    border-radius: 7px;
    border: 1px solid #1f6feb;
    background: #1f6feb;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
}

.no-artist-button.disabled {
    opacity: .5;
    pointer-events: none;
}

.no-artist-muted {
    color: #666666;
    line-height: 1.5;
}

/* =========================================================
   CREATE ACCOUNT PAGE
   Consolidated from create_account.php
   2026-08-27
   ========================================================= */

.account-page {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f0e4;
    color: #3d2b1f;
}

.account-wrap {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.account-box {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0,0,0,.12);
}

.account-box h1 {
    margin-top: 0;
    text-align: center;
}

.account-box p {
    line-height: 1.5;
}

.account-box label {
    display: block;
    margin-top: 16px;
    margin-bottom: 5px;
    font-weight: bold;
}

.account-box input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}

.account-box button {
    width: 100%;
    margin-top: 22px;
    padding: 11px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.account-box .error {
    background: #ffe5e5;
    border: 1px solid #cc7777;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
}

/* =========================================================
   PDF IMPORTER PAGE
   Consolidated from beta_importer_v1.php
   2026-08-27
   ========================================================= */

.sh-import-wrap {
    max-width: 1200px;
    margin: 28px auto;
    padding: 0 18px 50px;
    font-family: Arial, sans-serif;
}

.sh-import-card {
    background: #ffffff;
    border: 1px solid #d2d2d2;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 14px rgba(0,0,0,.06);
}

.sh-import-card h1 {
    margin-top: 0;
}

.sh-import-wrap .sh-muted {
    color: #666666;
}

.sh-import-wrap .sh-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0;
    align-items: center;
}

.sh-import-wrap .sh-btn,
.sh-import-wrap .sh-folder-btn {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 7px;
    border: 1px solid #1f6feb;
    background: #1f6feb;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    font-size: 15px;
}

.sh-import-wrap .sh-btn.secondary,
.sh-import-wrap .sh-folder-btn.secondary {
    background: #ffffff;
    color: #1f6feb;
}

.sh-import-wrap .sh-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.sh-import-wrap .sh-folder-btn input {
    display: none;
}

.sh-summary {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.sh-summary-box {
    min-width: 145px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    padding: 12px;
    background: #fafafa;
}

.sh-summary-num {
    display: block;
    font-size: 25px;
    font-weight: bold;
}

.sh-import-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.import-progress-text {
    margin-top: 7px;
}



.pdf-table-hidden {
    display: none;
}

.import-col-select {
    width: 70px;
}

.import-col-number {
    width: 55px;
}


.sh-import-table th,
.sh-import-table td {
    border: 1px solid #cccccc;
    padding: 8px;
    text-align: left;
    vertical-align: middle;
}

.sh-import-table th {
    background: #f1f4f8;
}

.sh-import-table input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    padding: 7px;
    font-size: 15px;
}

.sh-filename {
    font-family: monospace;
    overflow-wrap: anywhere;
}

.sh-notice {
    border: 1px solid #9ec6ee;
    background: #eef6ff;
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
}

.sh-notice.good {
    background: #eefbf1;
    border-color: #8bc49a;
}

.sh-notice.warn {
    background: #fff8dc;
    border-color: #e1c85a;
}

.sh-notice.bad {
    background: #fdeaea;
    border-color: #dd8888;
}

.sh-sticky-actions {
    position: sticky;
    bottom: 0;
    background: #ffffff;
    border-top: 1px solid #cccccc;
    padding: 12px 0;
    margin-top: 15px;
    z-index: 10;
}

#importReport,
#importProgress,
#importError {
    display: none;
}

#importDetails {
    margin-top: 10px;
    padding-left: 22px;
}

/* =========================================================
   ARTIST METADATA IMPORT PAGE
   Consolidated from beta_artist_import.php
   2026-08-27
   ========================================================= */

.artist-import-wrap {
    max-width: 1050px;
    margin: 30px auto;
    padding: 0 18px 50px;
    font-family: Arial, sans-serif;
}

.artist-card {
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 3px 14px rgba(0,0,0,.07);
}

.artist-card h1,
.artist-card h2 {
    margin-top: 0;
}

.artist-muted {
    color: #666666;
    line-height: 1.5;
}

.artist-errors {
    background: #fdeaea;
    border: 1px solid #dd8888;
    padding: 12px;
    border-radius: 7px;
    margin-bottom: 18px;
}

.artist-message {
    background: #eefbf1;
    border: 1px solid #8bc49a;
    padding: 12px;
    border-radius: 7px;
    margin-bottom: 18px;
}

.artist-success {
    background: #eefbf1;
    border: 1px solid #8bc49a;
    padding: 14px;
    border-radius: 7px;
    margin-bottom: 18px;
}

.artist-summary {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 16px 0;
}

.artist-box {
    min-width: 130px;
    background: #fafafa;
    border: 1px solid #cccccc;
    border-radius: 7px;
    padding: 12px;
}

.artist-number {
    display: block;
    font-size: 25px;
    font-weight: bold;
}

.artist-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.artist-table th,
.artist-table td {
    border: 1px solid #cccccc;
    padding: 8px;
    text-align: left;
    vertical-align: middle;
}

.artist-table th {
    background: #f1f4f8;
}

.artist-import-wrap .artist-back-link {
    margin-top: 20px;
}

.artist-import-wrap .artist-delete-form {
    margin: 0;
}

.artist-import-wrap .artist-import-submit-form {
    margin-top: 22px;
}

.status-ready {
    color: #17692c;
    font-weight: bold;
}

.status-skip {
    color: #8a6500;
}

.status-error {
    color: #a40000;
    font-weight: bold;
}

.status-updated {
    color: #17692c;
    font-weight: bold;
}

.artist-button {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 7px;
    border: 1px solid #1f6feb;
    background: #1f6feb;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}

.artist-file {
    margin: 15px 0;
}

.artist-source {
    background: #f7f7f7;
    border: 1px solid #dddddd;
    padding: 10px 12px;
    border-radius: 7px;
    margin: 12px 0;
}

.delete-x {
    border: 0;
    background: transparent;
    color: #b00020;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 3px 8px;
}

.delete-x:hover {
    background: #fdeaea;
    border-radius: 4px;
}

.delete-cell {
    text-align: center !important;
    width: 45px;
}

.manual-artist-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.manual-artist-form {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.manual-artist-form input[type="text"] {
    width: 180px;
    padding: 7px;
}

.artist-button.small {
    padding: 7px 11px;
    font-size: 13px;
}
/* =========================================================
   IMPORT PDFs PAGE
   ========================================================= */

.import-pdfs-page {
    max-width: 700px;
    margin: 40px auto;
    padding: 25px;
    font-family: Arial, sans-serif;
}
.import-pdfs-back-link {
    margin-top: 30px;
}
