/* Custom CSS Variables for Dark Theme Colors */
:root {
    --primary-color: #0d6efd;
    --primary-color-emphasis: #6ea8fe; /* Bootstrap blue for active line */
    --primary-color-hover: #8bb9fe;
    --body-bg: #212529; /* Dark background */
    --border-color: #343a40;

    --tab-padding: 5vw;
}

.import-container {
    display: flex;
    padding-inline: var(--tab-padding);
    
    gap: 1.5rem;
    flex-direction: column;
    align-items: flex-end;

    #importNext {
        width: 8rem;
    }
}

.hidden {
    display: none !important;
}


/* Custom CSS for the circular buttons */
.circular-button {
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circular-button.large {
    width: 8rem;
    height: 8rem;
    font-size: 4rem; /* Controls the size of the icon inside */
}

.circular-button.small {
    width: 4rem;
    height: 4rem;
    font-size: 1.5rem;
}

/* Basic Body Styles (for context) */
body {
    margin: 0;

    color: var(--body-text);
    background-color: var(--body-bg);

    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    line-height: 1.5;
}

.top-tabs {
    display: flex; /* Arrange items horizontally */
    gap: 1rem;

    padding: 0;
    padding-bottom: 1rem;
    margin: 0;

    list-style: none; /* Remove bullet points */
    text-align: center;

    li {
        display: block;
        flex: 1 1 auto;
        padding: 0.5rem 1rem;

        color: var(--primary-color-emphasis);
        border-bottom: 0.125rem solid transparent;
        transition: all 0.15s ease-in-out;
    }

    li:hover, li:focus {
        color: var(--primary-color-hover);
        border-bottom-color: var(--primary-color-hover);
    }

    li.active {
        color: white;
        border-bottom: 0.125rem solid white;
        font-weight: 700;
    }
}

.record-container {
    display: grid;
    padding-inline: calc(var(--tab-padding) * 0.25);

    gap: 2vw;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    
}

.record-controls-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Media query for medium screens (md breakpoint: 768px) */
@media (min-width: 768px) {
    .record-container {
        grid-template-columns: 1fr 2fr;
    }

    ul.completed-lines-list {
        height: 90vh;
    }
}

/* --- Completed Lines Column (Now acts as the "card" and scrollable area) --- */
.completed-lines-list {
    height: 40vh;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    
    border: 1px solid var(--border-color); /* Subtle border for card effect */
    border-radius: 0.375rem;

    list-style: none;

    li {
        text-align: left;
        cursor: pointer;
        padding: 0.5rem 1rem;
        border-bottom: 1px solid var(--border-color);
        transition: all 0.15s ease-in-out;
    }
    
    li:hover, li:focus {
        background-color: rgba(255, 255, 255, 0.1);
    }

    li.active {
        background-color: var(--primary-color);
    }
}

.export-container {
    display: flex;
    justify-content: center;

    height: 40vh;
    align-items: center;

}