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

    /* new identity */
    --active-bg: #DCEFF5;
    --text-dark: #334155;
    --text-gray: #64748b;
    --transition-speed: 0.2s;

    --bg-gray: #F8F9FB;
    --text-muted: #717171;
    --white: #FFFFFF;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --border-radius: 16px;
}

.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
 */

 /* New BEM Views */


 /* Old intuitive views*/

.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;
}

.buttons-row{
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}

.btn-blue {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-blue:hover {
    background: #0056b3;
}

.btn-gray { 
    background: #6a7282;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-gray:hover {
    background: #838b9c;
}

.unselectable{
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/*
 * 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;
}

.error-msg-lite{
    color: var(--accent);
    font-weight: bold;
    margin-bottom: 1rem;
}

.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;
}

/*
 * USER INPUT - CONTROLS - INTERACTION
 */

.pretty-input {
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 6px !important;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    margin-top: 1rem;
    margin-bottom:1rem;
    appearance: none;
    -webkit-appearance: none;
}

.pretty-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.pretty-input::placeholder{
    color: #999;
}

.prettier-input{
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 6px !important;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
}

.prettier-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.prettier-input::placeholder{
    color: #999;
}

.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;
}

.chord-diagram-panel{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#show-chords-icon-c{
    width: 2.5rem !important;
    height: 2.5rem !important;
    cursor: pointer;
}

/*
 * 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
 */

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