/* Ajustes propios sobre Bootstrap 5.3. */

.text-pre-line {
    white-space: pre-line;
}

.border-dashed {
    border-style: dashed !important;
}

.dropzone {
    background-color: var(--bs-body-bg);
    transition: background-color .15s ease, border-color .15s ease;
}

.dropzone-active {
    background-color: var(--bs-primary-bg-subtle);
    border-color: var(--bs-primary) !important;
}

.progress-bar {
    width: 0;
}

.daily-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 140px;
}

.daily-bar {
    flex: 1 1 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
    background-color: var(--bs-tertiary-bg);
    border-radius: 3px;
}

.daily-bar-fill {
    width: 100%;
    height: 2%;
    background-color: var(--bs-primary);
    border-radius: 3px;
}

.code-block {
    background-color: #1e2329;
    color: #e6edf3;
    padding: 1rem;
    padding-top: 2.75rem;
    font-size: .8125rem;
    line-height: 1.5;
    max-height: 32rem;
    overflow: auto;
    white-space: pre;
    border-radius: var(--bs-border-radius);
}

/* Código pegado al borde inferior de la tarjeta de lenguajes. */
.tab-pane > .position-relative > .code-block {
    border-radius: 0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius);
}

.code-block code {
    color: inherit;
}

.code-block-sm {
    font-size: .6875rem;
    padding-top: 2rem;
    max-height: 14rem;
}

.navbar-brand span {
    letter-spacing: .02em;
}
