/* =============================================================================
   ESPACE PRESSE - Frontend
   ============================================================================= */

.mhb-press {
    padding: 60px 0;
    background: var(--mhb-bg-dark, #001025);
    color: var(--mhb-text-white, #fff);
}

/* === Sections === */
.mhb-press__section {
    max-width: 1000px;
    margin: 0 auto 60px;
}

.mhb-press__empty {
    text-align: center;
    color: var(--mhb-text-gray, #a0aec0);
    font-size: 1.1rem;
    padding: 40px 20px;
}

/* =============================================================================
   EN ATTENTE DE VALIDATION
   ============================================================================= */

.mhb-press__pending {
    text-align: center;
    padding: 60px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--mhb-radius-md, 16px);
}

.mhb-press__pending svg {
    color: var(--mhb-accent, #E95323);
    margin-bottom: 20px;
    opacity: 0.8;
}

.mhb-press__pending h2 {
    color: var(--mhb-text-white, #fff);
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.mhb-press__pending p {
    color: var(--mhb-text-gray, #a0aec0);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.mhb-press__pending-note {
    margin-top: 20px !important;
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-style: italic;
}

/* =============================================================================
   MATCHS / ACCRÉDITATIONS
   ============================================================================= */

.mhb-press__matchs {
    background: #fff;
    border-radius: var(--mhb-radius-md, 16px);
    overflow: hidden;
    box-shadow: var(--mhb-shadow-md, 0 8px 32px rgba(0, 0, 0, 0.18));
}

.mhb-press__match {
    display: grid;
    grid-template-columns: 2fr 3fr 1.5fr 1.5fr;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.mhb-press__match:last-child {
    border-bottom: none;
}

.mhb-press__match:hover {
    background: #f9f9f9;
}

.mhb-press__match-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mhb-press__match-competition {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.mhb-press__match-date {
    color: #666;
    font-size: 0.9rem;
    text-transform: capitalize;
}

.mhb-press__match-hour {
    color: #999;
    font-size: 0.85rem;
}

.mhb-press__match-teams {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mhb-press__match-team {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mhb-press__match-team img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.mhb-press__match-team span {
    font-weight: 500;
    color: #333;
}

.mhb-press__match-vs {
    color: #999;
    font-weight: 300;
}

.mhb-press__match-day {
    color: #666;
    font-size: 0.9rem;
}

.mhb-press__match-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Boutons accréditation */
.mhb-press__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: var(--mhb-radius-sm, 8px);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--mhb-transition-base, 0.3s ease);
    font-size: 0.9rem;
    white-space: nowrap;
    font-family: var(--mhb-font-primary, 'DM Sans', sans-serif);
}

.mhb-press__btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.mhb-press__btn--request {
    background: var(--mhb-accent, #E95323);
    color: #fff;
}

.mhb-press__btn--request:hover {
    background: var(--mhb-accent-hover, #e55a2b);
}

.mhb-press__btn--remove {
    background: #dc3545;
    color: #fff;
}

.mhb-press__btn--remove:hover {
    background: #c82333;
}

.mhb-press__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =============================================================================
   DOCUMENTS
   ============================================================================= */

.mhb-press__docs-category {
    margin-bottom: 50px;
}

.mhb-press__docs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mhb-press__doc {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    background: #fff;
    border-radius: var(--mhb-radius-sm, 8px);
    box-shadow: var(--mhb-shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.1));
    transition: all var(--mhb-transition-base, 0.3s ease);
}

.mhb-press__doc:hover {
    transform: translateY(-2px);
    box-shadow: var(--mhb-shadow-md, 0 8px 32px rgba(0, 0, 0, 0.18));
}

.mhb-press__doc-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--mhb-radius-sm, 8px);
    background: #f5f5f5;
}

.mhb-press__doc-icon--pdf {
    background: #fef2f2;
    color: #dc2626;
}

.mhb-press__doc-icon--image {
    background: #f0fdf4;
    color: #16a34a;
}

.mhb-press__doc-info {
    flex: 1;
    min-width: 0;
}

.mhb-press__doc-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: normal;
}

.mhb-press__doc-description {
    margin: 0 0 10px;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.55;
}

.mhb-press__doc-description p {
    margin: 0 0 4px;
}

.mhb-press__doc-description p:last-child {
    margin-bottom: 0;
}

.mhb-press__doc-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: #666;
}

.mhb-press__doc-meta span+span::before {
    content: '•';
    margin-right: 8px;
    color: #ccc;
}

.mhb-press__doc-format {
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.mhb-press__doc-download {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--mhb-accent, #E95323);
    color: #fff;
    text-decoration: none;
    border-radius: var(--mhb-radius-sm, 8px);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--mhb-transition-base, 0.3s ease);
}

.mhb-press__doc-download:hover {
    background: var(--mhb-accent-hover, #e55a2b);
    color: #fff;
    text-decoration: none;
}

.mhb-press__doc-download svg {
    width: 18px;
    height: 18px;
}

.mhb-recruitments__intro {
    max-width: 760px;
    margin-bottom: 32px;
}

.mhb-recruitments__intro p {
    margin: 12px 0 0;
    color: var(--mhb-text-gray, #a0aec0);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* =============================================================================
   DÉCONNEXION
   ============================================================================= */

.mhb-press__logout {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mhb-press__logout-btn {
    display: inline-block;
    padding: 10px 25px;
    background: transparent;
    color: #dc3545;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid #dc3545;
    transition: all var(--mhb-transition-base, 0.3s ease);
    font-size: 0.9rem;
}

.mhb-press__logout-btn:hover {
    background: #dc3545;
    color: #fff;
    text-decoration: none;
}

/* =============================================================================
   TOAST NOTIFICATION
   ============================================================================= */

.mhb-press-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 14px 28px;
    border-radius: var(--mhb-radius-sm, 8px);
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    max-width: 90%;
    text-align: center;
}

.mhb-press-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.mhb-press-toast--success {
    background: #28a745;
    color: #fff;
}

.mhb-press-toast--error {
    background: #dc3545;
    color: #fff;
}

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

@media (max-width: 1024px) {
    .mhb-press__match {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .mhb-press__match-action {
        justify-content: flex-start;
    }

    .mhb-press__btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .mhb-press {
        padding: 40px 0;
    }

    .mhb-press__doc {
        flex-wrap: wrap;
        padding: 15px 20px;
    }

    .mhb-press__doc-info {
        flex: 1 1 calc(100% - 70px);
    }

    .mhb-press__doc-name {
        font-size: 1rem;
    }

    .mhb-press__doc-meta {
        flex-wrap: wrap;
        gap: 8px;
    }

    .mhb-press__doc-download {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .mhb-press__doc-icon {
        width: 40px;
        height: 40px;
    }

    .mhb-press__doc-icon svg {
        width: 22px;
        height: 22px;
    }
}
