﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --main-color: #63487b;
    --secondary-color: #27697a;
    --white-color: #f4f4f4;
    --body-background-color: #fff;
    --primary-highlight-color: #0d6efd;
    --border-light-color: #dee2e6;
    --shadow-color: rgba(0, 0, 0, 0.125);
}

html {
    height: 100%;
    position: relative;
    min-height: 100%;
    font-size: 14px;
}

body {
    height: 100%;
    font-family: 'Roboto', sans-serif;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-color: var(--body-background-color);
}

.hero-logo img {
    width: 100%;
    height: auto;
    margin-bottom: 32px;
}

.navbar {
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(99, 72, 123, 0.12) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 8px 20px rgba(33, 29, 88, 0.05) !important;
}

.header .container-fluid {
    min-height: 70px;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
    background-color: transparent;
}

.player-transcription .-channel h2 {
    text-align: center;
    max-height: 500px;
    overflow: scroll;
}

.wave wave {
    overflow: hidden !important;
}

.chunk-highlighted {
    color: var(--primary-highlight-color);
}

.upload-form .btn {
    width: 150px;
}

.bold {
    font-weight: 600;
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: local('Open Sans Light'), local('OpenSans-Light'), url(https://fonts.gstatic.com/s/opensans/v13/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: local('Open Sans'), local('OpenSans'), url(https://fonts.gstatic.com/s/opensans/v13/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(https://fonts.gstatic.com/s/opensans/v13/MTP_ySUJH_bn48VBG8sNSnhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .header-logo {
        height: 60px;
    }
}

.mvc-grid-pager {
    text-align: right !important;
}

.full-width {
    width: 100%;
}

.records-grid-footer {
    display: flex;
    align-items: flex-end;
}

.text-align-right {
    text-align: right
}

.navbar-nav-login {
    margin-left: auto;
    margin-right: 0;
    padding-left: 1rem;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.navbar-nav .nav-link i {
    margin-right: 0.45rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.login-container {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.confirmAccount-container {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.mt-10 {
    margin-top: 10px;
}

.full-width-mobile {
    width: 100%;
}

.text-right {
    text-align: right;
}

.myTabContent {
    padding: 0px !important;
    margin-top: 20px;
}

.m-l-auto {
    margin-left: auto;
}

.m-r-auto {
    margin-right: auto;
}

.site-header {
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
}

.site-header a {
    color: #8e8e8e;
    transition: color .15s ease-in-out;
}

.site-header a:hover {
    color: #fff;
    text-decoration: none;
}

/*
 * Dummy devices (replace them with your own or something else entirely!)
 */
.product-device {
    position: absolute;
    right: 10%;
    bottom: -30%;
    width: 300px;
    height: 540px;
    background-color: #333;
    border-radius: 21px;
    transform: rotate(30deg);
}

.product-device::before {
    position: absolute;
    top: 10%;
    right: 10px;
    bottom: 10%;
    left: 10px;
    content: "";
    background-color: rgba(255, 255, 255, .1);
    border-radius: 5px;
}

.product-device-2 {
    top: -25%;
    right: auto;
    bottom: 0;
    left: 5%;
    background-color: #e5e5e5;
}

.flex-equal > * {
    flex: 1;
}

@media (min-width: 768px) {
    .flex-md-equal > * {
        flex: 1;
    }
}

.fw-normal {
    z-index: 100;
    position: relative;
    font-weight: 700 !important;
    text-align: left;
    text-transform: uppercase;
}

.flex-centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-ended {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

a {
    color: var(--main-color);
}

.mvc-grid-pager .active {
    background: var(--main-color) !important;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-logo {
    padding-top: 8px;
    padding-bottom: 8px;
    height: 70px;
    margin-left: 20px;
}

.footer-logo {
    height: 28px;
}

.footer {
    border-top: 1px solid rgba(99, 72, 123, 0.12) !important;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -8px 20px rgba(33, 29, 88, 0.05);
    font-weight: 500;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    backdrop-filter: blur(6px);
    z-index: 100;
}

.btn-secondary {
    background: var(--main-color) !important;
}

.btn-secondary:hover {
    transition-delay: 0.02s;
    background: var(--white-color) !important;
    color: var(--main-color) !important;
    border: 1px solid var(--main-color) !important;
    font-weight: 500;
}

.btn-outline-secondary {
    color: var(--main-color) !important;
}

.btn-outline-secondary:hover {
    background-color: var(--main-color) !important;
    color: var(--white-color) !important;
}

.card p {
    color: var(--main-color);
    font-weight: 600;
}

.bordered-card {
    border: 1px solid var(--shadow-color);
}

.details-page-shell,
.details-player-card,
.player-details {
    --details-page-radius: 12px;
}

.details-page-shell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
    border: 1px solid rgba(99, 72, 123, 0.14);
    border-radius: var(--details-page-radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 244, 250, 0.98) 100%);
    box-shadow: 0 18px 36px rgba(40, 28, 58, 0.08);
    overflow: hidden;
    padding: 1rem;
}

.details-player-card {
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow: visible;
}

.player-details > .fixed-details.bordered-card {
    position: relative;
    padding: 0.9rem;
    border: 1px solid #d9dee7;
    border-radius: var(--details-page-radius);
    background: linear-gradient(180deg, #f7f6fa 0%, #f1eef7 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 14px 32px rgba(40, 28, 58, 0.08);
}

.player-details > .fixed-details.bordered-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 38%);
    pointer-events: none;
}

.card-header {
    background-color: var(--main-color);
    color: var(--white-color);
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    color: var(--main-color);
}

.row.mb-3 > .display-6,
.page-title-heading {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.25rem;
    padding: 0 0 0.75rem;
    border: 0;
    border-bottom: 2px solid var(--secondary-color);
    border-radius: 0;
    background: transparent;
    box-shadow: 0 6px 10px -8px rgba(255, 255, 255, 0.45);
    color: var(--secondary-color);
    font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.85rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.row.mb-3 > .display-6 > i:first-child,
.page-title-heading > i:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    margin-right: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--secondary-color);
    font-size: 1.15rem;
    box-shadow: 0 8px 18px rgba(33, 29, 88, 0.16);
    flex-shrink: 0;
}

.row.mb-3 > .display-6 .page-title-link,
.page-title-heading .page-title-link {
    color: inherit;
    text-decoration: none;
    opacity: 0.92;
    transition: opacity 0.2s ease, text-decoration-color 0.2s ease;
}

.row.mb-3 > .display-6 .page-title-link:hover,
.row.mb-3 > .display-6 .page-title-link:focus,
.page-title-heading .page-title-link:hover,
.page-title-heading .page-title-link:focus {
    color: inherit;
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.row.mb-3 > .display-6 .page-title-separator,
.page-title-heading .page-title-separator {
    opacity: 0.65;
}

.row.mb-3 > .display-6 .page-title-separator-icon,
.page-title-heading .page-title-separator-icon {
    font-size: 0.8em;
    opacity: 0.65;
}

.btn-logout {
    color: var(--main-color);
    font-weight: 600;
}

.noty_theme__mint.noty_type__success {
    background-color: #B6C352 !important;
}


.noty_layout {
    top: 80px !important;
}

.nav-item a {
    color: var(--main-color) !important;
    font-weight: 600;
    border-radius: 8px;
    padding-left: 0.8rem !important;
    padding-right: 0.8rem !important;
    padding-top: 0.6rem !important;
    padding-bottom: 0.6rem !important;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.nav-item a:hover {
    background: rgba(99, 72, 123, 0.08);
    color: var(--main-color) !important;
}

.nav-item a.active {
    border-radius: 8px;
    color: var(--main-color) !important;
    background: rgba(99, 72, 123, 0.12);
}

.nav-link {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 8px;
}


.dashboard-statistics .card {
    height: 100%;
    padding: 0 !important;
}

.no-decoration {
    text-decoration: none;
}

.nav-tabs .nav-link {
    color: var(--main-color) !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    font-weight: 600;
}

.text-underline {
    text-decoration: underline;
}

.no-padding {
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.email-template {
    color: var(--main-color) !important;
}

.email-template img {
    max-width: 300px;
}

.email-regards p,
.company-details p {
    padding-bottom: 4px;
    margin-bottom: 0;
}

.tooltip > .tooltip-inner {
    background-color: var(--main-color);
    color: var(--white-color);
    padding-left: 10px;
    padding-right: 10px;
    font-weight: 600;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: var(--main-color);
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: var(--main-color);
}

.tooltip.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: var(--main-color);
}

.tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: var(--main-color);
}

/* Styling for the toggle switch */
.toggle-switch {
    position: relative;
    width: 50px;
    height: 25px;
    appearance: none;
    background-color: #ccc;
    border-radius: 25px;
    cursor: pointer;
}

.toggle-switch:checked {
    background-color: #2196F3;
}

.toggle-switch:before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 21px;
    height: 21px;
    background-color: #fff;
    border-radius: 50%;
    transition: 0.4s;
}

.toggle-switch:checked:before {
    transform: translateX(25px);
}

.v-centar {
    vertical-align: super;
}

.mt-50 {
    margin-top: 50px;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;

    max-width: 95%;
    height: 100%;
    margin-top: 100px;
    height: auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 64px;

    margin-left: auto !important;
    margin-right: auto !important;
}

.clear-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

@media only screen and (max-width: 950px) {
    .d-tablet-none {
        display: none !important;
    }
}

@media only screen and (max-width: 576px) {
    .container {
        max-width: 95%;
    }

    .container-fluid {
        padding: 0;
        margin: 0;

        padding-left: 8px;
        padding-right: 8px;
    }

    .d-mobile-none {
        display: none !important;
    }

    .navbar {
        margin: 0;
        padding: 0;
    }
}

.settings-table {
    background: var(--secondary-color);
}

.settings-table tr {
    height: 45px;
}

.settings-table td,
.settings-table th {
    vertical-align: middle;
}

.navbar-brand {
    color: var(--main-color);
    font-weight: bold;
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-brand img {
    margin-right: 8px;
}

.navbar-collapse {
    align-items: center;
    gap: 1rem;
}

.navbar-nav-login .nav-link,
.navbar-nav-login .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
    border-radius: 999px;
    background: rgba(99, 72, 123, 0.06);
}

.navbar-nav-login .nav-link:hover,
.navbar-nav-login .dropdown-toggle:hover,
.navbar-nav-login .nav-link:focus,
.navbar-nav-login .dropdown-toggle:focus {
    background: rgba(99, 72, 123, 0.1);
    color: var(--main-color) !important;
}

.navbar-nav-login .dropdown-menu {
    border: 1px solid rgba(99, 72, 123, 0.12);
    border-radius: 10px;
    box-shadow: 0 12px 24px rgba(33, 29, 88, 0.1);
}

.forgot-password-form {
    display: flex;
    flex-direction: column;
}

.hero-title {
    color: var(--white-color);
}

.login-container label {
    color: var(--main-color) !important;
}

.mvc-grid-title {
    color: var(--main-color) !important;
    font-weight: bold;
}

table td {
    color: var(--main-color);
}

.management-add-user {
    width: auto;
    min-width: 150px;
    float: right;
}

canvas {
    max-height: 350px !important;
}

.player-channel-title {
    color: var(--main-color);
    font-size: 16px;
}

.player-btn svg {
    color: var(--main-color) !important;
}

.m-left-auto {
    margin-left: auto;
}

.dropdown-menu {
    padding-left: 8px !important;
    padding-right: 8px !important;
}

.dropdown-menu li a {
    text-decoration: none !important;
}

.dropdown-menu li {
    margin-bottom: 4px !important;
}

.control-label {
    color: var(--main-color) !important;
    margin-bottom: 8px;
}

#manageUserForm {
    display: flex;
    flex-direction: column;
}

#manageUserForm label {
    color: var(--white-color) !important;
}

.text-bold {
    font-weight: 700;
}

.white {
    color: var(--white-color);
}

.regular-link {
    color: var(--white-color);
    margin-left: 8px;
    cursor: pointer;
    text-decoration: none;
}

.regular-link:hover {
    text-decoration: underline;
}

.cursor-pointer {
    cursor: pointer
}

.progress-bar {
    background-color: var(--main-color) !important;
}

.float-right {
    float: right;
}

.badge.badge-primary {
    background: var(--main-color) !important;
}

.mvc-grid-table > table > thead > tr > th {
    background: var(--white-color) !important;
    color: var(--main-color) !important;
    font-weight: 400 !important;
}

.mvc-grid-table > table > thead > tr > th span {
    color: var(--main-color) !important;
    font-weight: 400 !important;
}

.inner-card-header {
    background-color: var(--white-color) !important;
    color: var(--main-color) !important;
    font-weight: 700 !important;
    text-align: center;
}

.card-body h4 {
    color: var(--main-color) !important;
}

.card-body p {
    font-size: 14px;
    margin-bottom: 0.4rem;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    color: var(--main-color) !important;
    font-weight: 600;
    min-height: 56px;
    padding: 0.75rem 1.1rem;
    letter-spacing: 0.01em;
}

.analytics-table {
    background: transparent;
}

.analytics-table td {
    font-size: 12px;
}

.analytics-table td a {
    text-decoration: none;
}

.scrollable-row {
    max-height: 168px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.scrollable-row p {
    font-size: 14px;
    margin-bottom: 0.4rem;
}

.chunk-item-word {
    font-weight: 400;
    text-decoration: none;
    font-size: 14px;
}

.chunk-item-word-active {
    font-weight: 700;
    text-decoration: underline;
}

.chunk-item {
    font-size: 14px;
}

.keyword-tag {
    text-decoration: none;
    cursor: pointer;

    padding-top: 4px;
    padding-bottom: 4px;
}

.keyword-tag-active {
    text-decoration: underline;
}

.badge-secondary {
    border: 1px solid var(--main-color);
    color: var(--main-color);
}

.disclaimer {
    color: var(--main-color);
    font-size: 12px;
}

.single-line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.single-line-details-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 600px;
}

/* Mobile only classes */
@media (min-width: 1025px) {
    .single-line-details-title {
        max-width: 400px;
    }
}


/* Mobile only classes */
@media (max-width: 1024px) {
    .single-line-details-title {
        display: none;
    }
}

.flex-end {
    display: flex;
    justify-content: flex-end;
}

.bordered-right {
    border-right: 1px solid #dee2e6;
}

.channel-grid-type {
    max-width: 200px;
    width: auto;
}

.player-switch {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.player-transcription-flow {
    --channel-active-tint: rgba(84, 73, 139, 0.08);
    --channel-active-border: #54498b;
    --channel-active-shadow: rgba(84, 73, 139, 0.18);
    --channel-active-bubble: #f4f1fb;
    --channel-active-ring: rgba(84, 73, 139, 0.16);
    padding: 1rem 0 0;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
    border-radius: 18px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.player-transcription-flow[data-active-channel="left"] {
    --channel-active-tint: rgba(84, 73, 139, 0.1);
    --channel-active-border: #54498b;
    --channel-active-shadow: rgba(84, 73, 139, 0.18);
    --channel-active-bubble: #f4f1fb;
    --channel-active-ring: rgba(84, 73, 139, 0.16);
}

.player-transcription-flow[data-active-channel="right"] {
    --channel-active-tint: rgba(139, 56, 50, 0.1);
    --channel-active-border: #8b3832;
    --channel-active-shadow: rgba(139, 56, 50, 0.18);
    --channel-active-bubble: #fbf0ef;
    --channel-active-ring: rgba(139, 56, 50, 0.16);
}

.player-transcription-flow[data-active-channel="both"] {
    --channel-active-tint: rgba(90, 66, 110, 0.1);
    --channel-active-border: #6b4f86;
    --channel-active-shadow: rgba(107, 79, 134, 0.18);
    --channel-active-bubble: #f5f1f8;
    --channel-active-ring: rgba(107, 79, 134, 0.16);
}

.player-transcription-flow.has-active-channel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, var(--channel-active-tint) 100%);
    box-shadow: inset 0 0 0 1px rgba(214, 220, 229, 0.7);
}

.player-transcription-flow-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0 0.5rem 0.75rem;
    border-bottom: 1px solid #d6dce5;
}

.player-transcription-flow-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6a7381;
}

.player-transcription-flow-label-center {
    text-align: center;
}

.player-transcription-flow-label-right {
    text-align: right;
}

.player-transcription-flow-body {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.player-transcription-flow-body::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 0.5px);
    width: 1px;
    background: linear-gradient(180deg, #d6dce5 0%, #e8edf3 100%);
}

.player-transcription-flow-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    padding: 0.3rem 0.5rem;
    border-radius: 16px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.player-transcription-flow-row.is-active-chunk {
    background: var(--channel-active-tint);
    box-shadow: 0 10px 24px -18px var(--channel-active-shadow);
}

.player-transcription-lane {
    min-width: 0;
    display: flex;
}

.player-transcription-lane-left {
    justify-content: flex-end;
}

.player-transcription-lane-right {
    justify-content: flex-start;
}

.player-transcription-timeline-marker {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding-top: 0.55rem;
}

.player-transcription-timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #183a5a;
    box-shadow: 0 0 0 3px #eef2f6;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.player-transcription-timeline-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    padding: 0.2rem 0.5rem;
    border: 1px solid #d6dce5;
    border-radius: 999px;
    background: #fff;
    color: #5d6674;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.player-transcription-bubble {
    width: min(100%, 520px);
    padding: 0.9rem 1rem;
    border: 1px solid #d8dde6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(18, 35, 52, 0.04);
    line-height: 1.65;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.player-transcription-bubble-left {
    border-right: 4px solid #213e5a;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.player-transcription-bubble-right {
    border-left: 4px solid #5b6b7f;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
}

.player-transcription-bubble-both {
    margin-right: auto;
    border-left: 4px solid #3a4a5f;
    border-right: 4px solid #3a4a5f;
    background: linear-gradient(180deg, #ffffff 0%, #f4f7fa 100%);
}

.player-transcription-bubble .chunk-item-word {
    display: inline;
    margin-right: 0.3rem;
    color: inherit;
}

.player-transcription-flow-row.is-active-chunk .player-transcription-bubble {
    background: linear-gradient(180deg, #ffffff 0%, var(--channel-active-bubble) 100%);
    box-shadow: 0 14px 36px -24px var(--channel-active-shadow);
    transform: translateY(-1px);
}

.player-transcription-flow-row.is-active-chunk .player-transcription-timeline-dot {
    background: var(--channel-active-border);
    box-shadow: 0 0 0 4px var(--channel-active-ring);
    transform: scale(1.05);
}

.player-transcription-flow-row.is-active-chunk .player-transcription-timeline-time {
    border-color: var(--channel-active-ring);
    color: var(--channel-active-border);
    background: var(--channel-active-bubble);
}

.speech-rate-dashboard {
    padding: 1.2rem 0.4rem 0;
    color: #1f2f43;
}

.speech-rate-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0 0.2rem 0.9rem;
    border-bottom: 1px solid #d6dce5;
}

.speech-rate-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6a7381;
}

.speech-rate-title {
    margin: 0.2rem 0 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2f43;
}

.speech-rate-summary {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 36px;
    padding: 0.45rem 0.75rem;
    border: 1px solid #dce3eb;
    border-radius: 999px;
    background: #f7fafc;
    font-size: 0.9rem;
    font-weight: 700;
    color: #3a4a5f;
    white-space: nowrap;
}

.speech-rate-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.speech-rate-grid-split {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.speech-rate-card {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-width: 0;
    padding: 1rem;
    border: 1px solid #e0e6ee;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 10px 30px rgba(18, 35, 52, 0.04);
}

.speech-rate-card-header,
.speech-rate-card-title,
.speech-rate-meta,
.speech-rate-meta div {
    display: flex;
    align-items: center;
}

.speech-rate-card-header {
    justify-content: space-between;
    gap: 0.75rem;
}

.speech-rate-card-title {
    min-width: 0;
    gap: 0.55rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #26384d;
}

.speech-rate-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eef3f8;
    color: #3a4a5f;
    flex-shrink: 0;
}

.speech-rate-badge {
    flex-shrink: 0;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: #eef3f8;
    color: #526275;
    font-size: 0.74rem;
    font-weight: 700;
}

.speech-rate-value {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.speech-rate-value span {
    font-size: 2.25rem;
    line-height: 1;
    font-weight: 800;
    color: #213e5a;
}

.speech-rate-value small {
    font-size: 0.9rem;
    font-weight: 700;
    color: #697788;
}

.speech-rate-meter {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8edf3;
}

.speech-rate-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #213e5a 0%, #4f9da6 100%);
}

.speech-rate-meta {
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    color: #627084;
    font-size: 0.82rem;
    font-weight: 600;
}

.speech-rate-meta div {
    gap: 0.35rem;
}

.left-color {
    color: #213e5a;
}

.both-color {
    color: #31465c;
}

.right-color {
    color: #4e5f73;
}

.left-chunk-highlighted .chunk-item-word {
    font-weight: bold;
}

.both-chunk-highlighted .chunk-item-word {
    font-weight: bold;
}

.right-chunk-highlighted .chunk-item-word {
    font-weight: bold;
}

.player-switch label {
    padding-left: 8px;
}

.static-player {
    position: sticky;
    top: 79px;
    z-index: 100;
    margin-bottom: 24px;
    box-shadow: 0 1px 1px 1px;
    background: var(--white-color);
    padding-top: 8px;
}

.player-details {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    grid-template-areas: "sidebar main";
    align-items: start;
    gap: 1rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.dashboard-statistics .card {
    box-shadow: 1px 1px 1px 1px;
}

.navbar {
    height: 64px;
    box-shadow: 0 0 1px 1px;
}

.form-check-input:checked {
    background-color: var(--main-color) !important;
    border-color: var(--main-color) !important;
}

.form-check-label {
    color: var(--main-color);
    font-weight: 600;
    font-size: 14px;
}

.plus-span {
    font-size: 24px;
    color: var(--main-color);
}

.list-group-item {
    border: none;
}

.delete-button {
    font-size: 18px;
    margin-right: 12px;
}

.player-shell {
    border: 1px solid rgba(99, 72, 123, 0.1);
    border-radius: calc(var(--details-page-radius) - 2px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 245, 251, 0.98) 100%);
    box-shadow: none;
    overflow: hidden;
}

.player-shell-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgba(99, 72, 123, 0.12);
    background: rgba(255, 255, 255, 0.96);
}

.player-shell-eyebrow {
    color: var(--secondary-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.player-shell-title {
    margin: 0.18rem 0 0;
    color: var(--main-color);
    font-size: 1.1rem;
    font-weight: 700;
}

.player-view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-color: rgba(99, 72, 123, 0.2);
    background: #fff;
    color: var(--main-color);
}

.player-view-toggle:hover,
.player-view-toggle:focus,
.player-view-toggle:active {
    border-color: var(--main-color);
    background: rgba(99, 72, 123, 0.08);
    color: var(--main-color);
}

.player-shell-body {
    padding: 1rem 1.1rem 1.1rem;
}

.player {
    min-height: 240px;
}

.player .player-timeline-row-live #waveformCanvas {
    width: 100%;
    height: 100%;
}

.player .player-timeline-row-live {
    height: 100px;
}

.player-timeline {
    min-height: 200px;
}

.player-controls-shell {
    width: 100%;
}

.player-time-display {
    margin-bottom: 0.75rem;
    color: var(--main-color);
    font-weight: 600;
}


.tag-input-container {
    position: relative;
}

.tag-input-container input[type="text"] {
    padding-right: 25px;
}

.tag-input-container .plus-span {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}

.tag-list-container {
    max-width: 100%;
}

.badge {
    margin-right: 3px;
}

.close-tag {
    cursor: pointer;
    margin-left: 5px;
    color: var(--white-color);
}

.player-details-sidebar,
.player-details-main {
    overflow: hidden;
    border-radius: calc(var(--details-page-radius) - 2px);
    border: 1px solid rgba(99, 72, 123, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.player-details-sidebar {
    grid-area: sidebar;
    position: sticky;
    top: 88px;
    align-self: start;
}

.player-details-main {
    grid-area: main;
    min-width: 0;
    overflow: visible;
}

.player-details-main-heading {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.player-details-main-header {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border-bottom: 1px solid rgba(99, 72, 123, 0.12);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(1px);
}

.player-details-sidebar-body,
.player-details-main-body {
    position: relative;
    z-index: 1;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(0.5px);
}

.player-details-eyebrow {
    color: var(--main-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.player-details-title {
    margin: 0.2rem 0 0;
    color: var(--main-color);
    font-size: 1.15rem;
    font-weight: 700;
}

.player-details-toggle,
.player-details-toggle.btn,
.player-details-toggle.btn-outline-primary {
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--main-color);
    background: #fff;
    color: var(--main-color);
    box-shadow: 0 10px 18px rgba(99, 72, 123, 0.18);
}

.player-details-toggle:hover,
.player-details-toggle:focus,
.player-details-toggle:focus-visible,
.player-details-toggle:active,
.player-details-toggle.btn-outline-primary:hover,
.player-details-toggle.btn-outline-primary:focus,
.player-details-toggle.btn-outline-primary:active {
    background: rgba(99, 72, 123, 0.08);
    border-color: var(--main-color);
    color: var(--main-color);
    box-shadow: 0 12px 22px rgba(99, 72, 123, 0.24);
}

.player-details-toggle i {
    font-size: 1.2rem;
    color: var(--main-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.player-details-toggle:hover i,
.player-details-toggle:focus i,
.player-details-toggle:focus-visible i,
.player-details-toggle:active i,
.player-details-toggle.btn-outline-primary:hover i,
.player-details-toggle.btn-outline-primary:focus i,
.player-details-toggle.btn-outline-primary:active i {
    color: var(--main-color);
}

.player-details-toolbar {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.player-details-toolbar-btn {
    min-width: 42px;
    height: 42px;
    padding: 0 0.8rem;
}

.player-details-toolbar a {
    display: inline-flex;
    text-decoration: none;
}

.transcription-details {
    overflow: visible;
    scrollbar-width: thin;
}

.player-details.is-sidebar-collapsed {
    grid-template-columns: minmax(0, 0fr) minmax(0, 1fr);
}

.player-details.is-sidebar-collapsed .player-details-sidebar {
    width: 0;
    min-width: 0;
    border: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

.player-details.is-sidebar-collapsed .player-details-sidebar-body {
    display: none;
}

#waveform wave {
    height: 180px !important;
}

.player-control-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.85rem;
    position: relative;
}

.player-primary-actions {
    gap: 0.45rem;
}

.filter-switch {
    position: absolute;
    right: 145px;
}

.use-filtering-button {
    position: absolute;
    top: 8px;
    right: 64px;
}

.copy-to-clipboard-button {
    position: absolute;
    top: 8px;
    right: 174px;
}

.resync-call-button {
    position: absolute;
    top: 8px;
    right: 16px;
}

.call-details-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    background: transparent;
    box-shadow: none !important;
    margin: 0;
}

.call-detail-section {
    overflow: hidden;
    border: 1px solid #e2e7ef;
    border-radius: var(--details-page-radius);
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow: 0 10px 24px rgba(23, 38, 56, 0.06);
}

.fixed-details .call-detail-section {
    border-color: #dde3ec;
    box-shadow: 0 8px 18px rgba(31, 47, 67, 0.06);
}

.call-detail-section-header {
    padding: 0;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.call-detail-section .collapse {
    border-top: 1px solid #edf1f5;
}

.call-details {
    padding: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.call-detail-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    min-height: 74px;
    padding: 1rem 3.8rem 1rem 1.1rem;
    border: 0;
    border-radius: 0;
}

.call-detail-toggle-copy {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
    max-width: 100%;
    padding-right: 0.5rem;
}

.call-detail-title {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1f2f43;
}

.call-detail-subtitle {
    font-size: 0.78rem;
    line-height: 1.35;
    color: #6a7484;
}

.call-detail-meta {
    flex-shrink: 0;
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: #eef3f8;
    color: #4d6176;
    font-size: 0.75rem;
    font-weight: 700;
}

.call-detail-grid {
    display: grid;
    gap: 0.9rem;
}

.call-detail-grid-1 {
    grid-template-columns: 1fr;
}

.call-detail-grid-2 {
    grid-template-columns: 1fr;
}

.call-detail-stack {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.call-detail-metric-card,
.call-detail-stat-card,
.call-detail-tag-group {
    border: 1px solid #e5ebf2;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.call-detail-metric-card,
.call-detail-tag-group {
    padding: 0.95rem;
}

.call-detail-stat-card {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.9rem 0.95rem;
}

.call-detail-stat-card-wide {
    grid-column: auto;
}

.call-detail-metric-header,
.call-detail-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.call-detail-metric-title,
.call-detail-group-title,
.call-detail-stat-label {
    font-size: 0.79rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5c6c7f;
}

.call-detail-metric-tag,
.call-detail-group-count {
    flex-shrink: 0;
    font-size: 0.74rem;
    font-weight: 700;
    color: #526275;
    background: #f0f4f8;
    border-radius: 999px;
    padding: 0.22rem 0.55rem;
}

.call-detail-progress-grid {
    display: grid;
    gap: 0.8rem;
}

.call-detail-progress-grid.is-split {
    grid-template-columns: 1fr;
}

.call-detail-progress-item {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
}

.call-detail-progress-label {
    font-size: 0.76rem;
    font-weight: 700;
    color: #6f7c8e;
}

.call-detail-progress-item .progress,
.call-detail-progress-single .progress {
    margin-bottom: 0;
}

.call-detail-stat-value {
    font-size: 0.96rem;
    font-weight: 700;
    color: #1f2f43;
    word-break: break-word;
}

.call-detail-icon-value {
    font-size: 1rem;
    color: #1f2f43;
}

.call-detail-text-value {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #1f2f43;
    word-break: break-word;
}

.call-detail-binary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.call-detail-binary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    background: #f7fafc;
}

.call-details-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.call-details-tags .keyword-tag {
    margin: 0;
}

.call-detail-empty-state,
.call-detail-empty-inline {
    color: #7b8796;
    font-size: 0.86rem;
    line-height: 1.45;
}

.call-detail-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.call-detail-timeline::before {
    content: "";
    position: absolute;
    top: 0.25rem;
    bottom: 0.25rem;
    left: 0.4rem;
    width: 2px;
    background: linear-gradient(180deg, #d8e1eb 0%, #edf2f7 100%);
}

.call-detail-timeline-item {
    position: relative;
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.call-detail-timeline-dot {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-top: 0.2rem;
    border-radius: 50%;
    background: #63487b;
    box-shadow: 0 0 0 4px #efe8f7;
}

.call-detail-timeline-copy {
    padding: 0.15rem 0 0.25rem;
}

.call-detail-timeline-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1f2f43;
}

.call-detail-timeline-time {
    font-size: 0.8rem;
    color: #6f7c8e;
    margin-top: 0.15rem;
}

.call-detail-section-error .call-detail-meta {
    background: #fce8e8;
    color: #9a3030;
}

.call-detail-error-copy {
    padding: 0.95rem 1rem;
    border-radius: 14px;
    background: #fff4f4;
    border: 1px solid #f1d3d3;
    color: #7c3535;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

.column-label {
    border-bottom: unset;
    padding-bottom: 0 !important;
    font-weight: 700;
}

.hide-filtered {
    display: none;
}

.score-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.score-group-labels {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 70%;
}


.score-group .form-range {
    flex-basis: 70%;
}


.score-group .form-control {
    flex-basis: 28%;
}

#addFilterModal .modal-dialog {
    min-width: 800px;
}

.download-audio,
.download-audio-stereo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: static;
}

.transcription-wildcard {
    display: flex;
    position: absolute;
    right: 15px;
}

.transcription-wildcard label {
    margin-left: 8px;
}

.player-filename {
    position: absolute;
    left: 70px;
    color: var(--main-color);
}

.sub-row td {
    font-size: 13px
}

.sub-column {
    font-size: 13px
}

.call-details-tags {
    text-wrap: wrap !important;
}

@page {
    size: landscape;
    margin: 0
}

@media print {
    header {
        visibility: hidden;
    }

    .container {
        position: absolute;
        left: 0;
        top: 4px;
        right: 0;

        margin: 5px !important;
        padding: 5px !important;
        width: 100%;
        max-width: 100%;
    }
}

/* Bootstrap overrides */
.row {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.dashboard-filters {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 8px;
}

.dashboard-filters div {
    margin: 0;
    padding: 0;
    width: auto;
    min-width: 140px;
}

.dashboard-filters div:last-child {
    margin-left: auto;
}

.dashboard-filters div button {
    width: 100%;
}

.row {
    margin: 0;
    padding: 0;
}


@media (min-width: 576px) {
    .row .col-sm-4:first-child,
    .row .col-sm-3:first-child,
    .row .col-sm-6:first-child,
    .row .col-sm-12:first-child,
    .row .col-md-2:first-child {
        padding-left: 0 !important;
    }

    .row .col-sm-3:last-child,
    .row .col-sm-4:last-child,
    .row .col-sm-6:last-child,
    .row .col-sm-12:last-child,
    .row .col-md-2:last-child {
        padding-right: 0 !important;
    }
}

.button-group-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px
}

.button-group-right div {
    max-width: none;
    width: auto;
    padding: 0;
}

.calls-toolbar-btn {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.calls-toolbar-btn svg,
.calls-toolbar-btn i {
    margin: 0 !important;
    line-height: 1;
}

.calls-toolbar-btn-dropdown::after {
    margin-left: 0.3rem;
    margin-right: 0;
}

.mvc-grid {
    padding: 0;
    margin: 0;
}

form {
    padding: 0 !important;
    margin: 0 !important;
}

.form-group .col-md-2 {
    padding-right: 0 !important;
}

.card-title {
    margin: 0 !important;
    padding: 0 !important;
}

.call-filter-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
}

@media (max-width: 575px) {
    .call-filter-container {
        justify-content: space-between;
        padding-bottom: 16px;
    }
}

@media (min-width: 576px) {
    .call-filter-container div {
        padding: 0;
    }
}

@media (max-width: 575px) {
    .call-filter-container div {
        width: 45%;
        padding: 0;
    }
}

.call-filter-search {
    width: 180px;
    margin-left: auto;
}

.grid-total-label {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.grid-total-label span {
    color: var(--main-color);
}

.flexed-right {
    display: flex;
    justify-content: flex-end;
}

.filter-button {
    width: 180px;
}

.card-title-dashboard {
    font-size: 16px;
}

.card-subtitle-dashboard,
.card-subtitle-dashboard a {
    font-size: 12px;
}

.card-subtitle-dashboard a {
    text-decoration: none;
}

.card-dashboard-value {
    font-size: 32px;
    font-weight: 800;
}

.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-table {
    width: 100%;
    border-radius: 4px;
    color: var(--main-color);
    background: transparent;
}

.dashboard-table thead th {
    font-size: 14px;
    color: var(--main-color);
}

.dashboard-table tbody th {
    font-size: 12px;
    color: var(--main-color);
}

.dashboard-table tbody th a {
    text-decoration: none;
}

.bordered-graph canvas {
    border-right: 2px solid darkgrey;
    border-bottom: 2px solid darkgrey;
    border-radius: 4px;
}

.dashboard-filters-button {
    display: flex;
    gap: 8px;
}

.dashboard-filters-button .analytics-calendar {
    min-width: 210px;
}

.dashboard-filters-button .analytics-calendar input {
    background: var(--main-color);
    color: var(--white-color);
}

.dashboard-filters-button .analytics-calendar input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

@media (max-width: 576px) {
    .navbar-collapse {
        background: var(--white-color);
        margin-top: 0.8rem;
        padding: 0.8rem 0 0;
        border-top: 1px solid rgba(99, 72, 123, 0.1);
    }

    .navbar-nav li {
        padding-left: 0;
    }

    .container {
        margin-top: 70px;
    }

    .dashboard-filters .dropdown,
    .dashboard-filters-button {
        width: 100% !important;
        min-width: 100% !important;
    }

    .col-sm-3 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .col-sm-6,
    .col-sm-4 {
        margin-bottom: 8px;
    }

    .footer-container {
        font-size: 12px;
        display: flex;
        flex-direction: column;
        gap: 0.45rem;
        min-height: auto;
        padding: 0.7rem 1rem;
    }

    .call-filter-container div {
        width: 100%;
    }

    .call-filter-search {
        width: 100%;
    }

    .button-group-right div {
        width: 100%;
        max-width: 100%;
    }

    .col-md-2 {
        width: 100%;
    }

    .filter-button {
        width: 100%;
    }

    .navbar-nav {
        align-items: stretch;
        gap: 0.2rem;
        padding-bottom: 0.85rem;
        border-bottom: 1px solid rgba(99, 72, 123, 0.1);
    }

    .navbar-nav-login {
        margin: 0 !important;
        padding: 0.85rem 0 0 !important;
    }

    .nav-item a.active {
        background: rgba(99, 72, 123, 0.12) !important;
        color: var(--main-color) !important;
        text-decoration: none;
    }

    .accordion {
        padding: 0;
    }

    .accordion-button {
        color: var(--main-color) !important;
        border-radius: 4px;
        font-size: 13px;
    }

    .dropdown-menu {
        width: 100%;
    }

    table thead {
        font-size: 12px;
    }

    table tbody {
        font-size: 11px;
    }

    .player-details {
        grid-template-columns: 1fr;
    }

    .static-player {
        position: relative;
        top: unset;
    }

    .player-details > .fixed-details.bordered-card {
        padding: 0.6rem;
        border-radius: var(--details-page-radius);
    }

    .player-details-sidebar,
    .player-details-main {
        position: static;
        width: 100%;
    }

    .player-details-sidebar-header,
    .player-details-main-header {
        padding: 0.85rem 0.9rem;
    }

    .player-details-main-body,
    .player-details-sidebar-body {
        padding: 0.85rem;
    }

    .player-details-toolbar {
        width: 100%;
        justify-content: flex-end;
    }

    .player {
        padding: 0;
        margin: 0;
    }

    #enTranscriptionSummary {
        padding: 8px;
    }

    .fixed-details .accordion-body {
        padding: 4px;
    }

    .call-detail-toggle {
        min-height: 72px;
        gap: 0.75rem;
        padding: 0.9rem 3.3rem 0.9rem 0.95rem;
    }

    .call-detail-title {
        font-size: 0.92rem;
    }

    .call-detail-subtitle {
        font-size: 0.74rem;
    }

    .call-detail-toggle-copy {
        max-width: 100%;
        padding-right: 0.35rem;
    }

    .player-channel-title {
        font-size: 13px !important;
    }


    .chunk-item-word,
    .chunk-item {
        font-size: 12px !important;
    }

    .player-transcription-flow-header,
    .player-transcription-flow-row {
        grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
        gap: 0.65rem;
    }

    .player-transcription-bubble {
        width: 100%;
        padding: 0.75rem 0.85rem;
    }

    .player-transcription-timeline-time {
        min-width: 44px;
        padding-left: 0.35rem;
        padding-right: 0.35rem;
    }

    .speech-rate-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .speech-rate-summary {
        width: 100%;
        justify-content: center;
    }

    #channelTabs .nav-link {
        font-size: 13px !important;
    }

    .sub-row td {
        font-size: 11px;
    }

    .sub-column {
        font-size: 11px;
    }

    .scrollable-row {
        max-height: 125px;
    }

    .p-mobile-zero {
        padding: 0;
    }

    .m-mobile-3 {
        margin-top: 24px !important;
    }
}

@media (max-width: 768px) {
    .player-transcription-flow-header {
        display: none;
    }

    .player-transcription-flow-body::before {
        left: 29px;
    }

    .player-transcription-flow-row {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .speech-rate-grid-split {
        grid-template-columns: minmax(0, 1fr);
    }

    .player-transcription-lane-left,
    .player-transcription-lane-right {
        grid-column: 2;
        justify-content: flex-start;
    }

    .player-transcription-lane-left:empty,
    .player-transcription-lane-right:empty {
        display: none;
    }

    .player-transcription-timeline-marker {
        grid-column: 1;
        grid-row: 1;
        padding-top: 0.8rem;
    }

    .player-transcription-bubble,
    .player-transcription-bubble-left,
    .player-transcription-bubble-right,
    .player-transcription-bubble-both {
        width: 100%;
        margin-right: 0;
        border-left-width: 4px;
        border-right-width: 1px;
    }
}

@media only screen and (min-width: 576px) {
    .d-desktop-none {
        display: none !important;
    }
}

.processed-minutes-footer {
    color: var(--main-color);
    font-weight: 600;
}

.processed-minutes-footer span {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 0;
    margin: 0;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid var(--main-color);
    border-bottom: 16px solid var(--main-color);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.parent-loader:has(.loader) {
    display: flex;
    justify-content: center;
    align-items: center;
}

.parent-loader {
    min-height: 350px;
}

ul#channelTabs li {
    z-index: 10;
}

.chunk-half {
    width: 48%;
    padding: 8px;
    border-radius: 8px;
    background-color: beige;
    box-shadow: 0 1px 1px 1px;
}

.chunk-half-left {
    background: #54498b;
}

.chunk-half-right {
    background: #8b3832;
}

.chunk-half-left span,
.chunk-half-right span {
    color: var(--white-color) !important;
}

.chunk-half-left-highlighted {
    background: #211d58;
}

.chunk-half-right-highlighted {
    background: #530205;
}

.time-progress-container {
    font-size: 14px;
}

.player-shell.is-compact .player-shell-body {
    padding-top: 0.9rem;
}

.player-shell.is-compact .player-timeline,
.player-shell.is-compact .player-live,
.player-shell.is-compact .player-timeline-row-live {
    display: none;
}

.player-shell.is-compact .player {
    min-height: 0;
}

.player-shell.is-compact .player-controls-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.player-shell.is-compact .player-time-display {
    margin-bottom: 0;
    text-align: left !important;
}

.player-shell.is-compact .player-control-bar {
    justify-content: flex-end;
    margin-left: auto;
}

.player-shell.is-compact #btnBackward,
.player-shell.is-compact #btnForward,
.player-shell.is-compact #btnStop {
    display: none !important;
}

.collapsible-link {
    width: 100%;
    position: relative;
    text-align: left;
}

.collapsible-link::before {
    content: '\f107';
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    display: block;
    font-family: 'FontAwesome';
    font-size: 1.1rem;
    color: #667487;
}

.collapsible-link[aria-expanded='true']::before {
    content: '\f106';
}

.hidden {
    visibility: hidden;
}

.no-height {
    height: 0 !important;
}

.management-details .nav-link {
    color: var(--secondary-color) !important;
}

.management-details .nav-link.active {
    color: var(--main-color) !important;
}

.management-filter-row {
    padding: 1rem;
    align-items: center;
}

.management-filter-field {
    width: min(320px, 100%);
}

.management-filter-field .form-select {
    width: 100%;
}

.main-title {
    color: var(--main-color);
    font-weight: bold;
}

.p-left {
    padding-left: 16px;
}

.p-right {
    padding-right: 16px;
}

.zero-padding {
    padding: 0 !important;
}

.m-height-550 {
    max-height: 550px;
}

.pr-0 {
    padding-right: 0;
}

.main-color {
    color: var(--main-color);
}

.mvc-grid-table > table > thead > tr > th {
    border: unset;
}

input[type="datetime-local"] {
    cursor: pointer;
}

.calls-grid {
    padding: 0;
}

.calls-grid-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.75rem;
}

.calls-grid-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.calls-grid .mvc-grid-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.calls-grid .mvc-grid-table th {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .03em;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 16px;
}

.calls-grid .mvc-grid-table td {
    padding: 10px 12px;
    vertical-align: middle;
    border-bottom: 1px solid #eef2f7;
}

.calls-grid .mvc-grid-table tr:hover {
    background: #f9fbff;
}

.calls-grid .badge-soft {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #eef2ff;
}

.calls-grid .actions-group a {
    margin: 0 4px;
}

.calls-grid .call-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.calls-grid .call-meta small {
    color: #6b7280;
}

.calls-grid .mvc-grid-table tbody tr {
    transition: all 0.2s ease;
}

.calls-grid .mvc-grid-table tbody tr:hover {
    background-color: #f8fbff;
    box-shadow: inset 0 0 0 1px var(--main-color);
}

.calls-grid .mvc-grid-table tbody tr:hover td:first-child {
    border-left: 3px solid var(--main-color);
}

.mvc-grid-pager button {
    border-radius: 4px;
}

.mvc-grid-pager button:hover {
    border: 1px solid var(--main-color);
}

.mvc-grid-page-sizes input {
    border-radius: 4px;
    color: var(--main-color);
}

.filter-card {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
}

.form-control,
.form-select,
select.form-control,
.mvc-grid-options,
.mvc-grid-value,
.mvc-grid-pager-rows {
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid #d8deea;
    box-shadow: none;
}

.form-select,
select.form-control,
.mvc-grid-options,
.mvc-grid-value,
.mvc-grid-pager-rows {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.75rem;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2363487b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6.5l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 1rem 1rem;
    color: var(--main-color);
    cursor: pointer;
}

.filter-card .form-control:focus,
.filter-card .form-select:focus,
select.form-control:focus,
.mvc-grid-options:focus,
.mvc-grid-value:focus,
.mvc-grid-pager-rows:focus {
    border-color: #4e73df;
    box-shadow: 0 0 0 .2rem rgba(78, 115, 223, .15);
}

.filter-card .flatpickr-input.form-control,
.filter-card input#dateFrom.form-control,
.filter-card input#dateTo.form-control {
    border-color: #d8deea;
    background: #fff;
    color: var(--main-color);
    padding-right: 2.75rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2363487b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.25' y='3.25' width='11.5' height='10.5' rx='2'/%3E%3Cpath d='M5 1.75v3M11 1.75v3M2.5 6.25h11'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 1rem 1rem;
    box-shadow: none;
}

.filter-card .flatpickr-input.form-control::placeholder,
.filter-card input#dateFrom.form-control::placeholder,
.filter-card input#dateTo.form-control::placeholder {
    color: rgba(244, 244, 244, 0.78);
}

.filter-card .flatpickr-input.form-control:focus,
.filter-card input#dateFrom.form-control:focus,
.filter-card input#dateTo.form-control:focus {
    border-color: var(--main-color);
    background: #fff;
    color: var(--main-color);
    box-shadow: 0 0 0 .18rem rgba(99, 72, 123, .18);
}

.flatpickr-calendar {
    border: 1px solid rgba(99, 72, 123, 0.16);
    border-radius: 12px;
    background: #fff;
    color: var(--main-color);
    box-shadow: 0 18px 34px rgba(33, 29, 88, 0.14);
}

.flatpickr-months,
.flatpickr-weekdays,
.flatpickr-weekdaycontainer,
.flatpickr-rContainer,
.flatpickr-days,
.dayContainer {
    background: #fff;
}

.flatpickr-months .flatpickr-month,
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    color: var(--main-color);
}

.flatpickr-weekday {
    color: var(--main-color) !important;
}

.flatpickr-day {
    color: var(--main-color);
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.notAllowed,
.flatpickr-day.notAllowed.prevMonthDay,
.flatpickr-day.notAllowed.nextMonthDay {
    color: rgba(99, 72, 123, 0.32);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
    border-color: var(--main-color);
    background: var(--main-color);
    color: var(--secondary-color);
}

.flatpickr-day.today {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.flatpickr-day:hover {
    background: rgba(99, 72, 123, 0.08);
    border-color: rgba(99, 72, 123, 0.08);
}

.flatpickr-prev-month,
.flatpickr-next-month {
    fill: var(--main-color);
    color: var(--main-color);
}

.flatpickr-prev-month:hover svg,
.flatpickr-next-month:hover svg {
    fill: var(--main-color);
}

.filter-card .form-label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 6px;
}

.more-filters-btn {
    border-radius: 12px;
}

.more-filters-btn i {
    margin-right: 0 !important;
}

.more-filters-panel {
    background: #f8faff;
    border: 1px solid #e3eaf7;
}

.btn {
    border-radius: 8px;
    min-height: 42px;
    padding: 8px 14px;
}

.auto-width {
    min-width: auto;
}

.person-icon {
    margin-right: 4px;
}
