/* Styles de base pour le plugin DJ Voting System */
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');

.social-links {
    text-align: center;
}

.social-icon {
    margin: 0 10px;
    color: #000;
}

.social-icon i {
    font-size: 20px;
    color: #ff0000; /* Changer la couleur selon ta préférence */
}

.social-icon:hover i {
    color: #ff4500; /* Couleur au survol */
}

.search-container {
    margin-bottom: 20px;
}
.social-icon {
    margin-right: 10px;
}

.social-icon img {
    width: 20px;
    height: 20px;
}

#artist-search {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ff0202;
    border-radius: 5px;
}


body {
    background-color: #1e1e1e !important;
    
}

.dj-voting-system-container {
    color: white;
}

.dj-voting-system-container .container {
    margin-top: 50px;
}

.dj-voting-system-container h1, 
.dj-voting-system-container h3 {
    color: white;
}

.dj-voting-system-container .table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
    background-color: #1e1e1e;
    border: 2px solid #ff0202;
}

.dj-voting-system-container .table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #ff0202;
    padding: 0.75rem;
    color: white;
    text-transform: uppercase;
}

.dj-voting-system-container .table tbody tr {
    border-bottom: 1px solid #ff0202;
}

.dj-voting-system-container .table tbody tr td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #ff0202;
    color: white;
}

.dj-voting-system-container .table tbody tr td a {
    color: white;
    text-decoration: none;
}

.dj-voting-system-container .table tbody tr td a:hover {
    text-decoration: underline;
}

.dj-voting-system-container .btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    background-color: #ff0202;
    color: white;
    border: none;
    margin: 5px;
}

.dj-voting-system-container .btn:hover {
    background-color: #e60202;
}

.dj-voting-system-container .btn:focus, 
.dj-voting-system-container .btn:active {
    outline: none;
    box-shadow: none;
}

.dj-voting-system-container .vote-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    font-size: 1.2em;
}

.dj-voting-system-container .approve-button::before {
    content: "✅"; /* Check mark emoji */
    margin-right: 5px;
}

.dj-voting-system-container .edit-button::before {
    margin-right: 5px;
}

.dj-voting-system-container .reject-button::before {
    content: "❌"; /* Cross mark emoji */
    margin-right: 5px;
}

.dj-voting-system-container .modal {
    display: none;
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    background: rgba(0, 0, 0, 0.5);
}

.dj-voting-system-container .modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    pointer-events: none;
    max-width: 500px;
}

.dj-voting-system-container .modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #1e1e1e;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
    color: white;
}

.dj-voting-system-container .modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #ff0202;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}

.dj-voting-system-container .modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.dj-voting-system-container .modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.dj-voting-system-container .modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #ff0202;
}

.dj-voting-system-container .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
    cursor: pointer;
    background: none;
    border: 0;
    color: white;
    font-size: 1.5rem;
}

.dj-voting-system-container .form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    background-color: #1e1e1e;
    color: white;
    border: 1px solid #ff0202;
}

.dj-voting-system-container .form-control:focus {
    border-color: #ff0202;
    box-shadow: none;
}
//*code cartes artistes 


/* Default: Hide the table on mobile devices in portrait mode */
@media only screen and (max-width: 767px) and (orientation: portrait) {
    table#pending-artist-table {
        display: none !important;
    }
}

/* Show the table when the device is in landscape mode on mobile */
@media only screen and (max-width: 767px) and (orientation: landscape) {
    table#pending-artist-table {
        display: table !important;
    }
}


/* Container for the artist cards */
.artist-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centers the cards */
    gap: 20px; /* Adds space between cards */
}

/* Artist Card Styles */
.artist-card {
    background-color: #1e1e1e;
    border: 2px solid #ff0202;
    border-radius: 10px;
    width: 100%;
    max-width: 300px;
    padding: 20px;
    text-align: center;
    position: relative;
}

/* Layout for two columns on larger screens */
@media (min-width: 768px) {
    .artist-card {
        flex: 0 1 calc(50% - 40px); /* Two columns, 50% width minus margin */
    }
}

/* Layout for one column on mobile */
@media (max-width: 767px) {
    .artist-card {
        flex: 1 1 100%; /* One column on smaller screens */
    }
}
* {-webkit-font-smoothing: antialiased !important;}

.artist-card {
margin-bottom: 20px;
}

.artist-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 10px;
    
}

.artist-card .ranking {
    font-size: 1.5em;
    color: white;
    font-weight: bold;
    font-family: 'Permanent Marker', cursive !important;
    -webkit-font-smoothing: antialiased !important; /* For smoother font rendering on iOS */
}

.artist-card .artist-name {
    font-size: 2em;
    font-family: 'Permanent Marker', cursive !important;
    -webkit-font-smoothing: antialiased !important; /* For smoother font rendering on iOS */

    color: #fff;
    margin-bottom: 10px;
}

.artist-card .music-style, .artist-card .artist-style {
    color: #aaaaaa;
    margin-bottom: 10px;
}

.artist-card .social-links {
    margin-bottom: 10px;
}

.artist-card .vote-button {
    background-color: #ff0202;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
}

.artist-card .total-votes {
    font-size: 1.2em;
    color: #ffffff;
    margin-bottom: 10px;
}

/* Admin specific buttons */
.artist-card .admin-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
}

.artist-card .admin-actions .edit-button,
.artist-card .admin-actions .delete-button {
    background-color: #ff0202;
    color: white;
    padding: 5px;
    border-radius: 5px;
}

.artist-card .admin-actions .edit-button:hover,
.artist-card .admin-actions .delete-button:hover {
    background-color: #e60202;
}

/* Social icon styles */
.artist-card .social-icon {
    margin: 0 10px;
    color: #ffffff;
}

.artist-card .social-icon i {
    font-size: 30px;
}

.artist-card .social-icon:hover i {
    color: #ff4500;
}
#landscape-warning {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    z-index: 9999;
    text-align: center;
    padding-top: 40vh;
    font-size: 24px;
}
.form-group {
    margin-bottom: 5px !important;
}

.music-artist-container {
    display: flex;
    justify-content: space-between;  /* Espacement entre les deux éléments */
    gap: 20px;  /* Espace entre les champs */
}

.music-artist-container .form-group {
    flex: 1;  /* Chaque champ prend une largeur égale */
}

.music-artist-container select, 
.music-artist-container input {
    width: 100%;  /* Assurez-vous que les champs prennent toute la largeur du conteneur */
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ff0202;
    background-color: #1e1e1e;  /* Couleur de fond sombre pour correspondre à votre thème */
    color: white;  /* Texte blanc */
}

