/* ==============================================
   Matches Module - Modern Design
   ============================================== */

/* Page Layout */
.matches-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl);
}

/* Header */
.matches-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-xl);
    gap: var(--spacing-lg);
}

.matches-header-left {
    flex: 1;
}

.matches-title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
}

[data-theme="dark"] .matches-title {
    color: #f9fafb;
}

.matches-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

[data-theme="dark"] .matches-subtitle {
    color: #9ca3af;
}

/* Tabs */
.matches-tabs {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    padding: 4px;
    background: #f3f4f6;
    border-radius: 12px;
    width: fit-content;
}

[data-theme="dark"] .matches-tabs {
    background: #1e293b;
}

.matches-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

[data-theme="dark"] .matches-tab {
    color: #9ca3af;
}

.matches-tab svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.matches-tab:hover {
    color: #374151;
}

[data-theme="dark"] .matches-tab:hover {
    color: #e5e7eb;
}

.matches-tab.active {
    background: #ffffff;
    color: #111827;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .matches-tab.active {
    background: #334155;
    color: #f9fafb;
}

.tab-count {
    background: #e5e7eb;
    color: #374151;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}

[data-theme="dark"] .tab-count {
    background: #475569;
    color: #e5e7eb;
}

.matches-tab.active .tab-count {
    background: var(--color-primary);
    color: white;
}

/* Content */
.matches-content {
    min-height: 300px;
}

/* Timeline */
.matches-timeline {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

/* Day Group */
.matches-day-group {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

[data-theme="dark"] .matches-day-group {
    background: #1e293b;
    border-color: #334155;
}

.matches-day-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

[data-theme="dark"] .matches-day-header {
    background: linear-gradient(135deg, #1e3a5f, #172554);
}

.day-date {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.day-name {
    font-size: 16px;
    font-weight: 700;
    color: white;
    text-transform: capitalize;
}

.day-full {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.day-count {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
}

/* Match List */
.matches-day-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 16px;
    padding: 16px;
}

/* Match Card */
.match-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
    transition: all 0.2s;
}

[data-theme="dark"] .match-card {
    background: #0f172a;
    border-color: #334155;
}

.match-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

[data-theme="dark"] .match-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.match-card.match-past {
    opacity: 0.6;
}

/* Card Top */
.match-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.match-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(59, 130, 246, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
}

.match-time svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.match-competition {
    font-size: 11px;
    font-weight: 600;
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

[data-theme="dark"] .match-competition {
    color: #a78bfa;
    background: rgba(124, 58, 237, 0.2);
}

.match-priority {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    margin-left: auto;
}

/* Teams Section */
.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 12px 0;
}

.match-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    text-align: center;
}

.team-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.team-name {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[data-theme="dark"] .team-name {
    color: #f1f5f9;
}

.match-vs {
    flex-shrink: 0;
    padding: 0 16px;
}

.match-vs span {
    font-size: 14px;
    font-weight: 700;
    color: #9ca3af;
}

.match-score {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    background: #f3f4f6;
    padding: 6px 14px;
    border-radius: 8px;
}

[data-theme="dark"] .match-score {
    color: #f1f5f9;
    background: #334155;
}

/* Match Info */
.match-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.match-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
    background: #f9fafb;
    padding: 6px 10px;
    border-radius: 6px;
}

[data-theme="dark"] .match-info-item {
    color: #9ca3af;
    background: #1e293b;
}

.match-info-item svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

.match-info-item.scout {
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
}

[data-theme="dark"] .match-info-item.scout {
    color: #34d399;
    background: rgba(52, 211, 153, 0.15);
}

.match-info-item.no-scout {
    color: #9ca3af;
    font-style: italic;
}

/* Players & Notes */
.match-players,
.match-notes {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #6b7280;
    padding: 10px 12px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 12px;
    line-height: 1.4;
}

[data-theme="dark"] .match-players,
[data-theme="dark"] .match-notes {
    color: #9ca3af;
    background: #1e293b;
}

.match-players svg,
.match-notes svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
    margin-top: 2px;
}

.match-players {
    color: var(--color-primary);
}

.match-players svg {
    stroke: var(--color-primary);
}

/* Actions */
.match-actions {
    display: flex;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

[data-theme="dark"] .match-actions {
    border-top-color: #334155;
}

.match-actions .btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.match-actions .btn-sm svg {
    width: 14px;
    height: 14px;
}

.match-actions .btn-success {
    background: #10b981;
    color: white;
    border: none;
}

.match-actions .btn-success:hover {
    background: #059669;
}

.match-actions .btn-danger {
    color: #ef4444;
}

.match-actions .btn-danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* Form Styles */
.match-form .form-section {
    margin-bottom: var(--spacing-lg);
}

.match-form .form-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    margin: 0 0 var(--spacing-md) 0;
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid #e5e7eb;
}

[data-theme="dark"] .match-form .form-section-title {
    color: #9ca3af;
    border-bottom-color: #334155;
}

/* Watched Form */
.watched-form-header {
    text-align: center;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 12px;
    margin-bottom: var(--spacing-lg);
}

.watched-match-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 8px;
}

.watched-match-preview .team {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.watched-match-preview .vs {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.watched-match-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

/* Score Row */
.score-row {
    display: flex;
    align-items: flex-end;
    gap: var(--spacing-md);
}

.score-group {
    flex: 1;
    text-align: center;
}

.score-input {
    text-align: center;
    font-size: 24px !important;
    font-weight: 700 !important;
    padding: 12px !important;
}

.score-separator {
    font-size: 28px;
    font-weight: 700;
    color: #9ca3af;
    padding-bottom: 8px;
}

/* Empty State */
.matches-content .empty-state {
    padding: 60px 20px;
}

.matches-content .empty-state svg {
    width: 64px;
    height: 64px;
    stroke: #9ca3af;
    fill: none;
    stroke-width: 1.5;
    margin-bottom: var(--spacing-md);
}

.matches-content .empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 8px 0;
}

[data-theme="dark"] .matches-content .empty-state h3 {
    color: #e5e7eb;
}

.matches-content .empty-state p {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 var(--spacing-lg) 0;
}

[data-theme="dark"] .matches-content .empty-state p {
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
    .matches-page {
        padding: var(--spacing-md);
    }

    .matches-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .matches-title {
        font-size: 22px;
    }

    .matches-tabs {
        width: 100%;
    }

    .matches-tab {
        flex: 1;
        justify-content: center;
        padding: 10px;
    }

    .matches-tab span:not(.tab-count) {
        display: none;
    }

    .matches-day-list {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .match-teams {
        flex-direction: column;
        gap: 12px;
    }

    .match-vs {
        padding: 8px 0;
    }

    .match-team {
        flex-direction: row;
        gap: 12px;
    }

    .team-badge {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* ==============================================
   Calendar View
   ============================================== */

.matches-toolbar {
    margin-bottom: var(--spacing-lg);
}

.matches-calendar {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    overflow: hidden;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

[data-theme="dark"] .calendar-header {
    background: linear-gradient(135deg, #1e3a5f, #172554);
}

.calendar-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    min-width: 200px;
    text-align: center;
}

.calendar-header .btn {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.calendar-header .btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

.calendar-header .btn svg {
    stroke: white;
}

.calendar-grid {
    padding: var(--spacing-md);
}

.calendar-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: var(--spacing-sm);
}

.calendar-day-name {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: var(--spacing-sm);
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    min-height: 100px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    border: 1px solid var(--border);
    transition: all 0.2s;
    cursor: default;
}

.calendar-day.empty {
    background: transparent;
    border: none;
}

.calendar-day.has-matches {
    cursor: pointer;
}

.calendar-day.has-matches:hover {
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.calendar-day.today {
    border-color: var(--color-primary);
    background: rgba(59, 130, 246, 0.05);
}

.calendar-day.today .day-number {
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-day.past {
    opacity: 0.6;
}

.day-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.day-matches {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.day-match {
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.day-match.scheduled {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.day-match.past {
    background: rgba(156, 163, 175, 0.15);
    color: #6b7280;
}

.day-match.watched {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.day-match-more {
    font-size: 10px;
    color: var(--text-secondary);
    text-align: center;
    padding: 2px;
}

.match-teams-mini {
    font-weight: 600;
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-md);
    border-top: 1px solid var(--border);
    background: var(--bg-primary);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 12px;
    color: var(--text-secondary);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-dot.scheduled {
    background: #3b82f6;
}

.legend-dot.past {
    background: #9ca3af;
}

.legend-dot.watched {
    background: #10b981;
}

/* Day Matches Panel */
.day-matches-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.day-match-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
}

.day-match-card.watched {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.match-time-badge {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: var(--spacing-sm);
}

.match-teams-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.team-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex: 1;
}

.team-info:last-child {
    flex-direction: row-reverse;
    text-align: right;
}

.team-badge-sm {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.match-vs-sm {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.match-vs-sm .score {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.match-competition-sm {
    font-size: 11px;
    color: #7c3aed;
    text-align: center;
    padding: 4px 8px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 4px;
    display: inline-block;
}

.match-watched-badge {
    display: inline-block;
    background: #10b981;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-top: var(--spacing-sm);
}

/* Calendar Mobile */
@media (max-width: 768px) {
    .calendar-day {
        min-height: 60px;
        padding: 4px;
    }

    .calendar-day-name {
        font-size: 10px;
        padding: 4px;
    }

    .day-number {
        font-size: 12px;
    }

    .day-match {
        font-size: 8px;
        padding: 2px 4px;
    }

    .match-teams-mini {
        display: none;
    }

    .day-match::before {
        content: '';
        display: block;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        margin: 0 auto;
    }

    .day-match.scheduled::before {
        background: #3b82f6;
    }

    .day-match.past::before {
        background: #9ca3af;
    }

    .day-match.watched::before {
        background: #10b981;
    }

    .calendar-legend {
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }

    .calendar-title {
        font-size: 16px;
        min-width: auto;
    }

    .calendar-header {
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }

    .team-info span {
        font-size: 12px;
    }

    .match-teams-row {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .team-info, .team-info:last-child {
        flex-direction: row;
        text-align: left;
        width: 100%;
    }
}

/* ==============================================
   Live Matches from API
   ============================================== */

.live-matches-container {
    max-width: 900px;
    margin: 0 auto;
}

.live-matches-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.live-matches-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
}

.matches-total {
    background: var(--color-primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.live-leagues-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.live-league-group {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    overflow: hidden;
}

.live-league-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
}

.live-league-header .league-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.live-league-header .league-info {
    flex: 1;
}

.live-league-header .league-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.live-league-header .league-country {
    font-size: 12px;
    color: var(--text-secondary);
}

.live-league-header .league-count {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
}

.live-matches-list {
    display: flex;
    flex-direction: column;
}

.live-match-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.live-match-card:last-child {
    border-bottom: none;
}

.live-match-card:hover {
    background: var(--bg-primary);
}

.live-match-card.live {
    background: rgba(239, 68, 68, 0.05);
}

.live-match-status {
    min-width: 70px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.live-match-status.live {
    background: #ef4444;
    color: white;
}

.live-match-status.finished {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.live-match-status.scheduled {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.live-match-status.other {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.live-match-teams {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.live-team {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.live-team .team-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.live-team .team-name {
    flex: 1;
    font-size: 13px;
    color: var(--text-primary);
}

.live-team.winner .team-name {
    font-weight: 600;
}

.live-team .team-score {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 24px;
    text-align: center;
}

/* Mobile Live Matches */
@media (max-width: 768px) {
    .live-matches-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    .live-matches-header h2 {
        font-size: 16px;
    }

    .live-match-card {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .live-match-status {
        min-width: 50px;
        font-size: 10px;
        padding: 4px 8px;
    }

    .live-team .team-name {
        font-size: 12px;
    }

    .live-team .team-score {
        font-size: 13px;
    }

    .live-league-header {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .live-league-header .league-logo {
        width: 24px;
        height: 24px;
    }

    .live-league-header .league-name {
        font-size: 13px;
    }
}

/* Pièces jointes sur les cartes de matchs observés */
.match-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.match-attachment-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.05);
    color: inherit;
    font-size: 12px;
    text-decoration: none;
}
.match-attachment-chip:hover { background: rgba(0, 0, 0, 0.1); }
.match-attachment-chip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; flex-shrink: 0; }
.match-attachment-chip img { width: 18px; height: 18px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.match-attachment-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; }

/* Zone d'upload dans les formulaires de match : icone a taille fixe */
.match-form .attachments-dropzone svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    flex-shrink: 0;
}
.match-form .attachment-item .attachment-pdf-icon svg {
    width: 28px;
    height: 28px;
}
.match-form .attachment-remove svg {
    width: 14px;
    height: 14px;
}
