/**
 * Simple Minds Database - Frontend Styles
 * Styles pour l'affichage des concerts avec audio/vidéo
 */

/* ==========================================================================
   CONCERT HEADER
   ========================================================================== */

.concert-single-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.concert-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
}

/* ==========================================================================
   BOUTONS D'ACTION UTILISATEUR
   ========================================================================== */

.concert-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.smdb-attendance-button,
.smdb-review-button,
.smdb-request-button,
.smdb-login-button {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.smdb-attendance-button {
    background: #3498db;
    color: white;
}

.smdb-attendance-button.attended {
    background: #27ae60;
}

.smdb-attendance-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.smdb-review-button {
    background: #9b59b6;
    color: white;
}

.smdb-review-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.4);
}

.smdb-request-button {
    background: #e74c3c;
    color: white;
}

.smdb-request-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.smdb-login-button {
    background: #95a5a6;
    color: white;
}

.smdb-login-button:hover {
    background: #7f8c8d;
}

/* ==========================================================================
   REVIEWS SECTION
   ========================================================================== */

.concert-reviews-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.concert-reviews-section h2 {
    color: #2c3e50;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s;
}

.review-item:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.review-author strong {
    color: #2c3e50;
    font-size: 16px;
}

.review-date {
    color: #95a5a6;
    font-size: 13px;
    margin-left: 10px;
}

.review-rating {
    display: flex;
    gap: 2px;
}

.review-rating .star {
    font-size: 18px;
}

.review-rating .star.filled {
    opacity: 1;
}

.review-rating .star.empty {
    opacity: 0.3;
}

.review-content {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

/* ==========================================================================
   MODALS
   ========================================================================== */

.smdb-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.smdb-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.smdb-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.smdb-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px solid #e9ecef;
}

.smdb-modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 22px;
}

.smdb-modal-header .smdb-modal-close {
    background: #f8f9fa;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    color: #7f8c8d;
}

.smdb-modal-header .smdb-modal-close:hover {
    background: #e9ecef;
    transform: rotate(90deg);
}

/* Annuler les styles modal-close pour les vrais boutons */
button.smdb-button.smdb-modal-close {
    width: auto !important;
    height: auto !important;
    border-radius: 8px !important;
    font-size: 15px !important;
}

button.smdb-button.smdb-modal-close:hover {
    transform: none !important;
}

.smdb-review-form,
.smdb-request-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
    font-size: 32px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0.3;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    opacity: 1;
}

.request-info {
    background: #e8f4f8;
    border-left: 4px solid #3498db;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.request-info p {
    margin: 0 0 10px 0;
    color: #2c3e50;
}

.request-info ul {
    margin: 0;
    padding-left: 20px;
}

.request-info li {
    color: #555;
    line-height: 1.6;
    margin-bottom: 5px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* FORCE BRUTALE pour le bouton Cancel */
.form-actions .smdb-button-secondary,
.form-actions button.smdb-button-secondary,
.form-actions .smdb-modal-close.smdb-button,
.form-actions button[type="button"].smdb-button {
    width: auto !important;
    height: auto !important;
    min-width: 100px !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    background: #f8f9fa !important;
    color: #495057 !important;
    border: 2px solid #e9ecef !important;
}

.form-actions .smdb-button-secondary:hover,
.form-actions button.smdb-button-secondary:hover {
    background: #e9ecef !important;
    transform: none !important;
}

.smdb-button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.smdb-button-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.smdb-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.smdb-button-secondary {
    background: #f8f9fa;
    color: #495057;
    border: 2px solid #e9ecef;
}

.smdb-button-secondary:hover {
    background: #e9ecef;
}

/* ==========================================================================
   CONCERT HEADER (suite)
   ========================================================================== */

.concert-date {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.concert-venue {
    font-size: 36px;
    margin: 10px 0;
}

.concert-venue a {
    color: white;
    text-decoration: none;
}

.concert-venue a:hover {
    text-decoration: underline;
}

.concert-location {
    font-size: 20px;
    margin-bottom: 20px;
    opacity: 0.95;
}

.concert-tour {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    margin: 15px 0;
}

.concert-tour a {
    color: white;
    text-decoration: none;
}

.concert-meta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.concert-meta > span {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 14px;
}

.concert-status {
    font-weight: bold;
}

.concert-status.status-cancelled {
    background: #e74c3c !important;
}

.concert-status.status-postponed {
    background: #f39c12 !important;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.concert-nav {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 30px;
    position: sticky;
    top: 20px;
    z-index: 100;
}

.concert-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.concert-nav a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.concert-nav a:hover {
    color: #764ba2;
}

/* ==========================================================================
   SECTIONS COMMUNES
   ========================================================================== */

.concert-content > div {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.concert-content h2 {
    color: #2c3e50;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.verified-badge {
    background: #27ae60;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: normal;
}

/* ==========================================================================
   SETLIST
   ========================================================================== */

.setlist-songs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.setlist-song {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #ecf0f1;
    transition: background 0.2s;
}

.setlist-song:hover {
    background: #f8f9fa;
}

.song-number {
    color: #95a5a6;
    font-weight: bold;
    min-width: 30px;
    font-size: 18px;
}

.song-info {
    flex: 1;
}

.song-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.song-title:hover {
    color: #667eea;
}

.song-badges {
    display: flex;
    gap: 8px;
    margin: 8px 0;
    flex-wrap: wrap;
}

.badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.badge.premiere {
    background: #e74c3c;
    color: white;
}

.badge.rarity-rare {
    background: #f39c12;
    color: white;
}

.badge.rarity-very_rare {
    background: #e67e22;
    color: white;
}

.badge.rarity-unique {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.song-notes {
    color: #7f8c8d;
    font-style: italic;
    font-size: 14px;
}

.setlist-summary {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #ecf0f1;
    text-align: center;
    font-size: 18px;
    color: #7f8c8d;
}

/* ==========================================================================
   AUDIO SECTION
   ========================================================================== */

.audio-grid {
    display: grid;
    gap: 25px;
}

.audio-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s;
}

.audio-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.audio-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.audio-card-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 20px;
}

.quality-badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.quality-badge.quality-soundboard {
    background: #27ae60;
    color: white;
}

.quality-badge.quality-audience {
    background: #3498db;
    color: white;
}

.quality-badge.quality-fm_broadcast,
.quality-badge.quality-tv_broadcast {
    background: #e74c3c;
    color: white;
}

.quality-badge.quality-studio {
    background: #9b59b6;
    color: white;
}

.audio-card-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    font-size: 14px;
    color: #7f8c8d;
}

.audio-card-notes {
    background: white;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.audio-card-player {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.audio-player {
    width: 100%;
    height: 40px;
}

.download-button,
.external-link-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    justify-content: center;
}

.download-button:hover,
.external-link-button:hover {
    background: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.download-button .icon,
.external-link-button .icon {
    font-size: 18px;
}

.filesize {
    font-size: 12px;
    opacity: 0.8;
}

/* ==========================================================================
   VIDEO SECTION
   ========================================================================== */

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 25px;
}

.video-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-card-info {
    padding: 20px;
}

.video-card-info h3 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 18px;
}

.video-card-info p {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.video-external-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.video-external-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   BOOTLEGS SECTION
   ========================================================================== */

.bootlegs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.bootleg-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s;
}

.bootleg-card:hover {
    background: white;
    border-color: #667eea;
    transform: translateX(5px);
}

.bootleg-platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.platform-icon {
    font-size: 32px;
}

.platform-name {
    font-size: 11px;
    color: #7f8c8d;
    text-transform: uppercase;
    font-weight: 600;
}

.bootleg-title {
    flex: 1;
    font-weight: 600;
    font-size: 15px;
}

.bootleg-arrow {
    color: #667eea;
    font-size: 20px;
}

/* ==========================================================================
   PHOTOS SECTION
   ========================================================================== */

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.photo-item {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    padding-bottom: 100%; /* Square aspect ratio */
}

.photo-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.photo-item:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   MEMORABILIA SECTION
   ========================================================================== */

.concert-memorabilia-section h2 {
    margin-bottom: 30px;
}

.memorabilia-subsection {
    margin-bottom: 40px;
}

.memorabilia-subsection h3 {
    color: #667eea;
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

/* Tickets */
.tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.ticket-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s;
}

.ticket-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.ticket-image {
    position: relative;
    overflow: hidden;
    background: white;
}

.ticket-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.ticket-image:hover img {
    transform: scale(1.05);
}

.ticket-info {
    padding: 20px;
    color: white;
}

.ticket-badge {
    display: inline-block;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
}

.ticket-details {
    font-size: 14px;
}

.ticket-details .detail-item {
    margin: 8px 0;
    line-height: 1.6;
}

/* Affiches & Programmes */
.posters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.poster-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e9ecef;
    transition: all 0.3s;
}

.poster-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.poster-image {
    background: white;
    padding: 15px;
}

.poster-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s;
}

.poster-image:hover img {
    transform: scale(1.03);
}

.poster-info {
    padding: 20px;
}

.poster-type-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #667eea;
    color: white;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.poster-description {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
}

/* Passes */
.passes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.pass-card {
    background: #1a1a1a;
    color: white;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #ffd700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    transition: all 0.3s;
}

.pass-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.pass-image {
    background: white;
    padding: 15px;
}

.pass-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.pass-info {
    padding: 20px;
}

.pass-badge {
    display: inline-block;
    padding: 8px 15px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a1a;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.pass-notes {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Merchandising */
.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.merch-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e9ecef;
    transition: all 0.3s;
}

.merch-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.merch-image {
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
    background: #f8f9fa;
}

.merch-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.merch-image:hover img {
    transform: scale(1.1);
}

.merch-info {
    padding: 15px;
    text-align: center;
}

.merch-type-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

.merch-title {
    font-size: 16px;
    color: #2c3e50;
    margin: 10px 0;
    font-weight: 600;
}

.merch-price {
    color: #667eea;
    font-weight: 700;
    font-size: 18px;
    margin-top: 8px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .concert-header {
        padding: 30px 20px;
    }
    
    .concert-venue {
        font-size: 28px;
    }
    
    .concert-location {
        font-size: 18px;
    }
    
    .concert-nav ul {
        gap: 10px;
    }
    
    .video-grid,
    .bootlegs-grid {
        grid-template-columns: 1fr;
    }
    
    .audio-card-header {
        flex-direction: column;
    }
    
    .photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .concert-single-wrapper {
        padding: 10px;
    }
    
    .concert-content > div {
        padding: 20px;
    }
    
    .setlist-song {
        flex-direction: column;
        gap: 10px;
    }
}

/* ========================================
   FORMULAIRES UTILISATEURS
   ======================================== */

.smdb-user-form-wrapper {
    max-width: 500px;
    margin: 40px auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.smdb-login-form h2,
.smdb-register-form h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 10px;
}

.form-intro {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group small {
    display: block;
    color: #95a5a6;
    font-size: 12px;
    margin-top: 5px;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox label {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 400;
}

.smdb-submit-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.smdb-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.form-links {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e9ecef;
}

.form-links p {
    color: #7f8c8d;
    font-size: 14px;
    margin: 8px 0;
}

.form-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.form-links a:hover {
    color: #764ba2;
}

.smdb-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-weight: 500;
}

.smdb-message.success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.smdb-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.smdb-message a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

/* PAGE MON COMPTE */

.smdb-account-wrapper {
    max-width: 700px;
    margin: 40px auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.smdb-account-wrapper h2 {
    color: #2c3e50;
    margin-bottom: 30px;
}

.smdb-account-wrapper h3 {
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.account-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.info-row {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    color: #2c3e50;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row strong {
    display: inline-block;
    width: 150px;
    color: #7f8c8d;
}

.account-actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.logout-button {
    display: inline-block;
    padding: 12px 30px;
    background: #e9ecef;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.logout-button:hover {
    background: #dc3545;
    color: white;
}

.smdb-logout-button {
    display: inline-block;
    padding: 10px 20px;
    background: #dc3545;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.smdb-logout-button:hover {
    background: #c82333;
}

/* ========================================
   PAGES UTILISATEURS
   ======================================== */

.smdb-auth-wrapper {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.smdb-auth-box {
    background: white;
    max-width: 450px;
    width: 100%;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.smdb-auth-box h2 {
    text-align: center;
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 28px;
}

.auth-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin: 0 0 30px 0;
    font-size: 15px;
}

.smdb-auth-form .form-group {
    margin-bottom: 20px;
}

.smdb-auth-form label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 14px;
}

.smdb-auth-form input[type="text"],
.smdb-auth-form input[type="email"],
.smdb-auth-form input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.smdb-auth-form input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.smdb-auth-form small {
    display: block;
    color: #95a5a6;
    font-size: 12px;
    margin-top: 5px;
}

.form-group-checkbox {
    margin: 20px 0;
}

.form-group-checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 400;
    color: #2c3e50;
    font-size: 14px;
}

.auth-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.auth-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.auth-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.auth-links {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e9ecef;
    font-size: 14px;
}

.auth-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.auth-links a:hover {
    color: #764ba2;
}

.auth-links span {
    color: #bdc3c7;
    margin: 0 10px;
}

.smdb-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-weight: 500;
    font-size: 14px;
}

.smdb-message.success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.smdb-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

/* PAGE MON COMPTE */

.smdb-account-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #e9ecef;
}

.account-header h1 {
    margin: 0;
    color: #2c3e50;
}

.logout-btn {
    padding: 10px 20px;
    background: #dc3545;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.logout-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.account-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.smdb-account-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.smdb-account-form h3 {
    color: #2c3e50;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    font-size: 20px;
}

.smdb-account-form h3:first-child {
    margin-top: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .account-header {
        flex-direction: column;
        gap: 15px;
    }
}

.smdb-account-form .form-group {
    margin-bottom: 20px;
}

.smdb-account-form label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 14px;
}

.smdb-account-form input[type="text"],
.smdb-account-form input[type="email"],
.smdb-account-form input[type="password"],
.smdb-account-form input[type="date"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.smdb-account-form input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.smdb-account-form input:disabled {
    background: #f8f9fa;
    cursor: not-allowed;
}

.smdb-account-form small {
    display: block;
    color: #95a5a6;
    font-size: 12px;
    margin-top: 5px;
}

/* ========================================
   REVIEWS AVEC AVATARS
   ======================================== */

.review-author-info {
    display: flex;
    gap: 12px;
    align-items: center;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #667eea;
    object-fit: cover;
}

.review-author-details {
    display: flex;
    flex-direction: column;
}

.review-author-details strong {
    color: #2c3e50;
    font-size: 16px;
}

.review-author-details .review-date {
    color: #95a5a6;
    font-size: 13px;
}

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

.avatar-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.current-avatar {
    margin: 15px 0;
}

.current-avatar img {
    border-radius: 50%;
    border: 4px solid #667eea;
}

.avatar-info {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.6;
}

.avatar-info a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.avatar-info a:hover {
    color: #764ba2;
}

/* ========================================
   AMÉLIORATION LIENS CONNEXION/INSCRIPTION
   ======================================== */

.auth-links {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e9ecef;
    font-size: 15px;
}

.auth-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    padding: 5px 10px;
    border-radius: 5px;
}

.auth-links a:hover {
    background: #f0f3ff;
    color: #764ba2;
}

.auth-links span {
    color: #bdc3c7;
    margin: 0 10px;
}

/* Mettre en évidence le lien "Créer un compte" */
.auth-links a[href*="inscription"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 10px;
}

.auth-links a[href*="inscription"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* ========================================
   TEMPLATE ARCHIVE CONCERTS
   ======================================== */

.concerts-archive-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: white;
    min-height: 100vh;
}

.archive-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 3px solid #667eea;
}

.archive-header h1 {
    color: #2c3e50;
    font-size: 42px;
    margin: 0 0 15px 0;
}

.archive-description {
    color: #7f8c8d;
    font-size: 18px;
}

.concerts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.concert-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #667eea;
}

.concert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border-left-color: #764ba2;
}

.concert-date {
    font-weight: 700;
    font-size: 18px;
    color: #667eea;
    margin-bottom: 12px;
}

.concert-venue-name {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.concert-location {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 8px;
}

.concert-tour {
    color: #95a5a6;
    font-size: 13px;
    font-style: italic;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
}

.concerts-pagination {
    text-align: center;
    margin-top: 40px;
}

.concerts-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid #667eea;
    transition: all 0.3s;
}

.concerts-pagination .page-numbers:hover,
.concerts-pagination .page-numbers.current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

@media (max-width: 768px) {
    .concerts-grid {
        grid-template-columns: 1fr;
    }
    
    .archive-header h1 {
        font-size: 32px;
    }
}

/* ========================================
   PAGE CONCERTS - FOND BLANC COMPLET v7.3
   ======================================== */

/* Force blanc sur TOUTE la page (body, html, wrappers) */
html.post-type-archive-concerts,
body.post-type-archive-concerts,
body.post-type-archive-concerts .site,
body.post-type-archive-concerts #page,
body.post-type-archive-concerts .ast-separate-container,
body.post-type-archive-concerts #primary,
body.post-type-archive-concerts .site-content,
body.post-type-archive-concerts main {
    background: white !important;
    background-color: white !important;
}

/* Version indicator */
.smdb-version {
    text-align: center;
    padding: 10px;
    color: #95a5a6;
    font-size: 11px;
    margin-top: 20px;
    background: white !important;
}

/* ========================================
   PAGE SINGLE CONCERT - FOND BLANC COMPLET
   ======================================== */

/* Force fond blanc sur toute la page single concert */
body.single-concerts,
body.single-concerts .site,
body.single-concerts #page {
    background: white !important;
}

/* Header concert en blanc au lieu du gradient */
body.single-concerts .concert-header {
    background: white !important;
    color: #2c3e50 !important;
    border: 2px solid #667eea !important;
}

body.single-concerts .concert-header a {
    color: #667eea !important;
}
