* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--theme-primary-color);
    font-family: var(--theme-font-family);
    font-weight: 600;
}

body {
    font-family: var(--theme-font-family);
    font-style: normal;                 
}

input, .form-control {
    background: var(--theme-background-color);
    color:  var(--theme-primary-color);
}

.form-control:focus{
    background: var(--theme-background-color);
    color:  var(--theme-primary-color);
}

a {
    color: var(--theme-primary-color);
}

form#login-form {
    max-width: 400px;
    margin: 0 auto;
}

button[name="login-button"] {
    width: 400px;
}

.logo_svg {
    margin: 0 auto;
    text-align: center;
}

h1.v19_783 {
    margin: 0 auto;
    text-align: center;
    color: var(--theme-primary-color);
    font-size: 56px;
    font-family: var(--theme-font-family);
    font-weight: bolder;
}

.login_row {
    display: flex;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
    align-content: center;
    justify-content: center;
    align-items: center;
}

.links {
    text-align: center;
    margin-top: 1.5rem;
}

.links a {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
}

.links a:hover {
    text-decoration: underline;
}

.header {
    position: relative;
    color: #000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.hamburguesa {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 2000;
}

.hamburguesa span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 5px;
}

.hamburguesa span {
    transition: all 0.3s ease;
}

.hamburguesa.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburguesa.active span:nth-child(2) {
    opacity: 0;
}

.hamburguesa.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.menu-movil {
    display: flex;
    gap: 2rem;
}

@media (max-width: 1320px) {
    .menu-movil {
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        z-index: 1500;
    }
}

@media (max-width: 768px) {
    #menuMovil {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.0);
        transform: scaleY(0);
        transform-origin: top;
        opacity: 0;
        visibility: hidden;
        transition: transform 0.5s ease, opacity 0.5s ease, visibility 0s linear 0.5s;
        z-index: 1500;
    }

    #menuMovil.active {
        transform: scaleY(1);
        opacity: 1;
        visibility: visible;
        transition: transform 0.5s ease, opacity 0.5s ease;
        position: static;
    }

    .hamburguesa {
        display: flex;
    }

    .menu-movil {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .nav-links, .nav2 {
        flex-direction: column !important;
        gap: 1rem;
        justify-content: center;
        align-items: center !important;
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;          
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--theme-primary-color);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--theme-secondary-color);
    margin-bottom: 2rem;
}

.search-bar {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    font-weight: 400;
}

.search-bar input:focus {
    border-color: #667eea;
}


.filters {
    text-align: center;
}

.filters select {
    padding: 0.5rem 1rem;
    border: 2px solid #3b3b3b;
    border-radius: 25px;
    background: #000000;
    outline: none;
    font-size: 14px;
    color: var(--theme-primary-color);
}

.filters select {
    padding: 0.5rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 25px;        
    outline: none;
    font-size: 14px;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.music-card {           
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    transition: background 0.3s ease;
}

.music-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    justify-content: space-between;
}

.action-music {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    min-width: 78px;
}

.music-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #ccf5ff 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-right: 1rem;
}

.music-info h3 {
    color: var(--theme-primary-color);
    margin-top: 30px;
    margin-bottom: 0.25rem;
}

.music-info p {
    color: #666;
    font-size: 0.9rem;
}

.music-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--theme-primary-color);
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 11px;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
}

.music-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.4;
    min-height: 25px;
    font-weight: 500;
    display: none;
}

.music-actions {
    display: flex;
    gap: 0.5rem;
    display: none;
}

.music-card:hover {
    background: #3d3d3d3d;
}

.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-primary {
    background: #ffcc00;
    color: #000000;
    text-decoration: none;
}

.btn-lanzamiento {
    background: linear-gradient(135deg, #05a2f5 0%, #667eea 100%);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #e1e5e9;
}

.btn:hover {
    transform: translateY(-2px);
}

.stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #888;
    margin: 10px 5px;
}

.stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination a, .pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid #e1e5e9;
    border-radius: 5px;
    text-decoration: none;
    color: #666;
}

.pagination .current {
    background: #ffcc00;
    color: #000000;
    border-color: transparent;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.empty-state h3 {
    margin-bottom: 1rem;
}

.user-info {
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .filters {
        justify-content: flex-start;
    }

    .music-grid {
        grid-template-columns: 1fr;
    }
}

/* Estilos básicos para el botón de alternar vista */
.view-toggle-container {
    text-align: right;
    margin-bottom: 15px;
}

.view-toggle-btn {
    background-color:#000; /* Color de tu tema */
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto; /* Para alinear a la derecha */
}

.view-toggle-btn:hover {
    background-color: #764ba2;
}

 .music-grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(540px, 1fr));  
    gap: 20px;
}

.music-grid-view .music-item {
    background-color: var(--theme-primary-color);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Estilos para la vista de lista */
.music-list-view {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.music-list-view .music-item {
    background-color: var(--theme-primary-color);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.music-list-view .music-item img {
    width: 50px; /* Tamaño del icono/imagen en vista de lista */
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.music-list-view .music-item .music-info {
    flex-grow: 1;
}

.music-list-view .music-item h3 {
    margin: 0 0 5px 0;
    font-size: 1.1em;
}

.music-list-view .music-item p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}

.music-list-view .music-card-header {
    display: inline-block;
    align-items: center;
    margin-bottom:0.5rem;
    float: left;
}

.music-list-view .music-card{
   padding: 1rem !important;
}

.music-list-view .music-meta, .music-list-view .btnmusicVerdetalles,.music-list-view .music-description {
   display: none;
}

.music-list-view .music-icon,.music-list-view .music-info, .music-list-view .stats {
    float: left;                
}

.music-list-view .music-actions{
    float: right;                
}
.music-list-view .music-info {
    float: left;      
    padding: 0px 30px;
    min-width: 150px;
}

.enlace_tema{
    text-decoration: none;
    color: var(--theme-primary-color);
}
a.enlace_tema:hover, a.enlace_artista:hover, img.music-cover-thumb:hover {
    text-decoration: underline;
    cursor: pointer;
}

.enlace_artista{
    text-decoration: none;
    color: var(--theme-primary-color);
}

img.music-cover-thumb{
    display: inline-block;
    float: left;
    width: 160px;
    height: 160px;
    margin: 0px 10px 0px 0px;
    border-radius: 16px;
}

a.btn.btn-primary.btnmusicVerdetalles {
    font-size: 13px;
    padding: 15px;
    min-width: 99px;
    display: none;
}

/* Plugin / file cover - 41 */
p {
    font-weight: 600;
}

audio::-webkit-media-controls, audio::-webkit-media-controls-enclosure, audio::-webkit-media-controls-panel {
    background: #efefef !important;
    color: var(--theme-primary-color);
    border-radius: 10px;                
}
            
#versiones-container {
    margin: 50px 0;
}


div#caratula-upload {
    min-height: 235px;
}

.info-box h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    padding: 5px;
}

.help-block {
    font-size: 14px;
    font-style: italic;
}

img.image_logo {
    max-height: 70px;
    min-width: auto;
}

.logo a.css_hover.ajax-link {
    text-decoration: none;
}