﻿@charset "UTF-8";

#loadingSpinner {
    border: 16px solid #f3f3f3; 
    border-top: 16px solid #3498db; 
    border-radius: 50%; 
    width: 120px; 
    height: 120px; 
    animation: spin 2s linear infinite; 
    position: fixed; 
    left: 50%; 
    top: 20%; 
    transform: translate(-50%, -50%); 
    display: none; 
    z-index: 1000;  
}

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

.card-img-top {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    float: left;
}

.file-checkbox {
    margin-right: 5px;
    float: left;
}

/* Ajustes para dispositivos con pantallas pequeñas */
@media (max-width: 768px) {
    .card-body audio {
        width: 100%;
    }

    /* Asegurar que el contenedor ocupe el 100% en pantallas pequeñas */
    .content-container {
        width: 100%;
    }

    .controls input, .controls button {
        width: 100%;
        margin-bottom: 10px;
    }

    .controls {
        flex-direction: column;
        align-items: stretch;
    }

    .gen-list-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .gen-controls {
        flex-direction: column;
        width: 100%;
    }

    .gen-form-control {
        width: 100%;
    }

    .gen-list-container, .gen-container {
        width: 100%;
        padding: 10px;
    }

    .gen-title {
        font-size: 1.2em;
    }
}

.mp3-list-container {
    display: block;
    visibility: visible;
    min-height: 700px;
    flex-grow: 1;
    width: 100%; /* Asegura que el contenedor ocupe todo el ancho */
}

.card-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.pagination-container {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.list-pagination-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 700px;
}

.controls {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.controls input {
    margin-right: 10px;
    width: 300px;
    height: 30px;
    font-size: 16px;
}

.controls button {
    margin-right: 10px;
    padding: 2px 10px;
}

.controls .form-label {
    margin-bottom: 0;
}

.controls .form-label,
.controls .form-control,
.controls .btn {
    display: inline-block;
    vertical-align: middle;
}

#search-input {
    margin-right: 10px;
}

#sort-name {
    white-space: nowrap;
    width: auto;
    min-width: 150px;
}

#select-all {
    margin-right: 10px;
}

.no-files-message {
    text-align: center;
    margin-top: 20px;
}

.btn-danger:disabled {
    background-color: #d3d3d3;
    border-color: #d3d3d3;
    color: #6c757d;
}

.btn-disabled {
    background-color: #e0e0e0;
    color: #a0a0a0;
    cursor: not-allowed;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.form-label {
    white-space: nowrap;
    width: auto;
    min-width: 150px;
}

.alert-limits {
    padding: 15px;
    background-color: #f9edbe;
    border: 1px solid #f0c36d;
    color: #8a6d3b;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.alert-limits strong {
    font-weight: bold;
}

.content-container {
    width: 100%; /* Asegura que el contenedor ocupe todo el ancho */
}

.progress-bar {
    position: relative;
}

.progress-text {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    color: #fff;
}

.modal-header {
    position: relative;
    justify-content: center;
}

.modal-header .btn-minimize {
    position: absolute;
    left: 10px;
    top: 10px;
}

.modal-header .close {
    position: absolute;
    right: 10px;
    top: 10px;
}

#menu-ver-cargas {
    margin-bottom: 10px;
    list-style: none;
    padding: 5px 10px;
}

.gen-container {
    width: 100%;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.gen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
}

.gen-title-container {
    flex-grow: 1;
}

.gen-title {
    font-size: 1.5em;
    color: #333;
    margin: 0;
}

.gen-controls {
    display: flex;
    align-items: center;
}

.gen-form-control {
    margin-right: 15px;
    width: 250px;
    height: 35px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 0 10px;
    background-color: #ffffff;
    color: #495057;
}

.gen-btn-primary {
    background-color: #007bff;
    color: white;
    padding: 7px 15px;
    font-size: 1rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.gen-btn-primary:hover {
    background-color: #0056b3;
}

.gen-division {
    border-bottom: 2px solid #ddd;
    margin-top: 15px;
}

.gen-group-title {
    font-size: 1.2em;
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.gen-collapse-header {
    text-decoration: none;
    color: #0056b3;
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px 15px;
    background-color: #e9ecef;
    border-radius: 5px;
    display: block;
    width: 100%;
    text-align: left;
    transition: background-color 0.3s, color 0.3s;
}

.gen-collapse-header:hover {
    background-color: #d4d4d4;
    color: #00376b;
}

.gen-list-container {
    width: 100%;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.gen-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 5px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 3px;
    transition: background-color 0.3s, box-shadow 0.3s;
    list-style: none;
}

.gen-list-item:hover {
    background-color: #f1f1f1;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.gen-file-info {
    flex-grow: 1;
}

.gen-file-details {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

.gen-item-menu {
    position: relative;
    width: 30px;
    text-align: right;
}

.gen-menu-trigger {
    cursor: pointer;
    font-size: 1.5rem;
    color: #888;
    user-select: none;
}

.gen-menu-content {
    display: none;
    position: absolute;
    right: 0;
    top: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
    width: 120px;
    text-align: left;
}

.gen-menu-content .gen-menu-btn {
    width: 100%;
    padding: 10px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
    color: #333;
}

.gen-menu-content .gen-menu-btn:hover {
    background-color: #f0f0f0;
}

.gen-menu-trigger:hover + .gen-menu-content,
.gen-menu-content:hover {
    display: block; 
}

.gen-no-files {
    text-align: center;
    color: #666;
    padding: 20px;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
    padding: 0;
    margin-bottom: 5px;
}

.card-body {
    padding: 15px;
}

.highlight {
    background-color: yellow;
    font-weight: bold;
}

.gen-transcription-preview {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-file-label {
    color: #6c757d;
}
