/**
 * Frontend CSS - Proposition de Courses
 * Couleur principale : #164c65
 */

/* ==================== VARIABLES CSS ==================== */
:root {
    --pc-primary: #164c65;
    --pc-primary-dark: #0f3a4d;
    --pc-primary-light: #1e6080;
    --pc-primary-lighter: #e8f1f5;
    --pc-secondary: #1e6080;
    --pc-success: #28a745;
    --pc-danger: #dc3545;
    --pc-warning: #ffc107;
    --pc-info: #17a2b8;
    --pc-light: #f8f9fa;
    --pc-dark: #343a40;
    --pc-border: #dee2e6;
    --pc-shadow: rgba(22, 76, 101, 0.1);
    --pc-shadow-hover: rgba(22, 76, 101, 0.2);
}

/* ==================== CONTENEUR PRINCIPAL ==================== */
.pc-frontend-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ==================== EN-TÊTE ==================== */
.pc-frontend-header {
    background: linear-gradient(135deg, #164c65 0%, #1e6080 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px var(--pc-shadow);
}

.pc-frontend-header h2 {
    margin: 0 0 20px 0;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
}

/* ==================== FILTRES ==================== */
.pc-filter-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.pc-filter-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.pc-filter-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.pc-filter-btn.active {
    background: white;
    color: #164c65;
    border-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==================== SECTION D'AJOUT ==================== */
.pc-add-section {
    text-align: center;
    margin-bottom: 30px;
}

.pc-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--pc-shadow);
}

.pc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--pc-shadow-hover);
}

.pc-btn-primary {
    background: #164c65;
    color: white;
}

.pc-btn-primary:hover {
    background: #0f3a4d;
}

.pc-btn-secondary {
    background: #6c757d;
    color: white;
}

.pc-btn-secondary:hover {
    background: #5a6268;
}

/* ==================== LISTE DES ÉVÉNEMENTS ==================== */
.pc-events-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .pc-events-list {
        grid-template-columns: 1fr;
    }
}

/* ==================== CARTE ÉVÉNEMENT ==================== */
.pc-event-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px var(--pc-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--pc-border);
}

.pc-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--pc-shadow-hover);
}

.pc-event-header {
    padding: 20px;
    background: linear-gradient(135deg, #e8f1f5 0%, #f0f7fa 100%);
    border-bottom: 3px solid #164c65;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.pc-event-title-section {
    flex: 1;
}

.pc-event-type-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pc-event-type-badge.type-course {
    background: #164c65;
    color: white;
}

.pc-event-type-badge.type-evenement {
    background: #1e6080;
    color: white;
}

.pc-event-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #0f3a4d;
    line-height: 1.3;
}

.pc-event-actions {
    display: flex;
    gap: 8px;
}

.pc-btn-icon {
    background: white;
    border: 2px solid var(--pc-border);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.pc-btn-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px var(--pc-shadow);
}

.pc-edit-event:hover {
    background: #e8f1f5;
    border-color: #164c65;
}

.pc-delete-event:hover {
    background: #ffe5e5;
    border-color: var(--pc-danger);
}

/* ==================== CORPS DE LA CARTE ==================== */
.pc-event-body {
    padding: 20px;
}

.pc-event-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.pc-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #495057;
}

.pc-info-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.pc-location-link {
    color: #164c65;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pc-location-link:hover {
    color: #0f3a4d;
    text-decoration: underline;
}

.pc-event-description {
    background: var(--pc-light);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #495057;
    border-left: 4px solid #164c65;
}

.pc-event-registration {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left: 4px solid #28a745;
    padding: 12px 15px;
    border-radius: 6px;
    margin: 15px 0;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.15);
}

.pc-event-registration .pc-info-icon {
    filter: hue-rotate(90deg) brightness(1.2);
}

.pc-event-registration strong {
    color: #155724;
}

.pc-event-link {
    margin-top: 15px;
}

.pc-external-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #164c65;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 16px;
    background: #e8f1f5;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pc-external-link:hover {
    background: #164c65;
    color: white;
    transform: translateX(5px);
}

/* ==================== PIED DE LA CARTE ==================== */
.pc-event-footer {
    padding: 15px 20px;
    background: var(--pc-light);
    border-top: 1px solid var(--pc-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.pc-event-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 13px;
    color: #6c757d;
}

.pc-author {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pc-author-icon {
    font-size: 16px;
}

.pc-date {
    font-size: 12px;
    color: #adb5bd;
}

/* ==================== SECTION DE VOTE ==================== */
.pc-vote-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pc-vote-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 2px solid var(--pc-border);
    padding: 10px 18px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #495057;
}

.pc-vote-btn:hover {
    border-color: #164c65;
    background: #e8f1f5;
    transform: scale(1.05);
}

.pc-vote-btn.voted {
    background: #164c65;
    border-color: #164c65;
    color: white;
}

.pc-vote-btn.voted:hover {
    background: #0f3a4d;
    border-color: #0f3a4d;
}

.pc-vote-icon {
    font-size: 20px;
}

.pc-vote-count {
    font-weight: 700;
}

@keyframes vote-success {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.pc-vote-success {
    animation: vote-success 0.6s ease;
}

.pc-voters-btn {
    background: #e8f1f5;
    border: 2px solid #164c65;
    color: #0f3a4d;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pc-voters-btn:hover {
    background: #164c65;
    color: white;
    transform: translateY(-2px);
}

/* ==================== MODAL ==================== */
.pc-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(22, 76, 101, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pc-modal-content {
    background-color: white;
    margin: 3% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(22, 76, 101, 0.3);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.pc-modal-content h3 {
    background: linear-gradient(135deg, #164c65 0%, #1e6080 100%);
    color: white;
    padding: 25px 30px;
    margin: 0;
    border-radius: 16px 16px 0 0;
    font-size: 24px;
    font-weight: 700;
}

.pc-modal-close {
    color: white;
    float: right;
    font-size: 32px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    opacity: 0.8;
}

.pc-modal-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.pc-modal-small .pc-modal-content {
    max-width: 500px;
}

/* ==================== FORMULAIRE ==================== */
#pc-event-form {
    padding: 30px;
}

.pc-form-group {
    margin-bottom: 25px;
}

.pc-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #0f3a4d;
    font-size: 15px;
}

.pc-form-group input[type="text"],
.pc-form-group input[type="url"],
.pc-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--pc-border);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.pc-form-group input:focus,
.pc-form-group textarea:focus {
    outline: none;
    border-color: #164c65;
    box-shadow: 0 0 0 3px #e8f1f5;
}

.pc-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ==================== RADIO BUTTONS ==================== */
.pc-radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.pc-radio-label {
    position: relative;
    cursor: pointer;
}

.pc-radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.pc-radio-custom {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid var(--pc-border);
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
    font-weight: 600;
}

.pc-radio-label input[type="radio"]:checked + .pc-radio-custom {
    background: #164c65;
    color: white;
    border-color: #164c65;
    box-shadow: 0 4px 12px var(--pc-shadow-hover);
}

.pc-radio-label:hover .pc-radio-custom {
    border-color: #164c65;
    background: #e8f1f5;
}

/* ==================== RECHERCHE DE LIEU ==================== */
.pc-location-input-wrapper {
    position: relative;
}

.pc-suggestions-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #164c65;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 8px 20px var(--pc-shadow-hover);
}

.pc-suggestions-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pc-suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--pc-border);
}

.pc-suggestion-item:last-child {
    border-bottom: none;
}

.pc-suggestion-item:hover {
    background: #e8f1f5;
    color: #0f3a4d;
}

.pc-suggestion-icon {
    font-size: 18px;
}

.pc-suggestion-loading,
.pc-suggestion-error,
.pc-suggestion-empty {
    padding: 15px;
    text-align: center;
    color: #6c757d;
}

.pc-suggestion-error {
    color: var(--pc-danger);
}

.pc-input-success {
    border-color: var(--pc-success) !important;
    animation: pulse-success 0.6s ease;
}

@keyframes pulse-success {
    0%, 100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
    50% { box-shadow: 0 0 0 6px rgba(40, 167, 69, 0.3); }
}

#pc-location-map-link {
    margin-top: 10px;
}

.pc-map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #164c65;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    background: #e8f1f5;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pc-map-link:hover {
    background: #164c65;
    color: white;
}

/* ==================== FORM ROW ==================== */
.pc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .pc-form-row {
        grid-template-columns: 1fr;
    }
}

/* ==================== ACTIONS DU FORMULAIRE ==================== */
.pc-form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--pc-border);
}

/* ==================== LISTE DES VOTANTS ==================== */
.pc-voters-list {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.pc-voter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--pc-border);
    transition: all 0.2s ease;
}

.pc-voter-item:last-child {
    border-bottom: none;
}

.pc-voter-item:hover {
    background: #e8f1f5;
}

.pc-voter-name {
    font-weight: 600;
    color: #0f3a4d;
}

.pc-voter-date {
    font-size: 13px;
    color: #6c757d;
}

.pc-no-voters {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

/* ==================== MESSAGES ==================== */
.pc-loading {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #164c65;
    font-weight: 600;
}

.pc-loading::before {
    content: "⏳ ";
    font-size: 24px;
}

.pc-error {
    background: #f8d7da;
    color: #721c24;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--pc-danger);
    margin: 20px 0;
}

.pc-no-events {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px var(--pc-shadow);
}

.pc-no-events-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.pc-no-events h3 {
    color: #0f3a4d;
    font-size: 24px;
    margin-bottom: 10px;
}

.pc-no-events p {
    color: #6c757d;
    font-size: 16px;
}

/* ==================== NOTIFICATIONS ==================== */
.pc-notification {
    position: fixed;
    top: -100px;
    right: 20px;
    background: white;
    padding: 18px 24px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 500px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.pc-notification-show {
    top: 20px;
}

.pc-notification-success {
    border-left: 5px solid var(--pc-success);
}

.pc-notification-error {
    border-left: 5px solid var(--pc-danger);
}

.pc-notification-icon {
    font-size: 24px;
}

.pc-notification-message {
    flex: 1;
    font-weight: 600;
    color: var(--pc-dark);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .pc-frontend-wrapper {
        padding: 15px;
    }
    
    .pc-frontend-header {
        padding: 20px;
    }
    
    .pc-frontend-header h2 {
        font-size: 22px;
    }
    
    .pc-event-card {
        margin-bottom: 20px;
    }
    
    .pc-event-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pc-vote-section {
        width: 100%;
        justify-content: space-between;
    }
    
    .pc-modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    #pc-event-form {
        padding: 20px;
    }
    
    .pc-notification {
        right: 10px;
        left: 10px;
        min-width: auto;
    }
    
    .pc-notification-show {
        top: 10px;
    }
}

/* ==================== SCROLLBAR PERSONNALISÉE ==================== */
.pc-modal-content::-webkit-scrollbar,
.pc-suggestions-list::-webkit-scrollbar {
    width: 8px;
}

.pc-modal-content::-webkit-scrollbar-track,
.pc-suggestions-list::-webkit-scrollbar-track {
    background: var(--pc-light);
}

.pc-modal-content::-webkit-scrollbar-thumb,
.pc-suggestions-list::-webkit-scrollbar-thumb {
    background: #164c65;
    border-radius: 4px;
}

.pc-modal-content::-webkit-scrollbar-thumb:hover,
.pc-suggestions-list::-webkit-scrollbar-thumb:hover {
    background: #0f3a4d;
}

/* ==================== ANIMATIONS ==================== */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pc-event-card {
    animation: slideIn 0.4s ease;
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .pc-frontend-header,
    .pc-add-section,
    .pc-event-actions,
    .pc-vote-section,
    .pc-modal {
        display: none !important;
    }
    
    .pc-event-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
}

/* ==================== CHECKBOX GROUPE ==================== */
.pc-checkbox-group {
    margin-top: 15px;
}

.pc-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pc-checkbox-label:hover {
    border-color: #00b894;
    background-color: #f0fdf4;
}

.pc-checkbox-label input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 3px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #00b894;
}

.pc-checkbox-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pc-checkbox-icon {
    margin-right: 8px;
    font-size: 1.1em;
}

.pc-checkbox-text strong {
    color: #2d3436;
    font-size: 1em;
}

.pc-checkbox-text small {
    color: #636e72;
    font-size: 0.85em;
}

/* Badge "Complet" dans les cartes */
.pc-event-full-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    animation: pulse-full 2s infinite;
}

@keyframes pulse-full {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.5);
    }
}

/* ==================== MODAL DE VALIDATION ==================== */
.pc-validation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(22, 76, 101, 0.85);
    backdrop-filter: blur(8px);
    z-index: 100000;
    align-items: center;
    justify-content: center;
    animation: pc-fade-in 0.3s ease;
}

.pc-validation-modal.active {
    display: flex !important;
}

@keyframes pc-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pc-validation-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: pc-slide-up 0.3s ease;
    overflow: hidden;
}

@keyframes pc-slide-up {
    from {
        transform: translateY(50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.pc-validation-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 25px 30px;
    text-align: center;
}

.pc-validation-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.pc-validation-body {
    padding: 30px;
}

.pc-validation-body p {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #2c3e50;
    font-weight: 600;
}

.pc-validation-errors {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pc-validation-errors li {
    padding: 12px 15px;
    margin-bottom: 10px;
    background: #fff5f5;
    border-left: 4px solid #ff6b6b;
    border-radius: 6px;
    color: #721c24;
    font-size: 15px;
    animation: pc-error-slide 0.3s ease;
}

@keyframes pc-error-slide {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.pc-validation-errors li:nth-child(2) { animation-delay: 0.1s; }
.pc-validation-errors li:nth-child(3) { animation-delay: 0.2s; }
.pc-validation-errors li:nth-child(4) { animation-delay: 0.3s; }

.pc-validation-footer {
    padding: 20px 30px;
    background: #f8f9fa;
    text-align: center;
    border-top: 1px solid #dee2e6;
}

.pc-validation-close {
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pc-validation-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 76, 101, 0.3);
}

@media (max-width: 768px) {
    .pc-validation-modal-content {
        width: 95%;
        max-width: 95%;
    }
    
    .pc-validation-header {
        padding: 20px;
    }
    
    .pc-validation-header h3 {
        font-size: 18px;
    }
    
    .pc-validation-body {
        padding: 20px;
    }
    
    .pc-validation-errors li {
        font-size: 14px;
        padding: 10px 12px;
    }
}

/* ==================== BADGE CALENDRIER CLUB ==================== */
.pc-calendar-badge-container {
    padding: 0 20px 20px 20px;
}

.pc-calendar-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
    animation: badge-appear 0.5s ease;
}

@keyframes badge-appear {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pc-calendar-icon {
    font-size: 24px;
    animation: icon-pulse 2s infinite;
}

@keyframes icon-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.pc-calendar-text {
    font-size: 15px;
    font-weight: 700;
    color: #155724;
    text-align: center;
}

@media (max-width: 768px) {
    .pc-calendar-badge {
        flex-direction: column;
        gap: 8px;
        padding: 12px 15px;
    }
    
    .pc-calendar-text {
        font-size: 13px;
    }
}