/* * GLOBAL STYLES */
:root {
    --primary: #464646;
    --old-primary: #2c3e50;
    --secondary: #34495e;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --header-height: 8rem;
}

.dark {
    --primary: #464646;
    --old-primary: #2c3e50;
    --secondary: #34495e;
    --accent: #e74c3c;
    --light: #ecf0f1;
}

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

html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: var(--light);
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a[title]:hover:after {
    /* content: attr(title); */
    position: absolute;
    background-color: var(--secondary);
    color: var(--light);
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
}

input[type="text"]:disabled {
    background-color: #dedede;
}

.material-symbols-outlined {
    font-size: 64px;
    color: var(--primary);
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
}

.material-symbols-outlined:hover {
    color: gray;
}

/*
 * HEADER STYLES
 */

.header {
    background: var(--primary);
    color: white;
    padding: 0.5rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.h-custom {
    height: var(--header-height);
}

.header-offset {
    padding-top: var(--header-height);
}

.header-nav-button {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.header-column {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

header .material-symbols-outlined {
    color: var(--light);
    font-size: 1.5rem;
}

.tool-button-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    height: 100%;
}

.double-buttons-container {
    align-items: center;
}

.double-buttons {
    font-size: 24px;
}

.hrow-4-label {
    font-size: xx-small;
    text-align: center;
}

/*
 * NAVIGATION STYLES
 */

.top-nav-menu {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    max-width: 50px;
}

.top-nav-button {
    background: white;
    border: none;
    border-width: 1px 1px;
    border-radius: 10px;
    padding: none;
    text-align: center;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.top-nav-button:hover {
    transform: translateY(-1px);
    background: gray;
}

.nav-button {
    background: white;
    border: none;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(0) translateZ(0);
}

.nav-button:hover {
    transform: translateY(-5px) translateZ(0);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.nav-button svg {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.nav-button h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.nav-button p {
    color: var(--secondary);
    font-size: 0.9rem;
}

/*
 * CONTENT SECTIONS
 */

.logo {
    max-width: 200px;
    margin: 1rem auto;
}

.logo-neighbor {
    max-width: 200px;
    margin: 1rem auto;
}

.welcome-section {
    text-align: center;
    padding: 3rem 1rem;
    background: white;
    margin: 2rem auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.buttons-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.phone-number{
    font-weight: bold;
}

/*
 * MESSAGES
 */

.error-msg {
    text-align: center;
    font-weight: bold;
    color: var(--accent);
    padding: 3rem 1rem;
    background: white;
    margin: 2rem auto;
    max-width: 800px;
    border-radius: 10px;
}

.success-msg {
    text-align: center;
    font-weight: bold;
    color: var(--secondary);
    padding: 3rem 1rem;
    background: white;
    margin: 2rem auto;
    max-width: 800px;
    border-radius: 10px;
}

/*
 * CONTROLS
 */

.controlButton {
    display: inline-block;
    outline: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    border-radius: 500px;
    transition-property:
        background-color, border-color, color, box-shadow, filter;
    transition-duration: 0.3s;
    border: 1px solid transparent;
    letter-spacing: 2px;
    min-width: 160px;
    text-transform: uppercase;
    white-space: normal;
    font-weight: 700;
    text-align: center;
    padding: 17px 48px;
    color: #fff;
    background-color: #1ed760;
    height: 48px;
}

.controlButton:hover {
    transform: scale(1.04);
    background-color: #21e065;
}

/*
 * TABLES
 */

.table-container {
    height: 500px; /* Fixed height */
    overflow-y: auto; /* Enable vertical scrolling */
}

/*
 * AUTOCOMPLETE
 */

.autocomplete-item {
    padding: 8px;
    cursor: pointer;
    background-color: #c0c0c0;
    border: 1px solid #ccc;
}

.autocomplete-item:hover {
    background-color: #f0f0f0;
}

/* 
 * USER MENU SIDE BAR
 */

#user-menu-sidebar{
    background-color: var(--primary);
    color: var(--light);
}

#user-menu-sidebar.active {
    transform: translateX(0);
}

#sidebar-overlay.active {
    display: block;
}

/*
 * FOOTER STYLES
 */

.footer {
    background: var(--primary);
    color: white;
    padding: 0.5rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

footer .material-symbols-outlined {
    color: var(--light);
    font-size: 1.5rem;
}

.container{
    display:flex;
    flex-direction: row;
    align-items: center;
    width: 100% !important;
    max-width: none !important;
}

/*
 * PAGE SPECIFIC STYLES
 */

.line {
    line-height: 1.2;
    display: flex;
    flex-wrap: wrap;
    font-size: 0;
}

.chord-lyric-pair {
    /*display: inline-block;*/
    position: relative;
    vertical-align: top;
    /*margin-right: 0.5rem;*/
    color: #222424;
    font-family: "Courier New", monospace !important;
    font-size: 1rem; /* Base font size */
}

.chord-above {
    display: block;
    font-weight: bold;
    color: #36728f;
}

.lyric-below {
}

.empty-line {
    height: 1.5rem;
}

.section-marking {
    font-size: 1rem;
    font-weight: bold;
    color: rgb(26, 48, 59);
    font-family: Verdana, sans-serif;
    margin-bottom: 0.5rem;
    text-decoration: underline;
}

.song-title{
    font-size: 2rem;
    font-weight: bold;
    color: rgb(26, 48, 59);
    font-family: Verdana, sans-serif;
    margin-bottom: 0.5rem;
    text-decoration: underline;
}