@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f0ff;
    color: #333;
    overflow-x: hidden;
}

a{
    text-decoration: none;
}

.artist-image {
    display: block;
    margin: 0;
    max-width: 85%;
    height: auto;
}

/* Ajuste imagen de perfil del usuario */
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.artist-name {
    font-size: 2.5vw;
    font-weight: bold;
    margin-top: 1vh;
    color: #ffffff !important;
    position: relative;
    z-index: 2;
}

.artist-genre {
    font-size: 1.2vw;
    color: #ffffff !important;
    position: relative;
    z-index: 2;
}

#addToFavoritesForm {
    text-align: center;
    margin-top: 2vh;
    margin-bottom: 4vh;
}

#addToFavoritesForm .btn-primary {
    background: linear-gradient(90deg, #329CC9, #C06fc8);
    color: white;
    padding: 1vh 3vw;
    border-radius: 5%;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
}

#addToFavoritesForm .btn-primary:hover {
    background: linear-gradient(90deg, #C06fc8, #329CC9);
    transform: scale(1.05);
}

.tab-pane {
    display: flex;
    flex-direction: column;
    gap: 2vh;
}

.concert-content {
    background-color: #fff;
}

.white-container {
    margin-left: 20%;
    margin-right: 10%;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 5vh;
}

.white-container .content {
    margin-bottom: 0;
}

.white-container .concert-content {
    margin-top: 0;
}

.profile-background {
    width: 100%;
    height: 40vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 2vh;
    background-color: #fff;
}

.profile-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.642);
    z-index: 1;
}

.profile-background .artist-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2%;
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    max-width: 25%;
    height: 100%;
}

.profile-background .artist-header img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 100%;
}

.artist-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1vh;
    margin-top: 1vh;
    max-width: 45%;
    text-align: left;
    color: white;
    position: relative;
    z-index: 2;
    margin-left: 2%;
}

.fav-header {
    position: absolute;
    bottom: 2vh;
    right: 2vh;
    color: white;
    text-align: right;
    z-index: 2;
    margin-right: 2vh;
}

.nav-tabs {
    border: none !important;
}

.nav-tabs .nav-link {
    background: #fff;
    color: #333;
    border: none !important;
    border-radius: 8px !important;
    border-radius: 0.5vh;
    margin: 0.5vh;
    text-align: center;
    transition: background 0.3s, color 0.3s;
}

.nav-tabs .nav-link:hover {
    background: #DFD1E8;
    color: #000;
}

.nav-tabs .nav-link.active {
    background: linear-gradient(90deg, #329CC9, #C06fc8);
    color: #fff !important;
    font-weight: bold;
}

.popular-songs-card {
    background-color: #fff;
    border-radius: 1%;
    margin-bottom: 2vh;
}

.popular-songs-card .card-body {
    padding: 2vh;
}

.popular-songs-card .card-title {
    font-size: 2vw;
    font-weight: bold;
    color: #333;
    margin-bottom: 2vh;
}

.popular-songs-card iframe {
    border-radius: 1%;
    width: 100%;
    height: 60vh;
}

#info .row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 2vh;
}

#info .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
    padding: 3%;
}

* Tarjeta de video */
.card {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 0 1.5vh rgba(0,0,0,0.1);
    overflow: hidden;
    border: none;
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    width: 100%;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.user-name {
    font-weight: 600;
    color: #333;
}

.upload-date {
    font-size: 0.8rem;
    color: #999;
}

.card-body {
    padding: 12px 16px;
    width: 100%;
}

.card-body video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.card-body .rounded-circle {
    width: 40px;
    height: 40px;
    object-fit: cover; /* Mantiene el ratio de la imagen */
    border-radius: 50%; /* Asegura que siga siendo circular */
}

.card .description {
    margin-left: 0; /* Elimina cualquier margen izquierdo */
    padding-left: 0; /* Elimina cualquier padding izquierdo */
    text-align: left; /* Asegura que el texto esté alineado a la izquierda */
}

.video-container video {
    width: 100%;
    border-radius: 8px;
    outline: none;
    max-height: 300px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 1rem;
    padding: 10px 16px;
    border-top: 1px solid #eee;
}

.actions {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
}

.actions .action-icon {
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.2s;
}

.action {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color 0.2s;
}

.action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 2px solid #ccc;
    border-radius: 50%;
    font-size: 0.8rem;
}

.like-icon {
    border-color: #b98ed7;
    color: #b98ed7;
    background-color: transparent !important;
}

.comment-icon {
    border-color: #7db9ce;
    color: #7db9ce;
}

.views-icon {
    border-color: #cea87d;
    color: #cea87d;
}

.share-icon {
    border-color: #8fc080;
    color: #8fc080;
}

.comment-section {
    margin-top: 10px;
    border-top: 1px solid #ddd;
    padding: 10px 16px;
}

.comment-input {
    width: 100%;
    min-height: 60px;
    padding: 8px;
    font-size: 0.9rem;
    margin-bottom: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.comment-submit {
    background-color: #329CC9;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.comment-submit:hover {
    background-color: #26789c;
}

.card-title {
    margin-bottom: 16px;
    font-weight: 600;
}

.sidebar-right .card {
    margin-bottom: 20px;
}

.sidebar-right .card-body {
    padding: 16px;
}

.nav-tabs .nav-link {
    color: black;
    background: white;
    transition: background 0.3s ease, color 0.3s ease;
    padding: 5px 10px;
    font-size: 14px;
    flex: 0 1 auto;
    border: none;
}

.nav-tem{
    width: 50px;
}

.nav-tabs .nav-link.active {
    color: white !important;
    background: linear-gradient(90deg, #329CC9, #C06fc8);
    font-weight: bold;
}

#myTab2{
    width: 80%;
    margin: 0 auto;
    margin-left: 7%;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
}

#myTab2Content{
    margin: 0 auto; /* Centra el contenido */
}

.row-cols-1 .col, .row-cols-md-2 .col, .row-cols-lg-3 .col {
    display: flex;
    flex-direction: column;
}
/* ====== CONCIERTOS (TICKETS) ====== */
.ticket-card {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 2vh;
    box-shadow: 0 0 1.5vh rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.ticket-date {
    background: linear-gradient(90deg, #c06fc8, #E99CBE);
    color: #fff;
    padding: 1rem;
}

.ticket-date h5 {
    font-size: 1.2rem;
}

.ticket-content {
    padding: 1rem;
}

.ticket-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.ticket-content h2 {
    font-size: 1.2rem;
    color: #333;
}

.ticket-content p {
    font-size: 1rem;
    color: #555;
}

.btn-warning {
    background-color: #329CC9;
    border: none;
    color: white;
}

.btn-warning:hover {
    background-color: #c06fc8;
    color: white;
}

.btn-primary, .btn-outline-secondary {
    min-width: 18vh; /* Set a minimum width for the button */
    text-align: center; /* Center the text inside the button */
}

.btn-outline-secondary {
    border: 1px solid #ccc; /* Borde gris claro */
}

.text-cyan {
    color: #329CC9;
}

.text-cyan:hover {
    color: #C06fc8; /* Cambia el color al pasar el mouse */
}

/* DARK MODE */

body.dark-mode {
    background-color: #0F0B14;
    color: #e0e0e0;
}

body.dark-mode .concert-content,
body.dark-mode .white-container,
body.dark-mode .popular-songs-card,
body.dark-mode .nav-tabs .nav-link {
    background-color: #1B161E !important;
    color: #e0e0e0 !important;
}

body.dark-mode .nav-tabs .nav-link.active {
    background: linear-gradient(90deg, #329CC9, #C06fc8);
    color: #fff !important;
}

body.dark-mode .nav-tabs .nav-link:hover {
  background: #4A3E57 !important;
  color: #fff;
}

body.dark-mode .card-title,
body.dark-mode .popular-songs-card .card-title {
    color: #BE7DF7 !important;
}

body.dark-mode .card-footer,
body.dark-mode .action,
body.dark-mode .action-icon {
    background-color: transparent;
    color: #ccc;
    border-color: #555;
}

body.dark-mode .like-icon {
    border-color: #b98ed7;
    color: #b98ed7;
}

body.dark-mode .comment-icon {
    border-color: #7db9ce;
    color: #7db9ce;
}

body.dark-mode .views-icon {
    border-color: #cea87d;
    color: #cea87d;
}

body.dark-mode .share-icon {
    border-color: #8fc080;
    color: #8fc080;
}

body.dark-mode .artist-link {
    color: #BE7DF7;
}

body.dark-mode .artist-link:hover {
    color: #DFD1E8;
}

body.dark-mode .card-title:hover {
    color: #DFD1E8;
}

body.dark-mode .profile-background {
    background-color: #1B161E;
}

body.dark-mode .btn-primary {
    background: linear-gradient(90deg, #329CC9, #C06fc8);
    color: #fff;
}

body.dark-mode .btn-primary:hover {
    background: linear-gradient(90deg, #C06fc8, #329CC9);
    opacity: 0.9;
}

body.dark-mode .tab-pane {
    background-color: transparent;
}

body.dark-mode .white-container {
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.05);
}

body.dark-mode .card {
    background-color: #252028;
    color: #f0f0f0;
    box-shadow: 0 2px 8px rgba(255,255,255,0.05);
}

body.dark-mode .card-header,
body.dark-mode .card-footer,
body.dark-mode .comment-section {
    background-color: #1B161E;
    border-color: #333;
}

body.dark-mode .user-name,
body.dark-mode .upload-date,
body.dark-mode .description,
body.dark-mode .card-title,
body.dark-mode .sidebar-right .card-body,
body.dark-mode .actions,
body.dark-mode .numLikesLink,
body.dark-mode .numCommentsLink {
    color: #fff !important;
}

body.dark-mode .action-icon {
    border-color: #777;
    color: #ddd;
}

body.dark-mode .comment-input {
    background-color: #252028;
    color: #f0f0f0;
    border: 1px solid #555;
}

body.dark-mode .comment-submit {
    background-color: #329CC9;
    color: #fff;
}

body.dark-mode .comment-submit:hover {
    background-color: #b98ed7;
}

body.dark-mode .video-container video {
    border: 1px solid #444;
}
body.dark-mode a,
body.dark-mode a:visited {
    color: #329CC9;
    text-decoration: none;
}

body.dark-mode a:hover {
    color: #b98ed7;
    text-decoration: none;
}

body.dark-mode .like-icon {
    border-color: #b98ed7 !important;
    color: #b98ed7 !important;
}

body.dark-mode .comment-icon {
    border-color: #7db9ce !important;
    color: #7db9ce !important;
}

body.dark-mode .views-icon {
    border-color: #cea87d !important;
    color: #cea87d !important;
}

body.dark-mode .share-icon {
    border-color: #8fc080 !important;
    color: #8fc080 !important;
}

body.dark-mode .dropdown a i {
    color: #fff !important;
}

body.dark-mode .dropdown-menu li .dropdown-item:hover {
    background-color: #3a2f41 !important;
    color: #fff !important;
}

body.dark-mode .card.p-4,
body.dark-mode .ticket-card,
body.dark-mode .publication-card {
  background-color: #252028;
  color: #e0e0e0;
}

body.dark-mode .profile-name,
body.dark-mode .profile-description,
body.dark-mode .ticket-content h2,
body.dark-mode .publication-info h3 {
  color: #ffffff;
}

body.dark-mode .profile-handle,
body.dark-mode .profile-stats a,
body.dark-mode .ticket-content p {
  color: #bbbbbb;
}

body.dark-mode .ticket-date {
  background: linear-gradient(90deg, #7a3b8c, #329CC9);
  color: #fff;
}

body.dark-mode .btn-warning {
  background-color: #329CC9;
  color: white;
}

body.dark-mode .btn-warning:hover {
  background-color: #C06fc8;
}

body.dark-mode .btn-outline-secondary {
  border: 1px solid #999;
  color: #ccc;
}

body.dark-mode .btn-outline-secondary:hover {
  border-color: #C06fc8;
  color: #fff;
}

@media (max-width: 1299px) {
    .profile-background .artist-header {
        max-width: 34%;
    }
}

@media (max-width: 999px) {
    .white-container {
        margin-left: 11%;
        margin-right: 2%;
        width: 87%;
        margin-top: 2vh;
        margin-bottom: 0;
    }

    #info .row {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: space-between;
        width: 100%;
    }

    #info .col-md-6 {
        flex: 1 1 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .artist-info {
        margin-top: 2vh;
    }

    .profile-background {
        height: 35vh;
    }

    .profile-background .artist-header {
        flex-direction: column;
        font-size: 1.8rem;
        z-index: 2;
        flex-shrink: 0;
        max-height: 90%;
        max-width: 30%;
        margin-right: 2%;
    }

    .profile-background .artist-header img {
        max-width: 100%;
        height: auto;
    }

    .artist-name {
        font-size: 5vw;
    }

    .artist-genre {
        font-size: 4vw;
    }
}

@media (max-width: 768px) {
    .white-container {
        margin-left: 5%;
        margin-right: 5%;
        width: 90%;
        margin-top: 2vh;
        margin-bottom: 0;
    }
}

@media (max-width: 686px) {
    #publicaciones-tab {
        display: flex;
        align-items: center;
        justify-content: center;
        text-indent: 0;
    }

    #publicaciones-tab span {
        display: none;
    }

    #publicaciones-tab i {
        margin-right: 0;
    }

    #publicaciones-tab .tab-label {
        display: none;
    }

    #publicaciones-tab::after {
        content: "Videos";
        margin-left: 0.5vh;
    }
}

@media (max-width: 499px) {
    .white-container {
        margin: 0;
        width: 100%;
        margin-top: 2vh;
    }

    .profile-background {
        display: flex;
        flex-direction: column;
        position: relative;
        align-items: flex-start;
    }

    .profile-background .artist-header {
        display: none;
    }

    .artist-info {
        margin-top: 2vh;
    }

    .artist-name {
        font-size: 6vw;
        font-weight: bold;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .artist-genre {
        font-size: 5vw;
        margin: 0;
        white-space: nowrap;
    }

    .profile-background .fav-header {
        position: static;
        text-align: left;
        margin: 0;
        width: 100%;
        margin-top: 2vh;
        color: rgba(255, 255, 255, 0.888);
    }

    .profile-background .artist-name {
        font-weight: bold;
        font-size: 6vw;
    }

    .profile-background .artist-genre {
        font-size: 5vw;
    }

    .popular-songs-card .card-title {
        font-size: 5vw;
    }

    .card.popular-songs-card {
        padding: 0 !important;
    }

    .popular-songs-card .card-body {
        padding: 0 !important;
    }

    #info .row {
        padding: 0;
        gap: 1vh;

        width: 100%;
        margin: 0;
    }

    #info .col-md-6 {
        box-sizing: border-box;
        margin-top: 1vh;
    }
}
