﻿/* ===================================================== */
/* BASE PAGE STYLES                                      */
/* ===================================================== */
html {
    height: 100%;
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
    margin-left: 20px;
    margin-right: 20px;
    background-color: #141d37;
    color: azure;
    overflow: hidden;
}

/* ===================================================== */
/* MASTER / LAYOUT                                       */
/* ===================================================== */
#masterChrome {
    flex-shrink: 0;
}

.container.body-content {
    height: calc(100vh - 90px);
    overflow-y: auto;
    overflow-x: hidden;
    width: calc(100vw - 40px);
    box-sizing: border-box;
    padding-left: 10px;
}

#div_HEADER {
    display: flex;
    align-items: center;
}

/* ===================================================== */
/* HEADER / IMAGES                                       */
/* ===================================================== */
.stellada_image {
    height: 41px;
    width: 50px;
}

.star-image-header {
    width: 30px;
    height: 30px;
}

/* ===================================================== */
/* TYPOGRAPHY / LABELS                                   */
/* ===================================================== */
.label-header {
    font-family: 'Segoe UI', sans-serif;
    color: azure;
}

/* ===================================================== */
/* FOOTER                                                */
/* ===================================================== */
.footer-label {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #141d25;
    color: azure;
    text-align: center;
    padding: 10px 0;
    font-family: 'Segoe UI', sans-serif;
    font-size: 12pt;
    z-index: 1000;
    border-top: 1px solid #ccc;
}

/* ===================================================== */
/* GRID ROWS                                             */
/* ===================================================== */
.gridRow:hover {
    background-color: #caf7c5 !important;
}

/* ===================================================== */
/* GRID COLUMN BORDERS                                   */
/* ===================================================== */
td.col-left-border,
th.col-left-border {
    border-left: 3px solid #555;
}

td.col-right-border,
th.col-right-border {
    border-right: 1px solid #555;
    text-align: center;
}

td.col-left-right-border,
th.col-left-right-border {
    border-left: 3px solid #555;
    border-right: 3px solid #555;
}

/* ===================================================== */
/* GRID COLUMN BACKGROUNDS                               */
/* ===================================================== */
td.col-left-right-background-border,
th.col-left-right-background-border {
    border-left: 1px solid #555;
    border-right: 1px solid #555;
    background-color: antiquewhite;
    color: #222 !important;
}

td.col-left-right-background-border-group,
th.col-left-right-background-border-group {
    border-left: 1px solid #555;
    border-right: 1px solid #555;
    background-color: wheat;
    color: #222 !important;
}

td.col-left-right-background-border-user,
th.col-left-right-background-border-user {
    border-left: 1px solid #555;
    border-right: 1px solid #555;
    background-color: burlywood;
    color: #222 !important;
}

td.col-PLAY,
th.col-PLAY {
    border-left: 1px solid #555;
    border-right: 1px solid #555;
    background-color: lightgreen;
}

/* ===================================================== */
/* NOTES COLUMN                                          */
/* ===================================================== */
.notes-left-border {
    border-left: 2px solid #666;
    padding-left: 6px;
    max-width: 600px;
    word-wrap: break-word;
    white-space: normal;
    vertical-align: top;
    text-align: left;
}

/* ===================================================== */
/* CHECKBOXES                                            */
/* ===================================================== */
.group-checkbox.locked {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
}

/* ===================================================== */
/* CURRENT DOT INDICATOR                                 */
/* ===================================================== */
.current-dot {
    width: 24px;
    height: 24px;
    margin: auto;
    border: 3px solid black;
    background-color: transparent;
    visibility: hidden;
}

    .current-dot.visible {
        background-color: black;
        visibility: visible;
    }

/* ===================================================== */
/* STICKY GRID HEADER                                    */
/* ===================================================== */
[id$="grid_SONG_LIST"] th {
    position: sticky;
    top: 0;
    z-index: 10;
}

/* ===================================================== */
/* BUTTONS                                               */
/* ===================================================== */
.button-style {
    display: inline-block;
    box-sizing: border-box;
    width: auto;
    height: auto;
    padding: 6px 12px;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 4px;
    background-color: #f4f4f4;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: #000;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    opacity: 1;
}

    .button-style:hover,
    .button-style:focus,
    .button-style:active {
        background-color: #e0e0e0;
        border-color: #ccc;
        color: #000;
    }

    .button-style:disabled,
    .button-style[disabled] {
        background-color: #ddd;
        color: #888;
        cursor: default;
    }

.btn_SUBMIT {
    background-color: indianred;
    color: white;
    border: none;
    padding: 4px 12px;
}

    .btn_SUBMIT:hover {
        background-color: white;
        color: indianred;
    }

.btn_CANCEL {
    background-color: darkorange;
    color: white;
    border: none;
    padding: 4px 12px;
}

    .btn_CANCEL:hover {
        background-color: green;
        color: black;
    }

/* ===================================================== */
/* PRINT OVERRIDES                                       */
/* ===================================================== */
@media print {
    html, body {
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
        overflow: visible !important;
    }

    form {
        margin: 0 !important;
        padding: 0 !important;
    }

    #masterChrome,
    footer {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    button, input, select, textarea {
        display: none !important;
    }

    .container,
    .body-content {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        overflow: visible !important;
    }

    .no-print {
        display: none !important;
    }
}

.controls-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.selector-scroll {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #444;
}

    .selector-scroll table th {
        position: sticky;
        top: 0;
        z-index: 5;
    }

