/* Animaciones de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(-100px);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) translateY(25px);
    }
    100% {
        transform: scale(1) translateY(0);
    }
}

/* Estilos con animaciones */
.opendrive-player-container {
    width: 100%;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    display: contents;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out;
}

.opendrive-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #ddd;
    position: relative;
    animation: fadeInUp 0.6s ease-out;
}

.opendrive-folder-title {
    font-size: 1.2em;
    margin: 0;
    color: #333;
    flex: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-align: left; /* Alineado a la izquierda */
    animation: fadeInUp 0.6s ease-out;
}

.opendrive-controls-right {
    display: flex;
    align-items: center;
    position: relative;
    animation: fadeInUp 0.6s ease-out;
}

.opendrive-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    animation: scaleUp 0.6s ease-out;
}

.opendrive-button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

.opendrive-options,
.opendrive-volume {
    position: relative;
    display: inline-block;
}

.opendrive-options-menu,
.opendrive-volume-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 4px;
    z-index: 1000;
    animation: fadeInUp 0.6s ease-out;
}

.opendrive-volume-slider {
    width: 150px;
    margin-right: 10px;
}

.opendrive-column-headers {
    display: flex;
    justify-content: space-between;
    align-items: center;
	height: 30px;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    animation: fadeInUp 0.6s ease-out;
}

.opendrive-file-header {
    flex: 1;
    text-align: left;
}

.opendrive-genre-header,
.opendrive-bpm-header,
.opendrive-key-header {
    width: 80px;
    text-align: right;
}

.opendrive-files-container ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.opendrive-files-container li {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.opendrive-files-container li:hover {
    background-color: #f1f1f1;
}

.opendrive-file-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left; /* Alinea el contenido de los archivos a la izquierda */
}

.opendrive-audio-file {
    text-decoration: none;
    color: #333;
    font-size: 0.95em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: calc(100% - 250px); /* Reservar espacio para las columnas y botón */
    text-align: left;
}

.opendrive-genre {
    color: #4CAF50;
    font-size: 0.85em;
    margin-left: 10px;
    width: 80px;
    text-align: right;
    max-width: 100px; /* Limita el ancho del género */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.opendrive-bpm {
    color: #FF5722;
    font-size: 0.85em;
    margin-left: 10px;
    width: 80px;
    text-align: right;
}

.opendrive-key {
    color: #2196F3;
    font-size: 0.85em;
    margin-left: 10px;
    width: 80px;
    text-align: right;
}

.opendrive-audio-player {
    display: none;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    margin-top: 10px;
    width: 100%;
    animation: fadeInUp 0.6s ease-out;
}

.opendrive-download-button {
    background-color: #2196F3;
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    align-self: flex-start; /* Alineado a la izquierda */
    margin-left: 10px;
    width: 30px;
    text-align: center;
    animation: scaleUp 0.6s ease-out;
}

.opendrive-download-button:hover {
    background-color: #1976D2;
    transform: scale(1.05);
}

.opendrive-loading-text {
    text-align: center;
    color: #777;
    font-style: italic;
    animation: fadeInUp 0.6s ease-out;
}

/* Estilos para carpetas */
.opendrive-folder-info {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left; /* Asegura que todo el contenido esté alineado a la izquierda */
    animation: fadeInUp 0.6s ease-out;
}

.opendrive-folder-info a {
    text-decoration: none;
    color: #4CAF50;
    font-weight: bold;
    font-size: 1em;
}

.opendrive-folder-info a:hover {
    color: #45a049;
}

/* Estilos para el botón de retroceso */
#opendrive-back-button {
    background-color: #FF9800;
    margin-right: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    animation: scaleUp 0.6s ease-out;
}

#opendrive-back-button:hover {
    background-color: #F57C00;
    transform: scale(1.05);
}

/* Estilos para los breadcrumbs */
.opendrive-breadcrumbs {
    font-size: 0.9em;
    color: #555;
    text-align: center;
    flex-grow: 0 !important;
    margin: 0;
    animation: fadeInUp 0.6s ease-out;
}

.opendrive-breadcrumbs a {
    text-decoration: none;
    color: #2196F3;
}

.opendrive-breadcrumbs a:hover {
    text-decoration: underline;
}

/* Estilos para el botón "Mostrar más contenido" */
.opendrive-show-more {
    text-align: center;
    margin-top: 20px;
}

.show-more-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    animation: bounceIn 0.6s ease-out;
}

.show-more-button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

.the-content {
    max-width: 1215px;
    animation: fadeInUp 0.6s ease-out;
}

.main_tab__content {
    padding: 10px 0;
    animation: fadeInUp 0.6s ease-out;
}

.opendrive-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
    animation: fadeInUp 0.6s ease-out;
}

.max00, .max11 {
    width: auto; 
}

.opendrive-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.opendrive-breadcrumbs {
    text-align: center;
    flex-grow: 0;
    margin-left: 20px;
    margin-right: 20px;
    transition: opacity 0.6s ease-out; /* Transición suave para la aparición */
}

.opendrive-controls-right {
    display: flex;
    align-items: center;
    position: relative;
    margin-left: auto; /* Empuja este div hacia la derecha */
    animation: fadeInUp 0.6s ease-out;
}

.opendrive-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.opendrive-breadcrumbs {
    text-align: center;
    flex-grow: 0;
    margin-left: 20px;
    margin-right: 20px;
    transition: opacity 0.6s ease-out; /* Transición suave para la aparición */
}

.opendrive-controls-right {
    display: flex;
    align-items: center;
    position: relative;
    margin-left: auto; /* Empuja este div hacia la derecha */
    animation: fadeInUp 0.6s ease-out;
}


.opendrive-file-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    align-items: center;
}
.opendrive-file-info {
    display: flex;
    align-items: center;
}

.opendrive-file-info .opendrive-audio-file {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.opendrive-file-info .opendrive-genre {
    width: auto;
    text-align: right;
    color: #4CAF50;
    margin-left: 10px;
}

.opendrive-file-info .opendrive-bpm {
    width: 65px;
    text-align: right;
    color: #FF5722;
    margin-left: 10px;
}

.opendrive-file-info .opendrive-key {
    width: 40px;
    text-align: right;
    color: #2196F3;
    margin-left: 10px;
}

.opendrive-file-info .opendrive-download-button {
    width: 30px;
    text-align: center;
    margin-left: 20px;
}

.opendrive-files-container ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.opendrive-controls-right {
    margin-right: 20px;
}

.opendrive-files-container li {
    transition: background-color 0.3s ease;
}

.opendrive-files-container li:hover {
    background-color: #f1f1f1;
}
.opendrive-genre-header, .opendrive-bpm-header, .opendrive-key-header {
    width: 68px;
    text-align: right;
}

.opendrive-column-headers {
    padding: 10px;
}
.opendrive-files-container{
    padding: 0 10px;
	    padding-bottom: 3px;
}

.opendrive-show-more {
    text-align: center;
    padding: 20px 0 40px 0;
}

.opendrive-player-container {
    width: auto;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    display: block;
    padding: 0px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out;
}
.opendrive-files-container li {
    display: flex;
    flex-direction: column;
    padding: 0px 0;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}
.opendrive-file-info .opendrive-audio-file, .opendrive-folder-info {
    padding: 10px 0;}


.opendrive-file-info .opendrive-audio-file, .opendrive-folder-info {
    font-weight: 700;
}
    
@media (min-width: 1024px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1512px;
    }
}

.opendrive-files-container a {
    color: #ffffff;
}


.spacebar0{
      padding: 0 0 0 1;
}


.color55 {
  display: inline-block; 
  vertical-align: middle;  width: 60px;
}
.color44 {
    display: inline-block;
    width: 80px;
    margin: 0 8px 0 0;
    color: #0586d3;
}
.color55 {
    display: inline-block;
    /* width: 100px;*/
    margin: 0 8px 0 0;
    padding: 4px 8px;
    border-radius: 3px;
    background-color: #0b0b29;
    /* border: 1px solid #555; */
    line-height: 1;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); */
    transition: background-color 0.3s ease;
    color: #fff !important;
}
.color55 {
    width: 140px;
    padding: 5px 20px;
    font-size: small;
	text-align: center; 
	}

.color33 {
  text-align: center; 
  vertical-align: middle;
}
.color30 {
    display: inline-block;
    width: 100px;
    margin: 0 8px 0 0;
    padding: 4px 8px;
    border-radius: 3px;
    background-color: #0b0b29;
    /* border: 1px solid #555; */
    line-height: 1;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); */
    transition: background-color 0.3s ease;
    color: #fff !important;
}
/* Fondo Principal (#1D1D3E) */


.opendrive-options-menu,
.opendrive-volume-menu {
    background-color: #1D1D3E;
}

/* Fondo Más Oscuro (#0b0b29) */
.opendrive-controls {
    border-bottom: 2px solid #0b0b29;
}

.opendrive-files-container li {
    border-bottom: 1px solid #0b0b29;
}

.opendrive-files-container li:hover {
    background-color: #0b0b29;
}

.opendrive-column-headers {
    border-bottom: 1px solid #0b0b29;
}

/* Color de Texto (#DFD9F1) */
.opendrive-folder-title,
.opendrive-column-headers,
.opendrive-file-header,
.opendrive-audio-file,
.opendrive-breadcrumbs,
.show-more-button {
    color: #DFD9F1;
}

/* Color de Botones (#3c12d4) */
.opendrive-button,
.opendrive-download-button,
.show-more-button {
    background-color: #3c12d4;
    color: #DFD9F1;
}

/* Hover para Color de Botones (#280d92) */
.opendrive-button:hover,
.opendrive-download-button:hover,
.show-more-button:hover {
    background-color: #280d92;
}

/* Color Alternativo (#3d88fb) */
.opendrive-genre,
.opendrive-folder-info a,
.opendrive-breadcrumbs a {
    color: #3d88fb;
}

/* Hover para Color Alternativo (#ff9b5c) */
.opendrive-folder-info a:hover {
    color: #ff9b5c;
}

/* Color Alternativo (#e6564e) */
.opendrive-key,
#opendrive-back-button {
    background-color: #e6564e;
    color: #DFD9F1;
}

/* Hover para Color Alternativo (#b4453c) */
#opendrive-back-button:hover {
    background-color: #b4453c;
}
.opendrive-audio-file .fas {
    transition: all 0.2s ease;
}

.opendrive-audio-file .fas.fa-pause, .opendrive-audio-file .fas.fa-play {
    color: #4CAF50 !important;
}

/* Estilos para LOW-QL (archivo corrupto o de mala calidad) */
.opendrive-lowql {
    position: relative;
    display: inline-block;
    cursor: help;
    font-size: 1.2em;
    overflow: visible !important;
    width: auto !important;
    max-width: none !important;
}

.opendrive-lowql::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: rgb(230, 86, 78);
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
    pointer-events: none;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(230, 86, 78, 0.4);
    min-width: 260px;
    text-align: center;
}

.opendrive-lowql::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(2px);
    border: 8px solid transparent;
    border-top-color: rgb(230, 86, 78);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 9999;
}

.opendrive-lowql:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-15px);
}

.opendrive-lowql:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-3px);
}

/* Asegurar que los contenedores padres permitan el tooltip */
.opendrive-file-info:has(.opendrive-lowql) {
    overflow: visible !important;
}

.opendrive-files-container li:has(.opendrive-lowql) {
    overflow: visible !important;
}