html {
  font-size: 18px;
}
.pre_errors{
    overflow: auto;
    max-width: 450px;
    max-height: 240px;
}
table#result_list th, table#result_list td{
    min-width: 100px;
    word-break: break-word;
    word-wrap: break-word;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Buttons on fly */
#jazzy-actions {
    position: fixed;
    top: 167px;
    right: 10px;
    max-width: 25%;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px 20px;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: top 0.3s ease;
    min-width: 200px;
}

.changeTimeAudio {
    cursor: pointer;
    /*text-decoration: green wavy underline;*/
    text-decoration: underline dotted green;
}

.playerSpeedLabel {
    min-width: 35px;
    text-align: center;
}

/* Admin timeline */
.vertical-timeline {
    width: 100%;
    position: relative;
    padding: 0rem 0 1rem;
}

.vertical-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 170px;
    height: 100%;
    width: 4px;
    background: #e9ecef;
    border-radius: .25rem;
}

.vertical-timeline-element {
    position: relative;
    margin: 0 0 1rem;
}

.vertical-timeline--animate .vertical-timeline-element-icon.bounce-in {
    visibility: visible;
    animation: cd-bounce-1 .8s;
}
.vertical-timeline-element-icon {
    position: absolute;
    top: -2px;
    left: 160px;
}

.vertical-timeline-element-icon .badge-dot-xl {
    box-shadow: 0 0 0 5px #fff;
}

.badge-dot-xl {
    width: 18px;
    height: 18px;
    position: relative;
}
.badge:empty {
    display: none;
}


.badge-dot-xl::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: .25rem;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -5px 0 0 -5px;
    background: #fff;
}

.vertical-timeline-element-content {
    position: relative;
    margin-left: 90px;
    font-size: .8rem;
}

.vertical-timeline-element-content .timeline-title {
    font-size: .8rem;
    text-transform: uppercase;
    margin: 0 0 0px 96px;
    padding: 0px 0 0;
    font-weight: bold;
}

.vertical-timeline-element-content .vertical-timeline-element-date {
    display: block;
    position: absolute;
    left: -90px;
    top: 0;
    padding-right: 10px;
    text-align: right;
    color: #adb5bd;
    font-size: .7619rem;
    white-space: nowrap;
}

.vertical-timeline-element-content:after {
    content: "";
    display: table;
    clear: both;
}

.select2-selection__rendered {
    margin-top: 0 !important;
}

table#result_list th, table#result_list td {
    min-width: 110px;
}

.select2-container {
    min-width: 120px;
}

table#result_list td {
    word-break: break-word;
    word-wrap: break-word;
}

table#result_list th {
    word-break: normal;
    word-wrap: normal;
}

.no-wrap {
    white-space: nowrap;
}

th:last-child {
  text-align: center;
  vertical-align: middle;
}

/* Improved view of cards on the dashboard */

.card-header {
    border-radius: 8px 8px 0 0 !important;
    padding: 15px;
    font-weight: bold;
}

/* Стилизация таблиц */
.table thead th {
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Improved buttons */
.btn {
    border-radius: 6px;
    padding: 8px 16px;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
}

.btn-success {
    background: linear-gradient(135deg, #1cc88a 0%, #169a6e 100%);
}

.btn-info {
    background: linear-gradient(135deg, #36b9cc 0%, #258391 100%);
}

.btn-warning {
    background: linear-gradient(135deg, #f6c23e 0%, #dda20a 100%);
}

.btn-danger {
    background: linear-gradient(135deg, #e74a3b 0%, #c52121 100%);
}

/* Animations for page transitions */
.fade-transition {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

body.ready .content-wrapper {
    animation: fadeIn 0.3s ease-in-out;
}

/* Styling of forms */
.form-control {
    border-radius: 6px;
    padding: 10px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
    border-color: #bac8f3;
}

/* Styles for statuses */
.badge {
    padding: 5px 10px;
    font-weight: 500;
    border-radius: 30px;
}

.badge-success {
    background-color: #1cc88a;
}

.badge-warning {
    background-color: #f6c23e;
}

.badge-danger {
    background-color: #e74a3b;
}

.badge-info {
    background-color: #36b9cc;
}

@media (max-width: 768px) {
    .card {
        margin-bottom: 15px;
    }

    .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

.main-sidebar, .main-sidebar::before {
    width: 210px !important;
}

.content-wrapper, .main-header, .main-footer {
    margin-left: 210px !important;
}

@media (min-width: 992px) {
    .sidebar-mini.sidebar-collapse .content-wrapper,
    .sidebar-mini.sidebar-collapse .main-footer,
    .sidebar-mini.sidebar-collapse .main-header {
        margin-left: 4.6rem !important;
    }
}

/* Reduce font size and menu padding to eliminate scrolling */
.nav-sidebar .nav-item .nav-link {
    padding: 8px 10px !important;
    font-size: 0.9rem !important;
    white-space: normal !important; /* Разрешаем перенос текста */
}

/* Reduce indents in submenus */
.nav-sidebar .nav-treeview {
    padding-left: 0.5rem !important;
}

/* Improving the appearance of icons in the menu */
.nav-sidebar .nav-link p {
    margin-left: 5px !important;
}

/* Handling long names in menus */
.nav-sidebar .nav-link {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
}

/* Reduce indents for menu section headings */
.nav-header {
    padding: 8px 10px 8px 10px !important;
    font-size: 0.85rem !important;
}

.sidebar-mini .main-sidebar .nav-link,
.sidebar-mini-md .main-sidebar .nav-link,
.sidebar-mini-xs .main-sidebar .nav-link {
    width: calc(205px - .5rem* 2) !important;
    transition: width ease-in-out .3s;
}

.content-wrapper>.content {
    padding: 0.2rem 0.2rem !important;
}

.btn-link{
    padding: 8px 16px;
    display: inline-block;
}
