
.circuit-section {
    background: #303030;
    color: #ffffff;

    display: flex;
    flex-direction: column;
    align-items: left;

    width: fit-content;

    margin: 0;
    padding: 1rem;
    padding-bottom: 3rem;
    
    border-radius: 1rem;

    opacity: 0;
    transform: translateY(-10px);

    pointer-events: auto;
    user-select: none;

    transition: all .3s ease;
}

.circuit-section.show {
    opacity: 1;
    transform: translateY(0);
}

.circuit-section.hidden {
    opacity: 0;
    transform: translateY(-10px);
}

#circuit-section-name {
    font-size: 1.3rem;
    font-weight: 500;
    padding-bottom: 1rem;
}

#add-driver-circuit-section {
    right: 1rem;
    opacity: 1;
}

#add-driver-circuit-section.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
}

.circuit-row {
    display: flex;
    gap: 1rem;

    height: 3rem;

    margin-bottom: 1rem;
}

.circuit-box {
    background-color: #0000004b;
    color: #9a9a9a;
    
    display: flex;

    width: 9rem;
    height: 100%;
    
    justify-content: center;
    align-items: center;

    border-radius: .4rem;

    transition: all .2s ease;
}

.circuit-box:hover {
    background-color: #fff70016;
    color: #ffffff;
    box-shadow: inset 0 0 .6rem -.2rem #fff70093;
    cursor: pointer;
}

.circuit-box.selected-circuit,
.circuit-box.selected-circuit:hover {
    background-color: #26ff0016;
    color: #ffffff;
    box-shadow: inset 0 0 .6rem -.2rem #26ff00;
    border-radius: 1rem;
}

.track-name {
    font-size: .9rem;
    font-weight: 200;

    letter-spacing: 0.05rem;
}