/* Event Detail - Page de détail d'événement */

.event-detail-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 40px;
}

.event-header {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 30px;
}

.event-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.event-content {
    padding: 40px;
}

.event-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    font-style: italic;
    margin: 0 0 10px 0;
}

.event-sport {
    display: inline-block;
    background: #6b29ff;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.event-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.info-item {
    background: rgba(255, 255, 255, 0.04);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.info-value {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.event-description {
    background: rgba(255, 255, 255, 0.04);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin: 30px 0;
}

.event-description h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.event-description p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

.event-actions {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.btn-action {
    flex: 1;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-family: "industry", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

.btn-join {
    background: #6b29ff;
    color: #fff;
}

.btn-join:hover {
    background: #844aff;
    box-shadow: 0 0 20px rgba(107, 41, 255, 0.6);
}

.btn-join:disabled {
    background: rgba(107, 41, 255, 0.3);
    cursor: not-allowed;
}

.btn-edit {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-edit:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-back {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.1);
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
}

.badge-available {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.5);
    color: #5fff5f;
}

.badge-full {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.5);
    color: #ff6b6b;
}

.participants-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin-top: 12px;
}

.participants-fill {
    height: 100%;
    background: linear-gradient(90deg, #6b29ff, #844aff);
    border-radius: 6px;
    transition: width 0.3s ease;
}