/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-bottom: 1px solid #e2e8f0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.header-agenda {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo i {
    font-size: 2rem;
    color: #6366f1;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: #6366f1;
    color: white;
}

.btn-primary:hover {
    background: #30da3b;
    color: black;
}

.btn-outline {
    background: transparent;
    color: #6366f1;
    border: 1px solid #6366f1;
}

.btn-outline:hover {
    background: #f36722;
    color: white;
}

.btn-outline2 {
    background: transparent;
    color: #6366f1;
    border: 1px solid #6366f1;
}

.btn-outline2:hover {
    background: #30da3b;
    color: black;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Main Content */
.main {
    padding: 2rem 0;
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.125rem;
    color: #6b7280;
}

/* Cards */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

.card-content {
    padding: 1.5rem;
}

/* Grids */
.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.tournament-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Tournament Cards */
.tournament-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.tournament-card .card-header {
    padding: 1.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.tournament-card .card-header h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.tournament-card .card-content {
    padding: 1.25rem;
}

.tournament-info {
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.info-item i {
    width: 16px;
}

.view-details {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
}

.view-details:hover {
    color: #5855eb;
}

/* Status Badges */
.status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.status-en_cours {
    background: #10b981;
    color: white;
}

.status-a_venir {
    background: #3b82f6;
    color: white;
}

.status-termine {
    background: #6b8073;
    color: white;
}

.status-planifie {
    background: #f59e0b;
    color: white;
}

.status-annule {
    background: #fd581d;
    color: white;
}

/* Match Items */
.match-item {
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.match-item:last-child {
    margin-bottom: 0;
}

.match-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.match-item p {
    font-size: 0.875rem;
    color: #6b7280;
}

.match-time {
    text-align: right;
}

.match-time span {
    display: block;
    font-size: 0.875rem;
}

.match-time span:first-child {
    font-weight: 500;
}

/* Info Cards */
.info-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.info-icon i {
    color: #6366f1;
}

.info-content h3 {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.info-content p {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

/* Tournament Details */
.tournament-header .logo {
    flex-direction: row;
}

.tournament-header .logo div h1 {
    font-size: 1.75rem;
}

.tournament-header .logo div p {
    color: #6b7280;
    margin-top: 0.25rem;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 1rem;
}

.back-link:hover {
    color: #5855eb;
}

.tournament-match {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem;
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.round-badge {
    background: #6366f1;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.match-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.match-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 0.875rem;
}

.match-score .score {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.match-score .tbd {
    color: #6b7280;
    font-style: italic;
}

/* Standings */
.standing-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.standing-item:last-child {
    margin-bottom: 0;
}

.position-number {
    width: 32px;
    height: 32px;
    background: #6366f1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.team-info {
    flex: 1;
}

.team-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-info p {
    font-size: 0.875rem;
    color: #6b7280;
}

.team-score {
    min-width: 30px;
    text-align: right;
    color: red;
}

.team-row h4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}


.points {
    font-weight: 700;
    color: #1f2937;
}

/* Login Page */
.login-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-icon {
    width: 64px;
    height: 64px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.login-icon i {
    font-size: 1.5rem;
    color: #6366f1;
}

.login-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #6b7280;
    font-size: 0.875rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #374151;
}

.input-group {
    position: relative;
}

.input-group i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.input-group input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.demo-credentials {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #eff6ff;
    border-radius: 8px;
    border: 1px solid #bfdbfe;
}

.demo-credentials h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.demo-credentials p {
    font-size: 0.875rem;
    color: #1e40af;
    margin-bottom: 0.25rem;
}

/* Admin Styles */
.admin-header {
    background: #1f2937;
    color: white;
}

.admin-header .logo i {
    color: #fbbf24;
}

.admin-header .logo h1 {
    color: white;
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-main {
    padding: 2rem 0;
    background: #f9fafb;
    min-height: calc(100vh - 80px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.stat-content p {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Tabs */
.tabs {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
}

.tab-button {
    flex: 1;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-button.active {
    color: #6366f1;
    border-bottom: 2px solid #6366f1;
}

.tab-content {
    display: none;
    padding: 1.5rem;
}

.tab-content.active {
    display: block;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.admin-table th {
    font-weight: 600;
    color: #374151;
    background: #f9fafb;
}

.admin-table tr:hover {
    background: #d2dce5 !important;
}

.admin-table tr:nth-child(even) {
    background-color: #e8edf2; /* couleur claire pour les lignes paires */
}


/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Utilities */
.no-data {
    text-align: center;
    color: #6b7280;
    font-style: italic;
    padding: 2rem;
}

.text-muted {
    color: #6b7280;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

/* Enhanced Form Styling with Larger Inputs FORM STYLES */ 

/* Form Container */
.form-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Form Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Labels */
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem; /* Increased spacing */
    color: #374151;
    font-size: 0.95rem;
}

/* Larger Input Fields */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 14px; /* Increased padding */
    border: 2px solid #d1d5db; /* Slightly thicker border */
    border-radius: 8px;
    font-size: 1rem;
    min-height: 52px; /* Larger minimum height */
    transition: all 0.2s ease;
    background-color: #ffffff;
}

/* Select specific styling */
.form-group select {
    height: 52px;
    padding: 14px 12px;
    cursor: pointer;
    appearance: none; /* Remove default arrow */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

/* Textarea specific */
.form-group textarea {
    resize: vertical;
    min-height: 100px; /* Larger textarea */
    padding: 16px 14px;
}

/* Focus states */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background-color: #fefefe;
}

/* Input groups with icons */
.input-group {
    position: relative;
}

.input-group i {
    position: absolute;
    left: 16px; /* Adjusted for larger inputs */
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1.1rem;
}

.input-group input {
    padding: 16px 14px 16px 48px; /* More space for icon */
    min-height: 52px;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.form-actions .btn {
    flex: 1;
    min-width: 140px;
    max-width: 200px;
    min-height: 52px; /* Match input height */
    font-size: 1rem;
}

/* Placeholder styling */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
    font-style: italic;
}

/* Required field indicator */
.form-group label[for] {
    position: relative;
}

/* Error states */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Success states */
.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Disabled states */
.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled {
    background-color: #f9fafb;
    color: #6b7280;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Login form specific adjustments */
.login-form .input-group input {
    min-height: 52px;
    padding: 16px 14px 16px 48px;
}

.login-form .btn {
    min-height: 52px;
    font-size: 1rem;
}

/* Team Management Grid */
.team-management-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

/* Current Teams Section */
.current-teams h4,
.add-team h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

/* Teams List */
.teams-list {
    space-y: 0.75rem;
}

.team-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    transition: all 0.2s;
}

.team-item:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.team-info h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.team-info p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

/* Add Team Form */
.add-team {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.add-team-form .form-group {
    margin-bottom: 1rem;
}

.add-team-form .btn {
    width: 100%;
    justify-content: center;
}

/* Capacity Warning */
.capacity-warning {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #fef3cd;
    color: #92400e;
    border: 1px solid #fde68a;
    border-radius: 8px;
    font-size: 0.875rem;
}

.capacity-warning i {
    color: #d97706;
}

/* No Data Messages */
.no-data {
    text-align: center;
    color: #6b7280;
    font-style: italic;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px dashed #d1d5db;
}

/* Team Counter */
.current-teams h4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Button Improvements */
.btn-sm {
    padding: 6px 12px;
    font-size: 0.875rem;
    min-height: 32px;
}

/* Alert Improvements */
.alert {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Animation for team removal */
.team-item {
    transition: all 0.3s ease;
}

.team-item.removing {
    opacity: 0;
    transform: translateX(-100%);
}

/* Form styling consistency */
.add-team-form .form-group input,
.add-team-form .form-group select {
    min-height: 48px;
    padding: 14px 12px;
}

.add-team-form .btn {
    min-height: 48px;
}

/* Agenda */
 .navigation {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}

.nav-btn {
	background: rgba(255, 255, 255, 0.2);
	color: white;
	border: none;
	padding: 10px 15px;
	border-radius: 5px;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.3s;
}

.nav-btn:hover {
	background: rgba(255, 255, 255, 0.3);
}

.month-title {
	font-size: 2em;
	font-weight: bold;
}

.calendar {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 1px;
	background: #ddd;
	margin: 20px;
}

.day-header {
	background: #4a5568;
	color: white;
	padding: 15px;
	text-align: center;
	font-weight: bold;
}

.day {
	background: white;
	min-height: 120px;
	padding: 10px;
	position: relative;
	border: 1px solid #e2e8f0;
}

.day.other-month {
	background: #f7fafc;
	color: #a0aec0;
}

.day-number {
	font-weight: bold;
	margin-bottom: 5px;
}

.match {
	background: #a6e8b5;
	border-left: 3px solid #38b2ac;
	padding: 3px 5px;
	margin: 2px 0;
	font-size: 0.8em;
	border-radius: 3px;
	cursor: pointer;
	transition: background 0.3s;
}

.match:hover {
	background: #b2f5ea;
}

.match.finished {
	background: #c3ddf4;
	border-left-color: #2995f5;
}

.match.cancelled {
	background: #fed7d7;
	border-left-color: #f56565;
}

.match-time {
	font-weight: bold;
	color: #2d3748;
}

.match-teams {
	color: #4a5568;
}

.match-score {
	color: #f56565;
	font-weight: bold;
}

.today {
	background: #fff5f5 !important;
	border: 2px solid #f56565;
}

.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
	background-color: white;
	margin: 15% auto;
	padding: 20px;
	border-radius: 10px;
	width: 80%;
	max-width: 500px;
}

.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
}

.close:hover {
	color: black;
}

.legend {
	display: flex;
	justify-content: center;
	gap: 20px;
	padding: 20px;
	background: #f7fafc;
}

.legend-item {
	display: flex;
	align-items: center;
	gap: 5px;
}

.legend-color {
	width: 15px;
	height: 15px;
	border-radius: 3px;
}









/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .tournaments-grid {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .tournament-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .admin-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        max-width: none;
    }
    
    /* Slightly smaller on mobile */
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 48px;
        padding: 14px 12px;
    }
    
    .form-group select {
        height: 48px;
    }
    
    .input-group input {
        padding: 14px 12px 14px 44px;
    }
    
     .team-management-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .team-item form {
        align-self: flex-end;
    }
    
    .add-team {
        padding: 1rem;
    }
    
    .calendar {
        margin: 10px;
    }

    .day {
        min-height: 80px;
        padding: 5px;
    }

    .match {
        font-size: 0.7em;
        padding: 2px 3px;
    }
}


@media (max-width: 480px) {
    .tournament-info-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .match-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .standing-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}