@import url(https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Zen+Dots&display=swap);
/* Import fonts for MySportsStats theme */
/* Shared icon sprites are loaded via public icons.css in index.html */

/* ========================================
   GLOBAL RESET & BASE STYLES
========================================= */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  /* Rely on .app-main-content for header spacing */
  color: #1a1a1a;
  color: var(--text-primary);
}

html {
  overflow-y: scroll;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========================================
   CSS VARIABLES - THEME SYSTEM
========================================= */
:root {
  /* ========================================
     LOGO GREEN BRAND COLOR SYSTEM
  ========================================= */
  --brand-green: #0CBD63; /* Exact logo green */
  --brand-green-light: #4AE584;
  --brand-green-dark: #089A4A;
  --brand-green-darker: #066B42;
  
  /* ========================================
     LIGHT THEME - CLEAN WHITE & GREEN
  ========================================= */
  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #F8FBF9;
  --bg-third: #F1F8F3;
  --bg-fourth: #E8F5EA;
  --bg-elevated: #ffffff;
  --bg-surface: #fafbfa;
  
  /* Text Colors */
  --text-primary: #1a1a1a; /* Professional dark grey */
  --text-secondary: #4a5568; /* Medium grey */
  --text-tertiary: #718096; /* Light grey */
  --text-success: var(--brand-green);
  --text-error: #e53e3e;
  --text-warning: #ed8936;
  
  /* Border & Divider Colors */
  --border-color: #e2e8f0;
  --border-green: #C8E6D0;
  --divider: #f7fafc;
  
  /* Interactive Colors */
  --color-primary: var(--brand-green);
  --color-primary-hover: var(--brand-green-dark);
  --color-primary-active: var(--brand-green-darker);
  --color-secondary: #718096;
  --color-secondary-hover: #4a5568;

  /* Layout Variables */
  --header-height: 44px;
  
  /* ========================================
     SHADOW SYSTEM
  ========================================= */
  /* Neutral Shadows for Professional Look */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.15);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  
  /* Green Accent Shadows for Interactive Elements */
  --shadow-green-sm: 0 1px 3px rgba(12, 189, 99, 0.2);
  --shadow-green-md: 0 4px 12px rgba(12, 189, 99, 0.15);
  --shadow-green-lg: 0 8px 20px rgba(12, 189, 99, 0.2);
  
  /* ========================================
     GREEN COLOR PALETTE (BRAND CONSISTENT)
  ========================================= */
  --green-50: #F8FEF9;
  --green-100: #F0FDF2;
  --green-200: #DCFCE7;
  --green-300: #BBF7D0;
  --green-400: #86EFAC;
  --green-500: #0CBD63; /* Primary brand color */
  --green-600: #16A34A;
  --green-700: #15803D;
  --green-800: #166534;
  --green-900: #14532D;

    /* ========================================
     DESIGN SYSTEM CONSTANTS
  ========================================= */
  /* Spacing Scale */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  
  /* Border Radius Scale */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 50%;
  
  /* Transition System */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Layout Constraints */
  --sidebar-width: 280px;
  --content-max-width: 1200px;
  
  /* Standard Responsive Breakpoints */
  --bp-mobile: 480px;
  --bp-tablet: 768px;
  --bp-desktop: 1024px;
  --bp-wide: 1200px;
  
  /* Z-Index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;
  
  /* Alpha Values for Consistency */
  --alpha-05: 0.05;
  --alpha-10: 0.1;
  --alpha-20: 0.2;
  --alpha-30: 0.3;
  --alpha-40: 0.4;
  --alpha-50: 0.5;
  
  /* Semantic Colors */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --color-info: #3b82f6;
}

/* ========================================
   DARK THEME - PROFESSIONAL DARK GREY & GREEN
========================================= */
.dark {
  /* Dark Background Colors */
  --bg-primary: #1a202c; /* Professional dark grey */
  --bg-secondary: #2d3748; /* Medium dark grey */
  --bg-third: #4a5568; /* Lighter dark grey */
  --bg-fourth: #718096; /* Lightest dark grey */
  --bg-elevated: #2d3748;
  --bg-surface: #1a202c;
  
  /* Dark Text Colors */
  --text-primary: #f7fafc; /* High contrast white */
  --text-secondary: #e2e8f0; /* Medium contrast grey */
  --text-tertiary: #a0aec0; /* Lower contrast grey */
  --text-success: var(--brand-green-light);
  --text-error: #fc8181;
  --text-warning: #f6ad55;
  
  /* Dark Border & Divider Colors */
  --border-color: #4a5568;
  --border-green: #2d5a3d;
  --divider: #2d3748;
  
  /* Dark Interactive Colors */
  --color-primary: var(--brand-green-light);
  --color-primary-hover: var(--brand-green);
  --color-primary-active: var(--brand-green-dark);
  --color-secondary: #a0aec0;
  --color-secondary-hover: #e2e8f0;
  
  /* Dark Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4), 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.5), 0 10px 10px rgba(0, 0, 0, 0.3);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.6);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  
  /* Dark Green Accent Shadows */
  --shadow-green-sm: 0 1px 3px rgba(74, 229, 132, 0.3);
  --shadow-green-md: 0 4px 12px rgba(74, 229, 132, 0.2);
  --shadow-green-lg: 0 8px 20px rgba(74, 229, 132, 0.25);
  
  /* Dark Semantic Colors */
  --color-success: #68d391;
  --color-warning: #fbd38d;
  --color-error: #fc8181;
  --color-info: #63b3ed;
}

/* ========================================
   UTILITY CLASSES - GLOBAL USAGE ONLY
========================================= */

/* Blur Overlay */
.blur {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  z-index: 1040;
  z-index: var(--z-modal-backdrop);
}

/* Dark Theme Blur */
.dark .blur {
  background: rgba(26, 32, 44, 0.8);
}

/* Professional Hover Effects */
.hover-lift:hover {
  transform: translateY(-2px);
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--transition-spring);
}

.hover-bg:hover {
  background: #F1F8F3;
  background: var(--bg-third);
  transition: 0.15s ease;
  transition: var(--transition-fast);
}

.hover-green:hover {
  background: rgba(12, 189, 99, 0.05);
  transition: 0.15s ease;
  transition: var(--transition-fast);
}

.hover-scale:hover {
  transform: scale(1.02);
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--transition-spring);
}

/* Focus States */
.focus-ring:focus {
  outline: 2px solid #0CBD63;
  outline: 2px solid var(--brand-green);
  outline-offset: 2px;
}

.focus-ring-inset:focus {
  outline: 2px solid #0CBD63;
  outline: 2px solid var(--brand-green);
  outline-offset: -2px;
}

/* Professional Scrollbar Styles */
.scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.scrollbar::-webkit-scrollbar-track {
  background: #F8FBF9;
  background: var(--bg-secondary);
  border-radius: 50%;
  border-radius: var(--radius-full);
}

.scrollbar::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  background: var(--border-color);
  border-radius: 50%;
  border-radius: var(--radius-full);
  -webkit-transition: 0.15s ease;
  transition: 0.15s ease;
  -webkit-transition: var(--transition-fast);
  transition: var(--transition-fast);
}

.scrollbar::-webkit-scrollbar-thumb:hover {
  background: #0CBD63;
  background: var(--brand-green);
}

/* Dark theme scrollbar */
.dark .scrollbar::-webkit-scrollbar-thumb {
  background: #718096;
  background: var(--color-secondary);
}

.dark .scrollbar::-webkit-scrollbar-thumb:hover {
  background: #4AE584;
  background: var(--brand-green-light);
}

/* Global Body Scrollbar */
body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: #ffffff;
  background: var(--bg-primary);
}

body::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  background: var(--border-color);
  border-radius: 50%;
  border-radius: var(--radius-full);
  -webkit-transition: 0.15s ease;
  transition: 0.15s ease;
  -webkit-transition: var(--transition-fast);
  transition: var(--transition-fast);
}

body::-webkit-scrollbar-thumb:hover {
  background: #0CBD63;
  background: var(--brand-green);
}

.dark body::-webkit-scrollbar-thumb {
  background: #718096;
  background: var(--color-secondary);
}

.dark body::-webkit-scrollbar-thumb:hover {
  background: #4AE584;
  background: var(--brand-green-light);
}

/* ========================================
   PROFESSIONAL COMPONENT STYLES
========================================= */

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  gap: var(--spacing-sm);
  padding: 8px 16px;
  padding: var(--spacing-sm) var(--spacing-md);
  border: none;
  border-radius: 12px;
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--transition-spring);
  white-space: nowrap;
  -webkit-user-select: none;
          user-select: none;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, #0CBD63 0%, #089A4A 100%);
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
  color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #089A4A 0%, #066B42 100%);
  background: linear-gradient(135deg, var(--brand-green-dark) 0%, var(--brand-green-darker) 100%);
  box-shadow: 0 4px 12px rgba(12, 189, 99, 0.15);
  box-shadow: var(--shadow-green-md);
  transform: translateY(-2px);
}

/* Secondary Button */
.btn-secondary {
  background: #F8FBF9;
  background: var(--bg-secondary);
  color: #1a1a1a;
  color: var(--text-primary);
  border: 1px solid #e2e8f0;
  border: 1px solid var(--border-color);
}

.btn-secondary:hover:not(:disabled) {
  background: #F1F8F3;
  background: var(--bg-third);
  border-color: #0CBD63;
  border-color: var(--brand-green);
  transform: translateY(-1px);
}

/* Outline Button */
.btn-outline {
  background: transparent;
  color: #0CBD63;
  color: var(--brand-green);
  border: 2px solid #0CBD63;
  border: 2px solid var(--brand-green);
}

.btn-outline:hover:not(:disabled) {
  background: #0CBD63;
  background: var(--brand-green);
  color: white;
  transform: translateY(-1px);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: #4a5568;
  color: var(--text-secondary);
}

.btn-ghost:hover:not(:disabled) {
  background: #F8FBF9;
  background: var(--bg-secondary);
  color: #1a1a1a;
  color: var(--text-primary);
}

/* Button Sizes */
.btn-sm {
  padding: 4px 8px;
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: 12px;
  border-radius: 8px;
  border-radius: var(--radius-md);
}

.btn-lg {
  padding: 16px 24px;
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: 16px;
  border-radius: 16px;
  border-radius: var(--radius-xl);
}

/* Card System */
.card {
  background: #ffffff;
  background: var(--bg-elevated);
  border: 1px solid #e2e8f0;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: var(--transition-spring);
}

.card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-interactive:hover {
  border-color: #0CBD63;
  border-color: var(--brand-green);
  box-shadow: 0 4px 12px rgba(12, 189, 99, 0.15);
  box-shadow: var(--shadow-green-md);
}

/* Form Controls */
.form-control {
  width: 100%;
  padding: 8px 16px;
  padding: var(--spacing-sm) var(--spacing-md);
  background: #ffffff;
  background: var(--bg-primary);
  border: 2px solid #e2e8f0;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: 14px;
  color: #1a1a1a;
  color: var(--text-primary);
  transition: 0.15s ease;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: #0CBD63;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(12, 189, 99, 0.1);
}

.form-control::placeholder {
  color: #718096;
  color: var(--text-tertiary);
}

/* Legacy Button Support (Updated) */
.blue_btn {
  @extend .btn, .btn-primary;
}

.light_blue_btn {
  @extend .btn, .btn-secondary;
  background: #F0FDF2;
  background: var(--green-100);
  color: #0CBD63;
  color: var(--brand-green);
}

.light_blue_btn:hover {
  background: #DCFCE7;
  background: var(--green-200);
}

.gray_btn {
  @extend .btn, .btn-secondary;
}

/* Utility Text Classes */
.text-success {
  color: #10b981;
  color: var(--color-success);
}

.text-error {
  color: #ef4444;
  color: var(--color-error);
}

.text-warning {
  color: #f59e0b;
  color: var(--color-warning);
}

.text-info {
  color: #3b82f6;
  color: var(--color-info);
}

.postBox {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-primary);
  box-shadow: 0 12px 28px 0 var(--shadow-1), 0 2px 4px 0 var(--shadow-2),
    inset 0 0 0 1px var(--shadow-inset);
  min-height: 228px;
  width: 500px;
  border-radius: 5px;
}
.box_header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  padding: 14px 15px 17px 15px;
  border-bottom: 1px solid var(--bg-third);
}
.box_header span {
  color: var(--text-primary);
}
.postBox .small_circle {
  position: absolute;
  right: 16px;
  top: 12px;
}
.box_profile {
  display: flex;
  gap: 12px;
  padding: 17px 17px 5px 17px;
}
.box_profile .box_profile_img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}
.box_col {
  transform: translateY(-7px);
  color: var(--text-primary);
}
.box_profile_name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.box_privacy {
  display: flex;
  align-items: center;
  width: 81px;
  gap: 4px;
  font-size: 12px;
  padding: 3px 8px 4px 8px;
  border-radius: 7px;
  background: var(--bg-third);
  cursor: pointer;
}
.box_privacy span {
  margin-bottom: 1px;
}
.flex_center {
  min-height: 90px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.post_input {
  position: relative;
  outline: none;
  border: none;
  resize: none;
  padding: 5px 15px;
  margin-bottom: 10px;
  width: 470px;
  margin-left: 1px;
  font-family: inherit;
  font-size: 24px;
  background: var(--bg-primary);
  color: #000;
}
.flex_center textarea {
  min-height: 90px;
  background: transparent;
  overflow-y: visible;
  position: absolute;
}
.post_emojis_wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 10px 15px;
}
.post_emojis_wrap img {
  width: 39px;
  cursor: pointer;
}
.post_emojis_wrap i:hover {
  filter: invert(80%);
}
.comment_emoji_picker {
  position: absolute;
  right: 0;
  bottom: 2.5rem;
}
.rlmove {
  right: -7rem;
}
.addtoyourpost {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 10px;
  padding: 10px;
  border-radius: 10px;
  border: 3px solid var(--bg-forth);
}
.addto_text {
  width: 50%;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}
.post_header_right {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 50%;
}
.post_submit {
  width: calc(100% - 18px);
  margin: 5px 10px;
  padding: 10px;
  outline: none;
  border: none;
  background: var(--blue-color);
  color: #fff;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
}
.overflow_a {
  max-height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
}
.input2 {
  position: relative;
  display: block;
  font-size: 15px;
  min-height: 15px !important;
}
.moveleft {
  transform: translateX(-10px);
}
.movepicker2 {
  right: 1rem;
  top: 9.7rem;
  z-index: 9999;
}
.images_input {
  display: flex;
}
.add_pics_wrap {
  margin: 10px 15px;
  padding: 10px;
  border: 1px solid var(--bg-third);
  border-radius: 10px;
  color: var(--text-primary);
}
.add_pics_inside1 {
  position: relative;
  background: var(--bg-secondary);
  border-radius: 10px;
  padding: 10px;
  height: 250px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.add_col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.small_white_circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--bg-third);
  background: var(--bg-primary);
  display: grid;
  place-items: center;
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  z-index: 99;
}
.add_circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--bg-third);
  background: var(--bg-third);
  display: grid;
  place-items: center;
}
.add_col span:first-of-type {
  font-size: 15px;
  font-weight: 600;
}
.add_col span:last-of-type {
  font-size: 12px;
  color: var(--text-secondary);
}
.add_pics_inside2 {
  position: relative;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-secondary);
  padding: 10px;
  border-radius: 10px;
}
.mobile_text {
  font-size: 12px;
  font-weight: 600;
}
.addphone_btn {
  background: var(--bg-third);
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 14px;
  position: absolute;
  right: 10px;
  cursor: pointer;
}
.p0 {
  padding: 0;
  border-radius: 10px;
  height: 100%;
  cursor: default;
  overflow: hidden;
}
.preview_actions {
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: flex;
  gap: 1rem;
  display: none;
}
.preview_actions button {
  outline: none;
  border: none;
  padding: 8px 10px;
  border-radius: 7px;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-primary);
}
.p0:hover .preview_actions {
  display: flex;
}
.preview1 {
  width: 100%;
  height: 100%;
}
.preview1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preview2 {
  height: 100%;
  display: flex;
  gap: 2px;
}
.preview2 img {
  width: 50%;
  height: 230px;
  object-fit: cover;
}
.preview3 {
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-gap: 2px;
  gap: 2px;
}
.preview3 img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.preview3 img:nth-child(1) {
  grid-column: span 2;
}
.preview4 {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-gap: 2px;
  gap: 2px;
}
.preview4 img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.preview4 img:nth-child(1) {
  grid-column: span 3;
}
.preview5 {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-gap: 2px;
  gap: 2px;
}
.preview5 img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  grid-column: span 2;
}
.preview5 img:nth-child(1),
.preview5 img:nth-child(2) {
  grid-column: span 3;
}
.preview6 {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 2px;
  gap: 2px;
}
.preview6 img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.singular_grid img:nth-child(1) {
  grid-column: span 2;
}
.post_backgrounds {
  display: flex;
  align-items: center;
  gap: 5px;
}
.post_backgrounds img {
  width: 35px;
  height: 35px;
  object-fit: cover;
  border-radius: 10px;
}
.no_bg {
  background: var(--bg-secondary);
  width: 35px;
  height: 35px;
  border-radius: 10px;
  cursor: pointer;
}
.bgHandler {
  height: 360px;
  width: 100%;
  background-size: cover;
}
.bgHandler textarea {
  text-align: center;
  height: 360px;
  margin-top: 10px;
}

/*----post error----*/
.postError {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: var(--bg-primary);
  opacity: 0.9;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  z-index: 999;
  color: #b94a48;
  animation: anim 0.3s;
  border-radius: 5px;
  padding: 3rem;
}
.postError_error {
  width: 75%;
  font-weight: 600;
}
/*----post error----*/

@keyframes anim {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}
@media (max-width: 735px) {
  .rlmove {
    right: 10px;
  }
}
@media (max-width: 550px) {
  .postBox {
    width: 96%;
  }

  .post_backgrounds {
    width: 80%;
    overflow-x: auto;
  }
  .post_backgrounds img {
    width: 30px;
    height: 30px;
  }
}
@media (max-width: 405px) {
  .preview_actions {
    flex-direction: column;
    gap: 2px;
  }
  .mobile_text {
    width: 50%;
  }
}
@media (max-width: 380px) {
  .post_input {
    font-size: 17px;
  }
  .addtoyourpost {
    justify-content: center;
  }
  .addto_text {
    display: none;
  }
}
.l0 {
  left: 0;
}

/* EmojiPickerBackgrounds Component Styles */

.emoji-picker-backgrounds__textarea {
  padding-top: 0;
}

.emoji-picker-backgrounds__textarea--with-background {
  padding-top: 0;
  padding-top: var(--dynamic-padding, 0);
}

/* Logo Loader Styles */
.logo-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
}

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

.logo-loader__logo {
  --primary-color: #0CBD63;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-loader__logo img {
  /* Styles moved to size variants section */
}

.logo-loader__logo::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  border: 2px solid transparent;
  border-top: 2px solid var(--primary-color);
  border-right: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: ringRotate 1.5s linear infinite;
  opacity: 0.6;
}

.logo-loader__logo::after {
  content: '';
  position: absolute;
  width: 140%;
  height: 140%;
  border: 2px solid transparent;
  border-bottom: 2px solid var(--primary-color);
  border-left: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: ringRotate 2s linear infinite reverse;
  opacity: 0.4;
}

.logo-loader__text {
  /* Styles moved to size variants section */
}

/* Size variants - Using CSS custom properties to avoid conflicts */
.logo-loader--small {
  --logo-size: 24px;
  --font-size: 12px;
}

.logo-loader--medium {
  --logo-size: 40px;
  --font-size: 14px;
}

.logo-loader--large {
  --logo-size: 60px;
  --font-size: 16px;
}

.logo-loader--xlarge {
  --logo-size: 80px;
  --font-size: 18px;
}

.logo-loader__logo img {
  width: 40px;
  width: var(--logo-size, 40px);
  height: 40px;
  height: var(--logo-size, 40px);
  animation: logoSpin 2s linear infinite;
  filter: drop-shadow(0 0 10px var(--primary-color));
  transition: all 0.3s ease;
}

.logo-loader__text {
  color: #0CBD63;
  color: var(--primary-color, #0CBD63);
  font-size: 14px;
  font-size: var(--font-size, 14px);
  font-weight: 500;
  text-align: center;
  opacity: 0.8;
  animation: textPulse 2s ease-in-out infinite;
}

/* Animations */
@keyframes logoSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.1);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes ringRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes textPulse {
  0%, 100% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
}

/* Centered full-screen loader */
.logo-loader--fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-loader--overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Dark theme support */
.logo-loader--dark {
  color: #fff;
}

.logo-loader--dark.logo-loader--fullscreen {
  background: rgba(0, 0, 0, 0.9);
}

.logo-loader--dark.logo-loader--overlay {
  background: rgba(0, 0, 0, 0.8);
}

.logo-loader--dark .logo-loader__text {
  color: #fff;
}

/* Responsive adjustments - Adjust sizes for mobile */
@media (max-width: 768px) {
  .logo-loader--large {
    --logo-size: 50px;
  }
  
  .logo-loader--xlarge {
    --logo-size: 60px;
  }
}

/* SafeModal Component Styles */

.safe-modal__hidden {
  display: none;
}

/* EnhancedSafeModal Component Styles */

.enhanced-safe-modal__hidden {
  display: none;
}

/* Debug Panel Component Styles */

.debug-panel {
  position: fixed;
  top: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  font-family: monospace;
  font-size: 12px;
  z-index: 9999;
  max-width: 300px;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.debug-panel__title {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: white;
  font-weight: bold;
}

.debug-panel__button {
  background-color: #333;
  color: white;
  border: 1px solid #555;
  padding: 4px 8px;
  margin-bottom: 10px;
  cursor: pointer;
  border-radius: var(--border-radius-xs);
  font-size: 11px;
  font-family: monospace;
}

.debug-panel__button:hover {
  background-color: #555;
}

.debug-panel__button:disabled {
  background-color: #222;
  color: #666;
  cursor: not-allowed;
}

.debug-panel__content {
  font-size: 11px;
  line-height: 1.4;
  transition: opacity 0.3s ease;
}

.debug-panel__error {
  color: #ff6b6b;
  margin-top: 10px;
  padding: var(--spacing-xs);
  background-color: rgba(255, 107, 107, 0.1);
  border-radius: var(--border-radius-xs);
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.debug-panel__section {
  margin-top: 10px;
  padding: var(--spacing-xs);
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.debug-panel__section-title {
  font-weight: bold;
  margin-bottom: var(--spacing-xs);
  color: #4fc3f7;
}

.debug-panel__data {
  white-space: pre-wrap;
  word-break: break-all;
  color: #e0e0e0;
}

.debug-panel__loading {
  color: #ffd54f;
  font-style: italic;
}

/* Scrollbar Styles */
.debug-panel::-webkit-scrollbar {
  width: 6px;
}

.debug-panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.debug-panel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.debug-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Header and Controls */
.debug-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.debug-panel__controls {
  display: flex;
  gap: 4px;
}

.debug-panel__control-btn {
  background-color: #333;
  color: white;
  border: 1px solid #555;
  padding: 2px 6px;
  cursor: pointer;
  border-radius: var(--border-radius-xs);
  font-size: 10px;
  font-family: monospace;
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.debug-panel__control-btn:hover {
  background-color: #555;
}

/* Minimized State */
.debug-panel--minimized {
  max-height: 50px;
  overflow: hidden;
}

.debug-panel--minimized .debug-panel__title {
  margin: 0;
  font-size: 12px;
}

/* Hidden State */
.debug-panel--hidden {
  background: none;
  padding: 0;
  box-shadow: none;
  max-width: none;
  max-height: none;
}

.debug-panel__toggle-btn {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 8px;
  cursor: pointer;
  border-radius: var(--border-radius-xs);
  font-size: 12px;
  font-family: monospace;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.debug-panel__toggle-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

.debug-panel--minimized .debug-panel__content {
  opacity: 0;
}

/* Hockey Match Filters Component Styles */

.hockey-filter-start-adornment {
  margin-right: 8px;
  font-size: 1rem;
}

.hockey-filter-search-icon {
  font-size: 1.5rem;
}

.hockey-filter-expand-icon {
  font-size: 1.2rem;
}

/* Cricket Match Filters Component Styles */

.cricket-filters {
  background: var(--bg-primary);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.cricket-filters__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-md);
}

.cricket-filters__title {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.cricket-filters__search-icon {
  font-size: 1.5rem;
}

.cricket-filters__toggle {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--text-secondary);
  cursor: pointer;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  transition: background-color 0.2s ease;
}

.cricket-filters__toggle:hover {
  background-color: var(--bg-secondary);
}

.cricket-filters__toggle-icon {
  font-size: 1.2rem;
}

.cricket-filters__content {
  margin-top: var(--spacing-md);
}

.cricket-filters__divider {
  margin: var(--spacing-lg) 0;
}

.cricket-filters__section {
  margin-bottom: var(--spacing-lg);
}

.cricket-filters__grid {
  gap: var(--spacing-md);
}

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

.cricket-filters__field-icon {
  font-size: 1rem;
  color: var(--text-secondary);
}

.cricket-filters__actions {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: flex-end;
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--border-color);
}

.cricket-filters__results-summary {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
  padding: var(--spacing-sm);
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.cricket-filters__results-icon {
  font-size: 1rem;
}

.cricket-filters__chip {
  margin: var(--spacing-xs);
}

/* Form Controls */
.cricket-filters .MuiTextField-root,
.cricket-filters .MuiFormControl-root {
  width: 100%;
}

.cricket-filters .MuiInputBase-root {
  background-color: var(--bg-primary);
}

.cricket-filters .MuiInputLabel-root {
  color: var(--text-secondary);
}

.cricket-filters .MuiSelect-select {
  color: var(--text-primary);
}

.cricket-filters .MuiMenuItem-root {
  color: var(--text-primary);
}

.cricket-filters .MuiChip-root {
  margin: 2px;
}

/* Button Styles */
.cricket-filters__clear-btn {
  color: var(--text-secondary) !important;
  border-color: var(--border-color) !important;
}

.cricket-filters__apply-btn {
  background-color: var(--primary-color) !important;
  color: white !important;
}

.cricket-filters__apply-btn:hover {
  background-color: var(--primary-dark) !important;
}

/* Golf Match Filters Component Styles */

.golf-filter-start-adornment {
  margin-right: 8px;
  font-size: 1rem;
}

.golf-filter-search-icon {
  font-size: 1.5rem;
}

.golf-filter-expand-icon {
  font-size: 1.2rem;
}

/* Common Component Styles */

.common-stats-icon {
  font-size: 1.5rem;
}

.common-sport-icon {
  font-size: 1.5rem;
}

/* Club Autocomplete Input Component Styles */

.club-autocomplete {
  position: relative;
}

.club-autocomplete__option {
  padding: 8px 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.club-autocomplete__option:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.club-autocomplete__create-option {
  display: flex;
  align-items: center;
  font-style: italic;
  color: #1976d2;
}

.club-autocomplete__create-icon {
  margin-right: 8px;
}

.club-autocomplete__create-name {
  font-weight: bold;
}

.club-autocomplete__create-description {
  font-size: 0.8em;
  color: #666;
}

.club-autocomplete__option-name {
  font-weight: bold;
}

.club-autocomplete__option-location {
  font-size: 0.8em;
  color: #666;
}

/* Team Autocomplete Input Component Styles */

.team-autocomplete {
  position: relative;
}

.team-autocomplete__option {
  padding: 8px 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.team-autocomplete__option:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.team-autocomplete__create-option {
  display: flex;
  align-items: center;
  font-style: italic;
  color: #1976d2;
}

.team-autocomplete__create-icon {
  margin-right: 8px;
}

.team-autocomplete__create-name {
  font-weight: bold;
}

.team-autocomplete__create-description {
  font-size: 0.8em;
  color: #666;
}

.team-autocomplete__option-name {
  font-weight: bold;
}

.team-autocomplete__option-details {
  font-size: 0.8em;
  color: #666;
}

/* TournamentAutocompleteInput Component Styles */

.tournament-autocomplete__option--ongoing {
  color: #4caf50;
}

.tournament-autocomplete__option--finished {
  color: #999;
}

/* EnhancedPlayerInput Component Styles */

/* EnhancedPlayerInput base styles are handled by Material-UI */

.enhanced-player-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  min-height: 48px; /* Ensure adequate height for readability */
}

.enhanced-player-option-guest {
  display: flex;
  align-items: center;
  gap: 8px;
}

.enhanced-player-option-guest-chip {
  min-width: 110px;
}

.enhanced-player-option-guest-text {
  color: var(--mui-palette-text-primary);
}

.enhanced-player-option-registered {
  display: flex;
  align-items: center;
  gap: 8px;
}

.enhanced-player-option-avatar {
  width: 32px;
  height: 32px;
}

.enhanced-player-option-info {
  flex: 1 1;
}

.enhanced-player-option-name {
  font-weight: bold;
  color: var(--mui-palette-text-primary);
  font-size: 0.95rem; /* Slightly larger font for better readability */
  line-height: 1.2;
}

.enhanced-player-option-username {
  color: var(--mui-palette-text-secondary);
  margin-left: 8px;
  font-size: 0.875rem;
}

.enhanced-player-option-chip {
  flex-shrink: 0;
}

.enhanced-player-option-chip.self {
  background-color: #f3e5f5;
  background-color: var(--mui-palette-secondary-light, #f3e5f5);
  color: #7b1fa2;
  color: var(--mui-palette-secondary-dark, #7b1fa2);
}

.enhanced-player-option-chip.registered {
  background-color: #e8f5e8;
  background-color: var(--mui-palette-primary-light, #e8f5e8);
  color: #2e7d32;
  color: var(--mui-palette-primary-dark, #2e7d32);
}

/* Loading state */
.enhanced-player-input-loading {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Custom input styling */
.enhanced-player-input {
  min-width: 250px; /* Ensure adequate minimum width */
}

.enhanced-player-input .MuiAutocomplete-inputRoot {
  padding-right: 48px; /* Space for loading indicator */
  min-width: 200px; /* Ensure input field is wide enough to read names */
}

.enhanced-player-input .MuiAutocomplete-endAdornment {
  right: 12px;
}

.enhanced-player-input .MuiOutlinedInput-input {
  min-width: 150px; /* Ensure the actual input text area is readable */
}

/* Option hover effects */
.enhanced-player-option:hover {
  background-color: rgba(0, 0, 0, 0.04);
  background-color: var(--mui-palette-action-hover, rgba(0, 0, 0, 0.04));
}

/* Dark theme support */
.dark .enhanced-player-option-guest-text {
  color: var(--mui-palette-text-primary);
}

.dark .enhanced-player-option-name {
  color: var(--mui-palette-text-primary);
}

.dark .enhanced-player-option:hover {
  background-color: rgba(255, 255, 255, 0.08);
  background-color: var(--mui-palette-action-hover, rgba(255, 255, 255, 0.08));
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .enhanced-player-option {
    padding: 6px 12px;
    gap: 6px;
  }

  .enhanced-player-option-avatar {
    width: 28px;
    height: 28px;
  }

  .enhanced-player-option-guest-chip {
    min-width: 90px;
    font-size: 0.75rem;
  }

  .enhanced-player-option-username {
    display: none; /* Hide username on mobile to save space */
  }
}

/* ImageViewer Component Styles */

.image-viewer-dialog {
  background-color: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Safari support */
}

.image-viewer-content {
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-viewer-content.hide-cursor {
  cursor: none;
}

.image-viewer-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: opacity 0.3s ease;
}

.image-viewer-header.hidden {
  opacity: 0;
  pointer-events: none;
}

.image-viewer-title {
  color: white;
  font-weight: 600;
  margin: 0;
}

.image-viewer-counter {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin: 0;
}

.image-viewer-controls {
  display: flex;
  gap: 8px;
}

.image-viewer-control-btn {
  color: white !important;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.image-viewer-control-btn:hover {
  background-color: rgba(0, 0, 0, 0.6);
  transform: scale(1.05);
}

.image-viewer-control-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.image-viewer-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
  z-index: 10;
  transition: all 0.3s ease;
}

.image-viewer-nav-btn:hover {
  background-color: rgba(0, 0, 0, 0.7) !important;
  transform: translateY(-50%) scale(1.1);
}

.image-viewer-nav-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

.image-viewer-nav-prev {
  left: 16px;
}

.image-viewer-nav-next {
  right: 16px;
}

.image-viewer-main-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.image-viewer-main-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.3s ease-in-out;
  cursor: default;
}

.image-viewer-main-image.zoomable {
  cursor: grab;
}

.image-viewer-main-image.zoomed {
  cursor: grab;
}

.image-viewer-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

.image-viewer-thumbnails {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  padding: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.image-viewer-thumbnails.hidden {
  opacity: 0;
  pointer-events: none;
}

.image-viewer-thumbnail {
  width: 60px;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.7;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.image-viewer-thumbnail:hover {
  opacity: 1;
  transform: scale(1.05);
}

.image-viewer-thumbnail.active {
  border-color: white;
  opacity: 1;
}

.image-viewer-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-viewer-mobile-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.image-viewer-mobile-indicators.hidden {
  opacity: 0;
  pointer-events: none;
}

.image-viewer-mobile-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  transition: all 0.2s ease;
}

.image-viewer-mobile-dot.active {
  background-color: white;
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .image-viewer-main-image {
    max-width: 100%;
    max-height: 100%;
  }

  .image-viewer-controls {
    gap: 4px;
  }

  .image-viewer-header {
    padding: 12px;
  }

  .image-viewer-thumbnails {
    display: none;
  }
}

/* Fade transition classes */
.image-viewer-fade-enter {
  opacity: 0;
}

.image-viewer-fade-enter-active {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.image-viewer-fade-exit {
  opacity: 1;
}

.image-viewer-fade-exit-active {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Zoom transition classes */
.image-viewer-zoom-enter {
  opacity: 0;
  transform: scale(0.8);
}

.image-viewer-zoom-enter-active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Modern, responsive login page styles */
.login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}


.login_wrapper {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(60, 72, 88, 0.18);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 480px;
  min-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: loginPageFadeIn 0.7s cubic-bezier(0.4,0,0.2,1);
}

@media (min-width: 1200px) {
  .login_wrapper {
    max-width: 540px;
    padding: 3rem 2.5rem;
  }
}

@media (max-width: 600px) {
  .login_wrapper {
    padding: 1.5rem 0.5rem;
    max-width: 95vw;
  }
}

@keyframes loginPageFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Style for LoginForm and RegisterForm containers */
.login_wrapper > * {
  width: 100%;
}

/* Example: Add more styles for form fields and buttons if needed */
.login_wrapper input, .login_wrapper button {
  font-size: 1rem;
  border-radius: 8px;
}

.login_wrapper button {
  background: linear-gradient(90deg, #4f8cff 0%, #38c6ff 100%);
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 0.75rem 0;
  margin-top: 1rem;
  transition: background 0.2s;
}

.login_wrapper button:hover {
  background: linear-gradient(90deg, #38c6ff 0%, #4f8cff 100%);
}

/* Modern, responsive LoginForm styles */
.login_wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.login_1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.login_1 img {
  width: 60px;
  height: 60px;
  margin-bottom: 0.5rem;
}
.login_2 {
  width: 100%;
  background: #f8fafc;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(60,72,88,0.08);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.login_2_wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.forgot_password {
  color: #4f8cff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.forgot_password:hover {
  color: #38c6ff;
}
@media (max-width: 600px) {
  .login_2 {
    padding: 1rem 0.5rem;
  }
}

.input_wrap {
  position: relative;
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.input_wrap input {
  outline: none;
  border: 1px solid var(--bg-third);
  background: var(--bg-primary);
  width: 100%;
  height: 50px;
  font-size: 17px;
  border-radius: 10px;
  padding-left: 10px;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.input_wrap input:focus {
  border-color: var(--blue-color);
}
.input_error_border {
  border-color: #b94a48 !important;
}
.input_wrap i {
  position: absolute;
  right: 5px;
  top: 15px;
  transform: scale(0.8);
}
.input_error {
  position: relative;
  padding: 15px 10px;
  background: #b94a48;
  width: 100%;
  color: #fff;
  font-size: 13px;
  border-radius: 5px;
  margin-bottom: 15px;
}
.error_arrow_top {
  border-top: 10px solid #b94a48;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  position: absolute;
  bottom: -10px;
}
.error_arrow_bottom {
  border-bottom: 10px solid #b94a48;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  position: absolute;
  top: -10px;
}
.input_error_desktop {
  position: absolute;
  width: 300px;
  left: -19.5rem;
  top: -3px;
}
.error_arrow_left {
  border-left: 10px solid #b94a48;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  position: absolute;
  right: -10px;
  top: 13px;
}

/* Login Input Component Styles */

.login-input-error-transform-up {
  transform: translateY(3px);
}

.login-input-error-transform-down {
  transform: translateY(2px);
}

.login-input-error-icon-top {
  top: 63%;
}

.login-input-error-icon-default {
  top: 15px;
}

/* LoginForm Responsive Styles */
.login_wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eafaf1 0%, #e3e7fa 100%);
  padding: 32px 12px;
}

.login_1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.login_1 img {
  width: 96px;
  max-width: 60vw;
  height: auto;
  margin-bottom: 12px;
}

.login_2 {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(12,189,99,0.08), 0 2px 8px rgba(0,0,0,0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.login_2_wrap {
  padding: 32px 28px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.login_2 .MuiDivider-root {
  margin: 18px 0;
}

.forgot_password {
  color: #0cbd63;
  text-decoration: none;
  font-weight: 500;
  margin-top: 8px;
  display: inline-block;
}

.sign_extra {
  color: #555;
  text-decoration: none;
  font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .login_2 {
    max-width: 98vw;
    border-radius: 12px;
  }
  .login_2_wrap {
    padding: 16px 8px 8px 8px;
    gap: 12px;
  }
  .login_1 img {
    width: 56px;
    max-width: 40vw;
    margin-bottom: 8px;
  }
}

/* Prevent element overlap and improve stacking */
.login_2_wrap > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.MuiAlert-root {
  font-size: 1rem;
  padding: 8px 12px;
}

.MuiButton-root {
  border-radius: 8px !important;
}

/* Full width for user type selection step */
.full-width-section {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  grid-column: span 2 !important;
  display: block !important;
}

.modern-form-sections > .full-width-section {
  grid-column: span 2 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* Modern, responsive RegisterForm styles */
.modern-register-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(60,72,88,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
/* Modern, visually enhanced RegisterForm styles */
.modern-register-container {
  background: #fff;
  border-radius: 2rem;
  box-shadow: 0 8px 32px rgba(12, 189, 99, 0.13), 0 1.5px 8px rgba(60, 72, 88, 0.10);
  padding: 3rem 2.5rem 2.5rem 2.5rem;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  animation: registerFormFadeIn 0.7s cubic-bezier(0.4,0,0.2,1);
  border: 1.5px solid var(--grey-200);
}

@media (max-width: 600px) {
  .modern-register-container {
    padding: 1.5rem 0.5rem;
    max-width: 98vw;
    border-radius: 1.2rem;
  }
}

.modern-register-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.modern-register-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0;
  letter-spacing: -1px;
}
.modern-register-subtitle {
  font-size: 1.08rem;
  color: var(--grey-600);
  margin: 0 0 0.5rem 0;
}
.modern-register-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.modern-form-section {
  background: var(--grey-50);
  border-radius: 1.2rem;
  padding: 1.2rem 1rem 0.7rem 1rem;
  box-shadow: 0 1.5px 8px rgba(12,189,99,0.04);
  margin-bottom: 0.5rem;
}
.modern-section-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.modern-section-icon {
  font-size: 1.3rem;
  color: var(--text-primary);
}
.modern-section-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin: 0;
}
.modern-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.modern-input-row {
  display: flex;
  gap: 0.75rem;
}
.modern-input-single {
  flex-direction: column;
}
.modern-input-wrapper {
  flex: 1 1;
}
.modern-input {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--grey-200);
  border-radius: 0.7rem;
  font-size: 1rem;
  background: #fff;
  transition: border 0.2s;
  font-family: var(--font-family-base);
  box-shadow: 0 0.5px 2px rgba(12,189,99,0.03);
}
.modern-input:focus {
  border: 1.5px solid var(--color-primary);
  outline: none;
}
.modern-select-group {
  margin-top: 1.1rem;
}
.modern-select-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--grey-700);
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.modern-submit-wrapper {
  margin-top: 1.5rem;
}
.modern-submit-btn {
  width: 100%;
  padding: 0.9rem 0;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 8px rgba(12,189,99,0.10);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.modern-submit-btn:hover {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-secondary-dark));
  box-shadow: 0 4px 16px rgba(12,189,99,0.18);
  transform: translateY(-2px);
}
.modern-loading-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.2rem;
}
.modern-message {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  border-radius: 0.7rem;
  font-size: 1rem;
  margin-top: 1rem;
}
.modern-message.error {
  background: #fff0f0;
  color: #d32f2f;
  border: 1.5px solid #f44336;
}
.modern-message.success {
  background: #f0fff4;
  color: #388e3c;
  border: 1.5px solid #0CBD63;
}
.modern-message-icon {
  font-size: 1.3rem;
}
.modern-info-text {
  font-size: 0.98rem;
  color: var(--grey-600);
  margin: 1.2rem 0 0.2rem 0;
  line-height: 1.6;
}
.link-button {
  background: none;
  border: none;
  color: var(--text-primary);
  text-decoration: underline;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  margin: 0 0.1rem;
  font-weight: 500;
}
.link-button:hover {
  color: var(--color-secondary-dark);
}
@media (max-width: 600px) {
  .modern-register-container {
    padding: 1.5rem 0.5rem;
    max-width: 98vw;
  }
}
@keyframes registerFormFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.modern-register-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.modern-close-btn {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #888;
  cursor: pointer;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.modern-close-btn:hover {
  color: #4f8cff;
}
.modern-register-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #222;
  margin: 0;
}
.modern-register-subtitle {
  font-size: 1rem;
  color: #666;
  margin: 0;
}
.progress-indicator {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.progress-step {
  width: 18px;
  height: 6px;
  border-radius: 3px;
  background: #e0e7ef;
  transition: background 0.2s;
}
.progress-step.active {
  background: #4f8cff;
}
.modern-form-sections {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.modern-form-section {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1rem 1rem 0.5rem 1rem;
  box-shadow: 0 1px 4px rgba(60,72,88,0.06);
}
.modern-section-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.modern-section-icon {
  font-size: 1.2rem;
  color: #4f8cff;
}
.modern-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}
.modern-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.modern-input-row {
  display: flex;
  gap: 0.75rem;
}
.modern-input-wrapper {
  flex: 1 1;
}
.modern-input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #e0e7ef;
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
  transition: border 0.2s;
}
.modern-input:focus {
  border: 1.5px solid #4f8cff;
  outline: none;
}

.register_input_wrap {
  width: 100% !important;
}
.register_input_wrap input {
  background: var(--bg-secondary);
}
.register_input_wrap .input_error {
  max-width: 300px;
}
.register_input_wrap .error_arrow_bottom {
  transform: translateY(1px);
}
.error_arrow_right {
  border-right: 10px solid #b94a48;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  position: absolute;
  left: -10px;
  top: 14px;
}
@media (min-width: 539px) {
  .register_input_wrap .input_error {
    max-width: 100%;
  }
}

/* Register Input Component Styles */

.register-input-full-width {
  width: 100%;
}

.register-input-email-width {
  width: 370px;
}

.register-input-default-width {
  width: 300px;
}

.register-input-error-transform {
  transform: translateY(2px);
}

.register-input-error-left {
  left: -107%;
}

.register-input-error-right {
  left: 107%;
}

.user-type-selection {
  margin: 20px 0;
}

.user-type-header {
  text-align: center;
  margin-bottom: 24px;
}

.user-type-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.user-type-header p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

.user-type-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .user-type-options {
    grid-template-columns: 1fr;
  }
}

.user-type-card {
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.user-type-card:hover {
  border-color: #1877f2;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.1);
  transform: translateY(-2px);
}

.user-type-card.selected {
  border-color: #1877f2;
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.02) 0%, rgba(24, 119, 242, 0.05) 100%);
  box-shadow: 0 4px 16px rgba(24, 119, 242, 0.15);
}

.user-type-icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1;
}

.user-type-content {
  flex: 1 1;
}

.user-type-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  text-align: center;
}

.user-type-description {
  color: #666;
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.4;
}

.user-type-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.user-type-features li {
  padding: 6px 0;
  color: #555;
  font-size: 0.85rem;
  position: relative;
  padding-left: 20px;
}

.user-type-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #1877f2;
  font-weight: bold;
  font-size: 0.9rem;
}

.user-type-selector {
  position: absolute;
  top: 16px;
  right: 16px;
}

.radio-button {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.radio-button.selected {
  border-color: #1877f2;
  background: #1877f2;
}

.radio-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
}

.user-type-error {
  color: #e41e3f;
  font-size: 0.875rem;
  text-align: center;
  margin-top: 8px;
  padding: 8px;
  background: rgba(228, 30, 63, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(228, 30, 63, 0.2);
}

.content-creator-profile {
  margin: 20px 0;
}

.creator-section {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e1e5e9;
  margin-bottom: 16px;
}

.creator-section-header {
  text-align: center;
  margin-bottom: 24px;
}

.creator-section-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.creator-section-header h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.creator-section-header p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

.creator-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .creator-form-grid {
    grid-template-columns: 1fr;
  }
}

.creator-input-group {
  display: flex;
  flex-direction: column;
}

.creator-input-group.full-width {
  grid-column: span 2;
}

.creator-input-group label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.creator-input,
.creator-select,
.creator-textarea {
  padding: 12px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-bottom: 8px;
  font-family: inherit;
}

.creator-input:focus,
.creator-select:focus,
.creator-textarea:focus {
  outline: none;
  border-color: #1877f2;
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.1);
}

.creator-textarea {
  resize: vertical;
  min-height: 100px;
}

.character-count {
  font-size: 0.8rem;
  color: #666;
  text-align: right;
  margin-top: -4px;
}

.sports-selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 12px;
  gap: 12px;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .sports-selection-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sport-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
  position: relative;
}

.sport-checkbox:hover {
  background: rgba(24, 119, 242, 0.05);
}

.sport-checkbox input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 4px;
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.sport-checkbox input[type="checkbox"]:checked + .checkmark {
  background: #1877f2;
  border-color: #1877f2;
}

.sport-checkbox input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.sport-label {
  font-size: 0.9rem;
  color: #333;
  -webkit-user-select: none;
          user-select: none;
}

.creator-info-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(24, 119, 242, 0.05);
  border-left: 4px solid #1877f2;
  border-radius: 6px;
}

.info-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.creator-info-note p {
  margin: 0;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.4;
}

.creator-error {
  color: #e41e3f;
  font-size: 0.875rem;
  text-align: center;
  margin-top: 8px;
  padding: 12px;
  background: rgba(228, 30, 63, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(228, 30, 63, 0.2);
}

/* Modern Register Form Styles */
/* Responsive LogoLoader size for small screens */
.modern-loading-wrapper .modern-logo-loader {
  max-width: 80px;
  max-height: 80px;
}

@media (max-width: 480px) {
  .modern-loading-wrapper .modern-logo-loader {
    max-width: 48px;
    max-height: 48px;
  }
  .modern-register-header {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .modern-register-title {
    font-size: 22px;
    margin-bottom: 4px;
  }
  .modern-register-subtitle {
    font-size: 13px;
    margin-bottom: 2px;
  }
}

/* Backdrop and Container */
.modern-register-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(12, 189, 99, 0.05) 0%, rgba(102, 126, 234, 0.05) 100%);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  z-index: 1200; /* Lower z-index to allow MUI dropdowns to appear above */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modern-register-container {
  position: relative;
  background: var(--bg-primary);
  border-radius: 24px;
  box-shadow: 
    0 20px 60px rgba(12, 189, 99, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgba(12, 189, 99, 0.1);
  animation: slideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1300; /* Lower z-index to allow MUI dropdowns to appear above */
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Header */
.modern-register-header {
  position: relative;
  background: linear-gradient(135deg, var(--green-color) 0%, var(--green-color-dark) 100%);
  color: white;
  padding: 32px;
  border-radius: 24px 24px 0 0;
  text-align: center;
}

.modern-register-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  border-radius: 24px 24px 0 0;
  pointer-events: none;
}

.modern-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
  z-index: 1;
}

.modern-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.modern-register-title {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.modern-register-subtitle {
  font-size: 16px;
  opacity: 0.9;
  margin: 0;
  font-weight: 400;
}

/* Form Container */
.modern-register-form {
  padding: 40px;
  display: flex;
  flex-direction: column;
}

/* Progress Indicator */
.progress-indicator {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  gap: 12px;
}

.progress-step {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-third);
  transition: all 0.3s ease;
  position: relative;
}

.progress-step.active {
  background: linear-gradient(135deg, var(--green-color) 0%, var(--green-color-dark) 100%);
  box-shadow: 0 0 0 4px rgba(12, 189, 99, 0.2);
}

.progress-step::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  width: 12px;
  height: 2px;
  background: var(--bg-third);
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.progress-step:last-child::after {
  display: none;
}

.progress-step.completed::after {
  background: var(--green-color);
}

/* Form Sections */
.modern-form-sections {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 32px;
  gap: 32px;
}

@media (min-width: 768px) {
  .modern-form-sections {
    grid-template-columns: 1fr 1fr;
  }
  /* Make certain sections span both columns */
  .wide-section {
    grid-column: span 2;
  }
}

.modern-form-section {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(12, 189, 99, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
}

.modern-form-section:last-child {
  margin-bottom: 0;
}

.modern-form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-color) 0%, var(--blue-color) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modern-form-section:hover::before {
  opacity: 1;
}

.modern-form-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(12, 189, 99, 0.12);
  border-color: rgba(12, 189, 99, 0.2);
}

.modern-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(12, 189, 99, 0.1);
}

.modern-section-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--green-color) 0%, var(--green-color-dark) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 600;
}

.modern-section-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.3px;
}

/* Input Groups */
.modern-input-group {
  margin-bottom: 24px;
}

.modern-input-row {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 16px;
  gap: 16px;
}

@media (min-width: 480px) {
  .modern-input-row {
    grid-template-columns: 1fr 1fr;
  }
}

.modern-input-single {
  grid-column: span 2;
}

/* Enhanced Input Styling */
.modern-input-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.modern-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid rgba(12, 189, 99, 0.1);
  border-radius: 12px;
  background: var(--bg-primary);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.modern-input:focus {
  border-color: var(--green-color);
  box-shadow: 
    0 0 0 4px rgba(12, 189, 99, 0.1),
    0 4px 16px rgba(12, 189, 99, 0.15);
  transform: translateY(-1px);
  background: white;
}

.modern-input:hover:not(:focus) {
  border-color: rgba(12, 189, 99, 0.2);
  background: white;
  transform: translateY(-1px);
}

.modern-input.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

.modern-input::placeholder {
  color: var(--text-secondary);
  font-weight: 400;
}

/* Floating Labels */
.floating-label-wrapper {
  position: relative;
}

.floating-label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-primary);
  padding: 0 8px;
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 500;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.floating-label.active,
.modern-input:focus + .floating-label {
  top: 0;
  font-size: 14px;
  color: var(--green-color);
  font-weight: 600;
}

/* Enhanced Date and Gender Selects */
.modern-select-group {
  margin-bottom: 24px;
}

.modern-select-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.modern-select-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 12px;
  gap: 12px;
}

.modern-select {
  padding: 14px 16px;
  border: 2px solid rgba(12, 189, 99, 0.1);
  border-radius: 12px;
  background: var(--bg-primary);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  transition: all 0.3s ease;
  cursor: pointer;
  outline: none;
}

.modern-select:focus {
  border-color: var(--green-color);
  box-shadow: 0 0 0 4px rgba(12, 189, 99, 0.1);
}

.modern-select:hover {
  border-color: rgba(12, 189, 99, 0.2);
  background: white;
}

/* Gender Selection */
.modern-gender-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  grid-gap: 12px;
  gap: 12px;
  margin-top: 12px;
}

.modern-gender-option {
  position: relative;
}

.modern-gender-input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.modern-gender-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 2px solid rgba(12, 189, 99, 0.1);
  border-radius: 12px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-user-select: none;
          user-select: none;
}

.modern-gender-input:checked + .modern-gender-label {
  background: linear-gradient(135deg, var(--green-color) 0%, var(--green-color-dark) 100%);
  color: white;
  border-color: var(--green-color);
  box-shadow: 0 4px 16px rgba(12, 189, 99, 0.3);
  transform: translateY(-2px);
}

.modern-gender-label:hover {
  border-color: rgba(12, 189, 99, 0.3);
  background: white;
  transform: translateY(-1px);
}

/* Enhanced Info Text */
.modern-info-text {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-third) 100%);
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  border-left: 4px solid var(--green-color);
}

.modern-info-text a {
  color: var(--green-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.modern-info-text a:hover {
  color: var(--green-color-dark);
  text-decoration: underline;
}

/* Link-style buttons for accessibility */
.link-button {
  background: none;
  border: none;
  color: var(--green-color);
  text-decoration: none;
  font-weight: 600;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  margin: 0;
}

.link-button:hover,
.link-button:focus {
  color: var(--green-color-dark);
  text-decoration: underline;
  outline: none;
}

.link-button:focus-visible {
  outline: 2px solid var(--green-color);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Submit Button */
.modern-submit-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(12, 189, 99, 0.1);
}

.modern-submit-btn {
  background: linear-gradient(135deg, var(--green-color) 0%, var(--green-color-dark) 100%);
  color: white;
  border: none;
  border-radius: 16px;
  padding: 18px 48px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(12, 189, 99, 0.3);
  position: relative;
  overflow: hidden;
  min-width: 200px;
}

.modern-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.modern-submit-btn:hover::before {
  left: 100%;
}

.modern-submit-btn:hover {
  background: linear-gradient(135deg, var(--green-color-dark) 0%, #007A3F 100%);
  box-shadow: 0 8px 32px rgba(12, 189, 99, 0.4);
  transform: translateY(-2px);
}

.modern-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(12, 189, 99, 0.3);
}

.modern-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Loading State */
.modern-loading-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}

.modern-loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(12, 189, 99, 0.1);
  border-top: 3px solid var(--green-color);
  border-radius: 50%;
  animation: registerFormSpin 1s linear infinite;
}

@keyframes registerFormSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.modern-loading-text {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

/* Success and Error Messages */
.modern-message {
  padding: 16px 20px;
  border-radius: 12px;
  margin: 16px 0;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInMessage 0.3s ease;
}

@keyframes slideInMessage {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modern-message.success {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
  color: #155724;
  border: 1px solid rgba(40, 167, 69, 0.2);
}

.modern-message.error {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
  color: #721c24;
  border: 1px solid rgba(220, 53, 69, 0.2);
}

.modern-message-icon {
  font-size: 18px;
}

/* Error Styling for Inputs */
.modern-error-message {
  color: #dc3545;
  font-size: 13px;
  margin-top: 6px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.modern-error-icon {
  font-size: 14px;
}

/* Sports and Club History Sections */
.modern-sports-section,
.modern-club-section {
  background: var(--bg-primary);
  border-radius: 12px;
  padding: 20px;
  margin: 16px 0;
  border: 2px solid rgba(12, 189, 99, 0.1);
  transition: all 0.3s ease;
}

.modern-sports-section:hover,
.modern-club-section:hover {
  border-color: rgba(12, 189, 99, 0.2);
  box-shadow: 0 4px 16px rgba(12, 189, 99, 0.08);
}

/* Additional styles for new sections */
.modern-form-section {
  margin-bottom: 32px;
}

.modern-form-section:last-child {
  margin-bottom: 0;
}

/* User type selection spacing */
.modern-form-section .user-type-selection {
  margin: 0;
  padding: 0;
}

/* Content creator profile spacing */
.modern-form-section .content-creator-profile {
  margin: 0;
  padding: 0;
}

/* Enhanced Scrollbar */
.modern-register-container::-webkit-scrollbar {
  width: 8px;
}

.modern-register-container::-webkit-scrollbar-track {
  background: rgba(12, 189, 99, 0.05);
  border-radius: 4px;
}

.modern-register-container::-webkit-scrollbar-thumb {
  background: rgba(12, 189, 99, 0.3);
  border-radius: 4px;
}

.modern-register-container::-webkit-scrollbar-thumb:hover {
  background: rgba(12, 189, 99, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-register-container {
    margin: 10px;
    border-radius: 16px;
    max-height: 95vh;
  }
  
  .modern-register-header {
    padding: 24px 20px;
    border-radius: 16px 16px 0 0;
  }
  
  .modern-register-title {
    font-size: 24px;
  }
  
  .modern-register-form {
    padding: 24px 20px;
  }
  
  .modern-form-sections {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .modern-form-section {
    padding: 20px;
  }
  
  .modern-input_row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .modern-select_row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .modern-gender-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .modern-register-container {
    margin: 5px;
    max-height: 98vh;
  }
  
  .modern-register-header {
    padding: 20px 16px;
  }
  
  .modern-register-form {
    padding: 20px 16px;
  }
  
  .modern-form-section {
    padding: 16px;
  }
}

/* Dark mode support */
.dark .modern-register-container {
  background: var(--dark-bg-primary);
  border-color: rgba(74, 229, 132, 0.1);
}

.dark .modern-form-section {
  background: var(--dark-bg-secondary);
  border-color: rgba(74, 229, 132, 0.1);
}

.dark .modern-input {
  background: var(--dark-bg-primary);
  border-color: rgba(74, 229, 132, 0.15);
  color: var(--dark-color-primary);
}

.dark .modern-input:focus {
  border-color: var(--green-color);
  background: var(--dark-bg-secondary);
}

.dark .modern-select {
  background: var(--dark-bg-primary);
  border-color: rgba(74, 229, 132, 0.15);
  color: var(--dark-color-primary);
}

.dark .modern-gender-label {
  background: var(--dark-bg-primary);
  border-color: rgba(74, 229, 132, 0.15);
  color: var(--dark-color-primary);
}

.dark .floating-label {
  background: var(--dark-bg-primary);
  color: var(--dark-color-secondary);
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible for better accessibility */
.modern-submit-btn:focus-visible,
.modern-input:focus-visible,
.modern-select:focus-visible {
  outline: 2px solid var(--green-color);
  outline-offset: 2px;
}

/* Fixed header styles */
.MuiAppBar-root {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background-color: #FFFFFF !important;
  background: #FFFFFF !important;
  -webkit-backdrop-filter: none !important;
          backdrop-filter: none !important;
  opacity: 1 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* Ensure toolbar has solid background too */
.MuiAppBar-root .MuiToolbar-root {
  background-color: transparent !important;
}

/* Fix avatar sizing in menu items */
.MuiListItem-root .MuiListItemAvatar-root .MuiAvatar-root {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
}

.MuiListItem-root .MuiListItemAvatar-root .MuiAvatar-root .MuiSvgIcon-root {
  width: 20px !important;
  height: 20px !important;
  font-size: 20px !important;
}

/* Add space below header for content */
/* header spacing is handled by .app-main-content */
/*---Header left-----*/
.header_left {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0.8rem;
  padding-left: 8px;
  color: var(--text-primary);
}
.circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.circle:hover {
  background: rgba(12, 189, 99, 0.04);
  transform: scale(1.05);
}
.search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-forth);
  padding: 8px 28px 8px 8px;
  border-radius: 20px;
  cursor: text;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.search:hover {
  border-color: rgba(12, 189, 99, 0.2);
  background: var(--bg-secondary);
}
.search:focus-within {
  border-color: var(--green-color);
  background: var(--bg-primary);
  box-shadow: 0 0 0 3px rgba(12, 189, 99, 0.1);
}
.search input {
  outline: none;
  border: none;
  background: transparent;
  font-size: 15px;
  font-family: inherit;
}
.search input::placeholder {
  transform: translateY(-1px);
}
/*---Header left-----*/

/*---Header middle-----*/

.header_middle {
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(3px);
}
.middle_icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 125px;
  height: 50px;
  border-radius: 10px;
  cursor: pointer;
  transform: translateX(-2px);
}
.middle_icon:nth-child(2) {
  transform: translateX(-4px);
}
.middle_icon:nth-child(3) {
  transform: translateX(-3px);
}
.middle_icon:nth-child(4) {
  transform: translateX(-5px);
}
.middle_icon:nth-child(5) {
  transform: translateX(-5px);
}

/* Active states are now handled in MUI's styled components */
.middle_notification {
  position: absolute;
  top: 3px;
  right: 1.9rem;
  background: #e41e3f;
  border-radius: 50px;
  padding: 1px 5px;
  font-size: 13px;
  color: #fff;
}
/*---Header middle-----*/

/*---Header right-----*/

.header_right {
  display: flex;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}
.profile_link {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 3px 10px 3px 6px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  line-height: 19px;
  margin-right: 10px;
}
.profile_link img {
  width: 28.7px;
  height: 28.7px;
  border-radius: 50%;
  border: 1px solid #b0b3b8;
  transform: translateX(-1px);
}
.profile_link span {
  margin-bottom: 3px;
}
.circle_icon {
  position: relative;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  background: var(--bg-third);
  cursor: pointer;
}
.right_notification {
  position: absolute;
  top: -6px;
  right: -5px;
  background: #e41e3f;
  border-radius: 50px;
  padding: 1px 6px;
  font-size: 13px;
  color: #fff;
}
/*---Header right-----*/

/*---Search menu-----*/
.search_area {
  position: absolute;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  background: white;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-font-smoothing: antialiased;
  z-index: 1000;
  min-height: 400px;
  max-height: 75vh;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  overflow: hidden;
}

.search_area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
  background-size: 200% 100%;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.search_wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 16px 16px 0 0;
  width: 100%;
  box-sizing: border-box;
}

.search_area .search {
  padding: 12px 48px 12px 16px;
  width: 280px;
  gap: 8px;
  background: white;
  border-radius: 25px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.search_area .search::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(102, 126, 234, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 25px;
}

.search_area .search:focus-within::before {
  opacity: 1;
}

.search_area .search:focus-within {
  border-color: var(--blue-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.search_area .search input {
  padding-left: 8px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
}

.search_area .search input::placeholder {
  color: #95a5a6;
  font-weight: 400;
}

.search_area .search svg {
  transform: translateY(1px);
  transition: transform 0.3s ease;
}

.search_area .search:focus-within svg {
  transform: translateY(1px) scale(1.1);
  filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
}
.search_history {
  width: 100%;
  max-height: 60vh;
  overflow-y: auto;
  padding: 0 8px 16px;
}

.search_history::-webkit-scrollbar {
  width: 6px;
}

.search_history::-webkit-scrollbar-track {
  background: transparent;
}

.search_history::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 10px;
}

.search_history::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.search_results {
  width: 100%;
  max-height: 60vh;
  overflow-y: auto;
  padding: 0 8px 16px;
}

.search_results::-webkit-scrollbar {
  width: 6px;
}

.search_results::-webkit-scrollbar-track {
  background: transparent;
}

.search_results::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 10px;
}

.search_results::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.search_history_header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-size: 14px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  margin: 0;
  border-radius: 0;
}

.search_history_header span {
  font-weight: 700;
  font-size: 16px;
  color: #2c3e50;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search_history_header a {
  cursor: pointer;
  color: var(--blue-color);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  background: white;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.search_history_header a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

/*---Search menu-----*/
/*---Search All Menu-----*/
.all_menu {
  position: absolute;
  right: -9rem;
  top: 45px;
  background: var(--bg-secondary);
  border-radius: 10px;
  height: 90vh;
  width: 575px;
  padding: 10px 1rem;
  box-shadow: -2px 1px 5px 2px var(--shadow-1);
  -webkit-user-select: none;
          user-select: none;
}
.all_menu_header {
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}
.all_menu_wrap {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  grid-gap: 1rem;
  gap: 1rem;
  overflow-y: auto;
  height: 95%;
}

.all_left {
  background: var(--bg-primary);

  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.all_menu_search {
  background: var(--bg-secondary);

  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px;
  border-radius: 50px;
}
.all_menu_search input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 15px;
}
.all_menu_group {
  margin-top: 10px;
  border-bottom: 1px solid #ced0d4;
}
.all_menu_group_header {
  font-weight: 600;
  font-size: 16px;
  padding: 10px 0;
}
.all_menu_group {
  width: 100%;
}
.all_menu_item {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 5px;
  padding: 5px;
  cursor: pointer;
  border-radius: 10px;
}

.all_menu_item img {
  width: 36px;
  height: 36px;
  margin-right: 10px;
}
.all_menu_col {
  display: flex;
  flex-direction: column;
}
.all_menu_col span:first-of-type {
  font-size: 14px;
  font-weight: 500;
}
.all_menu_col span:last-of-type {
  font-size: 12px;
  color: #65676b;
  width: 95%;
}
.all_right {
  padding: 15px 10px;
  background: var(--bg-primary);
  margin-right: 1rem;
  border-radius: 10px;
  height: 550px;
  width: 170px;
  position: fixed;
  right: 2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.all_right_header {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.all_right_item {
  display: flex;
  align-items: center;
  font-weight: 600;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 10px;
  margin-bottom: 2px;
}

.all_right_circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-third);
}
/*---Search All Menu-----*/

/*-------User menu----*/

.mmenu {
  padding: 0 0.3rem;
  position: absolute;
  top: 100%;
  right: 0;
  width: 360px;
  border-radius: 10px;
  background: var(--bg-primary);
  box-shadow: 2px 2px 2px var(--shadow-1);
  -webkit-user-select: none;
          user-select: none;
  padding: 10px;
}
.mmenu_header {
  display: flex;
  align-items: center;
  padding: 5px;
  border-radius: 10px;
  gap: 10px;
}
.mmenu_header img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.mmenu_col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mmenu_col span:first-of-type {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
}
.mmenu_col span:last-of-type {
  font-size: 14px;
}
.mmenu_main {
  padding: 10px;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.mmenu_splitter {
  width: 100%;
  height: 1px;
  background: var(--bg-third);
  margin-top: 5px;
}
.mmenu_span1 {
  font-size: 14px !important;
}
.mmenu_span2 {
  font-size: 12px !important;
  color: var(--text-secondary);
}
.mmenu_item {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 5px;
  padding: 7px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
}
.rArrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.absolute_wrap {
  padding: 0 0.3rem;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 360px;
  height: -webkit-fit-content;
  height: fit-content;
  border-radius: 10px;
  background: var(--bg-primary);
  box-shadow: 2px 2px 2px var(--shadow-1);
  -webkit-user-select: none;
          user-select: none;
  padding: 10px;
}
.absolute_wrap .mmenu_item {
  margin-top: 0;
}
.absolute_wrap_header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 24px;
}

.absolute_wrap label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 50px;
  font-weight: 600;
  padding: 10px;
  cursor: pointer;
  border-radius: 10px;
}
.absolute_wrap label input {
  width: 20px;
  height: 20px;
}
.search_user_item i {
  position: absolute;
  right: 16px;
  transform: scale(0.8);
  color: #95a5a6;
  transition: all 0.3s ease;
  background: white;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search_user_item:hover i {
  color: #e74c3c;
  transform: scale(1);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/*-------User menu----*/
.search_results {
  width: 100%;
  max-height: 70vh;
  overflow-y: auto;
}
.search_history {
  width: 100%;
  max-height: 70vh;
  overflow-y: auto;
}
.search_user_item {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 4px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.search_user_item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
  transition: left 0.6s ease;
}

.search_user_item:hover::before {
  left: 100%;
}

.search_user_item:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  transform: translateX(8px);
  box-shadow: inset 4px 0 0 var(--blue-color), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search_user_item img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.search_user_item:hover img {
  transform: scale(1.1);
  border-color: var(--blue-color);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.search_user_item span {
  font-weight: 700;
  font-size: 15px;
  color: #2c3e50;
  transition: color 0.3s ease;
}

.search_user_item:hover span {
  color: var(--blue-color);
}

/*---responsive----------*/
@media (max-width: 1295px) {
  .middle_icon {
    width: 90px;
  }
}
@media (max-width: 1130px) {
  .middle_icon {
    width: 70px;
  }
}
@media (max-width: 1040px) {
  .search1 {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
  }
  .search1 input {
    display: none;
  }
  .header_middle {
    transform: translateX(-15%);
  }
}
@media (max-width: 945px) {
  .header_middle {
    transform: translateX(-22%);
  }
}
@media (max-width: 850px) {
  .header_middle {
    transform: translateX(-30%);
  }
  .middle_icon:nth-child(5) {
    display: none;
  }
}
@media (max-width: 770px) {
  .header_middle {
    transform: translateX(-37%);
  }
  .middle_icon:nth-child(4) {
    display: none;
  }
}
@media (max-width: 720px) {
  .middle_icon:nth-child(3) {
    display: none;
  }
}
/*---responsive----------*/
@media (max-width: 620px) {
  .profile_link {
    display: none;
  }
  .all_menu {
    width: 485px;
  }
  .all_left {
    width: 250px;
  }
}
@media (max-width: 550px) {
  .middle_icon:nth-child(1) {
    display: none;
  }
  .header_middle {
    transform: translateX(-20%);
  }
}
@media (max-width: 505px) {
  .all_menu {
    width: 340px;
    right: -9rem;
  }
  .all_menu_wrap {
    grid-template-columns: 1fr;
  }
  .all_left {
    width: 100%;
  }
  .all_right {
    position: relative;
    width: 100%;
    padding-left: 3rem;
    margin-bottom: 1rem;
  }
}
@media (max-width: 400px) {
  .header_right .circle_icon:nth-child(3) {
    display: none;
  }
  .mmenu {
    width: 290px;
  }
  .all_menu {
    width: 310px;
    left: -10rem;
  }
  .search_area {
    width: 310px;
  }
}
/*---responsive----------*/

/*----Active header----*/
.active_header {
  background: var(--light-blue-color);
}
.active_header svg {
  fill: var(--blue-color);
}
.active_link {
  background: var(--light-blue-color);
  color: var(--blue-color);
}
/*----Active header----*/

/* Header Component Styles */

.header-menu-overlay {
  position: fixed;
  top: 44px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998; /* Just below header */
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
}

.header-menu-button-auto {
  min-width: auto !important;
}

/* ========================================
   HEADER COMPONENT STYLES
========================================= */

/* Main App Bar */
.header-app-bar {
  background-color: var(--bg-primary) !important;
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--border-color);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: var(--transition-fast);
}

.header-app-bar::before {
  display: none;
}

.header-app-bar .MuiToolbar-root {
  background-color: transparent;
}

/* Toolbar Layout */
.header-toolbar {
  justify-content: space-between;
  padding-left: var(--spacing-sm);
  padding-right: var(--spacing-md);
  min-height: var(--header-height);
  height: var(--header-height);
  gap: var(--spacing-xs);
}

@media (min-width: 600px) {
  .header-toolbar {
    padding-left: var(--spacing-md);
    gap: var(--spacing-sm);
  }
}

/* Left Section */
.header-left-section {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

@media (min-width: 600px) {
  .header-left-section {
    gap: var(--spacing-lg);
  }
}

/* Logo Button */
.header-logo-button {
  padding: var(--spacing-xs);
  background: rgba(12, 189, 99, 0.06);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: var(--transition-spring);
}

.header-logo-button:hover {
  background: rgba(12, 189, 99, 0.1);
  border-color: rgba(12, 189, 99, 0.2);
  transform: translateY(-1px) scale(1.05);
  box-shadow: var(--shadow-green-md);
}

@media (min-width: 600px) {
  .header-logo-button {
    padding: var(--spacing-sm);
  }
}

/* Search Container */
.header-search-container {
  display: none;
  position: relative;
}

@media (min-width: 600px) {
  .header-search-container {
    display: block;
  }
}

/* Search Results Dropdown */
.header-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 400px;
  overflow-y: auto;
  z-index: var(--z-dropdown);
  margin-top: var(--spacing-xs);
}

.header-search-loading {
  padding: var(--spacing-lg);
}

.header-search-loading .MuiCircularProgress-root {
  display: block;
  margin: 0 auto var(--spacing-md);
}

.header-search-loading .MuiTypography-root {
  text-align: center;
  color: var(--text-secondary);
}

.header-search-section-header {
  margin-bottom: var(--spacing-md);
}

.header-search-section-title {
  font-weight: 600;
  color: var(--brand-green);
  margin-bottom: var(--spacing-sm);
}

.header-search-results-content {
  flex: 1 1;
}

.header-search-no-results {
  padding: var(--spacing-lg);
  text-align: center;
}

.header-search-no-results .MuiTypography-root {
  color: var(--text-secondary);
}

/* Right Section */
.header-right-section {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

@media (min-width: 600px) {
  .header-right-section {
    gap: var(--spacing-sm);
  }
}

/* Navigation Icons */
.header-nav-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  transition: var(--transition-fast);
}

.header-nav-icon:hover {
  background: var(--bg-secondary);
  transform: translateY(-1px);
}

.header-nav-icon--active {
  background: rgba(12, 189, 99, 0.1);
  color: var(--brand-green);
}

.header-nav-icon--active:hover {
  background: rgba(12, 189, 99, 0.15);
}

/* Navigation Icon - Mobile */
@media (max-width: 599px) {
  .header-nav-icon {
    width: 40px;
    height: 40px;
  }
}

/* Suggestions Icon */
.header-suggestions-icon {
  display: none;
}

@media (min-width: 600px) {
  .header-suggestions-icon {
    display: flex;
  }
}

/* Badge styling for notifications */
.header-notification-badge .MuiBadge-badge {
  background: var(--brand-green);
  color: white;
  font-weight: 600;
}

/* User Avatar */
.header-user-avatar {
  width: 36px;
  height: 36px;
  border: 2px solid var(--border-color);
  transition: var(--transition-fast);
}

.header-user-avatar:hover {
  border-color: var(--brand-green);
  transform: scale(1.05);
}

/* Menu Button */
.header-menu-button {
  display: flex;
}

@media (min-width: 600px) {
  .header-menu-button {
    display: none;
  }
}

/* Dark Theme Overrides */
.dark .header-app-bar {
  background-color: var(--bg-primary) !important;
  border-bottom-color: var(--border-color);
}

.dark .header-search-results {
  background: var(--bg-elevated);
  border-color: var(--border-color);
}

.dark .header-logo-button {
  background: rgba(74, 229, 132, 0.1);
}

.dark .header-logo-button:hover {
  background: rgba(74, 229, 132, 0.15);
  border-color: rgba(74, 229, 132, 0.3);
}

.dark .header-nav-icon--active {
  background: rgba(74, 229, 132, 0.15);
  color: var(--brand-green-light);
}

.dark .header-nav-icon--active:hover {
  background: rgba(74, 229, 132, 0.2);
}

/* Responsive Design */
@media (max-width: 480px) {
  .header-toolbar {
    padding-left: var(--spacing-xs);
    padding-right: var(--spacing-sm);
  }
  
  .header-left-section {
    gap: var(--spacing-xs);
  }
  
  .header-right-section {
    gap: 2px;
  }
}

.header-logo-btn {
  padding: 4px 8px;
  background-color: rgba(12, 189, 99, 0.06);
  border-radius: 4px;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 600px) {
  .header-logo-btn {
    padding: 8px;
  }
}

.header-logo-btn:hover {
  background-color: rgba(12, 189, 99, 0.1);
  border-color: rgba(12, 189, 99, 0.2);
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 4px 12px rgba(12, 189, 99, 0.2);
}

.header-search-container {
  position: relative;
  border-radius: 24px;
  background-color: rgba(12, 189, 99, 0.05);
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 0;
  width: 100%;
  display: none;
}

@media (min-width: 600px) {
  .header-search-container {
    display: block;
    margin-left: 8px;
    width: auto;
  }
}

.header-search-container:hover {
  border-color: rgba(12, 189, 99, 0.3);
  background-color: rgba(12, 189, 99, 0.08);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(12, 189, 99, 0.2);
}

.header-search-container:focus-within {
  border-color: #0cbd63;
  border-color: var(--mui-palette-primary-main, #0cbd63);
  background-color: rgba(12, 189, 99, 0.1);
  box-shadow: 0 0 0 4px rgba(12, 189, 99, 0.1),
    0 4px 12px rgba(12, 189, 99, 0.2);
  transform: translateY(-1px);
}

.header-search-icon {
  padding: 0 16px;
  height: 100%;
  position: absolute;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(12, 189, 99, 0.7);
}

.header-search-input {
  color: inherit;
}

.header-search-input .MuiInputBase-input {
  padding: 9.6px 8px 9.6px 0;
  padding-left: calc(1em + 32px);
  transition: width 0.3s ease, color 0.3s ease;
  width: 100%;
  color: var(--mui-palette-text-primary);
}

.header-search-input .MuiInputBase-input::placeholder {
  color: rgba(12, 189, 99, 0.6);
  opacity: 1;
}

@media (min-width: 600px) {
  .header-search-input .MuiInputBase-input {
    width: 20ch;
  }

  .header-search-input .MuiInputBase-input:focus {
    width: 30ch;
  }
}

.header-mobile-search-btn {
  display: flex;
}

@media (min-width: 600px) {
  .header-mobile-search-btn {
    display: none;
  }
}

.header-navigation {
  display: none;
  align-items: center;
  gap: 4px;
}

@media (min-width: 768px) {
  .header-navigation {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .header-navigation {
    gap: 8px;
  }
}

.header-nav-btn {
  min-width: 80px;
  height: 50px;
  border-radius: 4px;
  color: var(--mui-palette-text-secondary);
  border: none;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: none;
}

@media (max-width: 1024px) {
  .header-nav-btn {
    min-width: 70px;
  }
}

@media (max-width: 768px) {
  .header-nav-btn {
    min-width: 60px;
  }
}

.header-nav-btn.active {
  border-bottom: 3px solid #0cbd63;
  border-bottom: 3px solid var(--mui-palette-primary-main, #0cbd63);
  color: #0cbd63;
  color: var(--mui-palette-primary-main, #0cbd63);
  border-radius: 4px 4px 0 0;
  background-color: rgba(12, 189, 99, 0.08);
}

.header-nav-btn.active svg:not([class*="MuiSvgIcon"]) {
  transform: translateY(1px) scale(1.05);
}

.header-nav-btn:hover {
  background-color: rgba(12, 189, 99, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(12, 189, 99, 0.15);
  color: #0cbd63;
  color: var(--mui-palette-primary-main, #0cbd63);
}

.header-right-section {
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (min-width: 600px) {
  .header-right-section {
    gap: 8px;
  }
}

.header-profile-btn {
  border-radius: 48px;
  padding: 4px 12px;
  text-transform: none;
  color: var(--mui-palette-text-primary);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  display: none;
}

@media (min-width: 600px) {
  .header-profile-btn {
    display: flex;
    padding: 4px 8px;
  }
}

@media (min-width: 768px) {
  .header-profile-btn {
    padding: 4px 12px;
  }
}

.header-profile-btn:hover {
  background-color: rgba(12, 189, 99, 0.06);
  border-color: rgba(12, 189, 99, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(12, 189, 99, 0.15);
}

.header-profile-btn.active {
  background-color: rgba(12, 189, 99, 0.1);
  color: #0cbd63;
  color: var(--mui-palette-primary-main, #0cbd63);
  border-color: rgba(12, 189, 99, 0.3);
}

.header-profile-name {
  margin-left: 4px;
  font-weight: 600;
  display: none;
}

@media (min-width: 768px) {
  .header-profile-name {
    display: block;
  }
}

.header-mobile-profile-btn {
  display: flex;
}

@media (min-width: 600px) {
  .header-mobile-profile-btn {
    display: none;
  }
}

.header-icon-btn {
  color: var(--mui-palette-text-secondary);
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-icon-btn:hover {
  background-color: rgba(12, 189, 99, 0.06);
  color: #0cbd63;
  color: var(--mui-palette-primary-main, #0cbd63);
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 4px 12px rgba(12, 189, 99, 0.15);
}

.header-icon-btn.active {
  background-color: rgba(12, 189, 99, 0.1);
  color: #0cbd63;
  color: var(--mui-palette-primary-main, #0cbd63);
  box-shadow: 0 2px 8px rgba(12, 189, 99, 0.2);
}

.header-menu-btn {
  display: flex;
}

.header-messages-btn,
.header-notifications-btn {
  display: none;
}

@media (min-width: 600px) {
  .header-messages-btn,
  .header-notifications-btn {
    display: flex;
  }
}

.header-user-menu-btn {
  display: none;
}

@media (min-width: 600px) {
  .header-user-menu-btn {
    display: flex;
  }
}

/* Search Results Dropdown */
.header-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  background-color: var(--mui-palette-background-paper);
  border-radius: 8px;
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.15);
  max-height: 500px;
  overflow-y: auto;
  z-index: 10000;
  border: 1px solid var(--mui-palette-divider);
  width: 400px;
  min-width: 300px;
}

.header-search-loading {
  padding: 16px;
}

.header-search-loading-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.header-search-no-results {
  padding: 16px;
  text-align: center;
}

.header-search-section-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--mui-palette-text-primary);
  padding: 0 8px;
}

.header-search-result-item {
  cursor: pointer;
  padding: 4px 0;
}

.header-search-result-item:hover {
  background-color: var(--mui-palette-action-hover);
}

.header-search-result-text {
  max-width: 200px;
}

.header-search-result-text.primary {
  max-width: 200px;
}

.header-search-result-text.secondary {
  max-width: 200px;
}

.header-club-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #0cbd63;
  background-color: var(--mui-palette-primary-main, #0cbd63);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mui-palette-primary-contrastText);
  font-weight: 600;
  font-size: 1.2rem;
}

.header-search-view-all {
  padding: 8px;
  border-top: 1px solid var(--mui-palette-divider);
}

/* Badge positioning */
.header-badge .MuiBadge-badge {
  top: 6px;
  right: 6px;
}

.pictureBox {
  width: 700px !important;

  height: 700px;
}
.update_picture_wrap {
  padding: 10px 15px;
}
.update_picture_buttons {
  display: flex;
  gap: 10px;
}
.update_picture_buttons button {
  width: 100%;
}
.update_picture_buttons .light_blue_btn {
  color: var(--blue-color);
}
.update_img {
  color: var(--text-primary);
  height: 800px;
}
.update_image_desc {
  padding: 15px;
}
.textarea_blue {
  width: 100%;
  height: 85px;
  resize: none;
  border-radius: 7px;
  outline-offset: 5px;
  border-color: var(--bg-third);
  padding: 1.1rem;
  font-size: 16px;
  font-family: inherit;
  background: var(--bg-primary);
  color: var(--text-primary);
}
.textarea_blue:focus {
  outline-color: var(--blue-color);
}
.textarea_blue:hover {
  border-color: var(--color-secondary);
}
.update_center {
  position: relative;
  height: 400px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.crooper {
  position: relative;
  display: flex;
  justify-content: center;
  height: 300px;
  width: 100%;
}
.crooper img {
  width: 100%;
  object-fit: contain;
}
.update_img .reactEasyCrop_CropAreaGrid {
  width: 300px !important;
  height: 300px !important;
  color: rgba(255, 255, 255, 0.5);
}
.slider {
  position: absolute;
  bottom: -20px;
  width: 100%;
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.slider input[type="range"] {
  -webkit-appearance: none;
  width: 55%;
  height: 4px;
  background: #ced0d4;
}
.slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  outline: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 2px var(--shadow-1), 0 2px 2px 0 var(--shadow-2),
    inset 0 0 0 1px var(--shadow-inset);
  border: 1px solid var(--bg-third);
}
.slider_circle {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
}
.flex_up {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 2rem;
}
.flex_p_t {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  color: var(--text-secondary);
  font-size: 17px;
  border-bottom: 1px solid var(--bg-third);
}
.update_submit_wrap {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.blue_link {
  color: var(--blue-color);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.update_submit_wrap button {
  width: 110px !important;
}
.old_pictures_wrap {
  padding: 15px;
  overflow-y: auto;
  height: 550px;
}
.old_pictures_wrap h4 {
  padding: 10px 0;
}
.old_pictures {
  display: flex;
  flex-wrap: wrap;
  padding: 10px 0;
  gap: 10px;
}
.old_pictures img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  cursor: pointer;
  object-fit: cover;
}
.old_pictures img:hover {
  filter: brightness(110%);
}
.old_pictures:first-of-type {
  border-bottom: 1px solid var(--bg-third);
}
@media (max-width: 720px) {
  .postBox.pictureBox {
    width: 98% !important;
  }
}
@media (max-width: 589px) {
  .postBox .old_pictures {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  .postBox .old_pictures img {
    width: 100%;
    height: 110px;
  }
}
@media (max-width: 430px) {
  .postBox .old_pictures {
    grid-template-columns: repeat(3, 1fr);
  }
  .box_header span {
    transform: translateX(-2rem);
  }
}

/* Shared Match Popup Styles - Uniform styling for all sports */

/* Base Dialog Styles */
.match-popup-dialog {
  border-radius: 12px;
}

.match-popup-dialog .MuiPaper-root {
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Dialog Title Styles */
.match-popup-title {
  font-weight: 600;
  font-size: 1.5rem;
  text-align: center;
  padding: 20px 24px 16px 24px;
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  color: white;
  margin: 0;
}

/* Sport-specific title colors */
.match-popup-title.basketball {
  background: linear-gradient(135deg, #FF6B35 0%, #D84315 100%);
}

.match-popup-title.soccer {
  background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

.match-popup-title.tennis {
  background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.match-popup-title.hockey {
  background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.match-popup-title.rugby {
  background: linear-gradient(135deg, #795548 0%, #5D4037 100%);
}

.match-popup-title.netball {
  background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
}

.match-popup-title.cricket {
  background: linear-gradient(135deg, #607D8B 0%, #455A64 100%);
}

.match-popup-title.golf {
  background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
}

.match-popup-title.football {
  background: linear-gradient(135deg, #FF5722 0%, #D84315 100%);
}

/* Dialog Content Styles */
.match-popup-content {
  padding: 24px !important;
  background-color: #fafafa;
}

/* Form Section Styles */
.match-form-section {
  margin-bottom: 20px;
}

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

/* Form Row Layout */
.match-form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

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

/* Responsive form row - stack on mobile */
@media (max-width: 600px) {
  .match-form-row {
    flex-direction: column;
    gap: 16px;
  }
}

/* Field Group Labels */
.match-field-group-label {
  font-size: 1rem;
  font-weight: 500;
  color: #424242;
  margin-bottom: 12px;
  padding-left: 4px;
}

/* Input Field Styles */
.match-form-field {
  flex: 1 1;
  min-width: 0;
}

.match-form-field .MuiInputBase-root {
  font-size: 1.1rem;
  min-height: 56px;
  background-color: white;
  border-radius: 8px;
}

.match-form-field .MuiAutocomplete-input {
  font-size: 1.1rem;
}

.match-form-field .MuiInputLabel-root {
  font-size: 1rem;
  font-weight: 500;
}

.match-form-field .MuiFormControl-root {
  background-color: white;
  border-radius: 8px;
}

/* Specific styling for Autocomplete components */
.match-form-field .MuiAutocomplete-root .MuiInputBase-root {
  font-size: 1.1rem !important;
  min-height: 56px !important;
  background-color: white !important;
}

.match-form-field .MuiAutocomplete-root .MuiAutocomplete-input {
  font-size: 1.1rem !important;
}

.match-form-field .MuiAutocomplete-root .MuiInputLabel-root {
  font-size: 1rem !important;
  font-weight: 500 !important;
}

/* Ensure consistent sizing for club and team autocomplete */
.match-form-field .MuiAutocomplete-endAdornment {
  top: calc(50% - 12px) !important;
}

.match-form-field .MuiAutocomplete-clearIndicator,
.match-form-field .MuiAutocomplete-popupIndicator {
  padding: 8px !important;
}

/* Score Section Styling */
.match-score-section {
  background-color: rgba(25, 118, 210, 0.05);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(25, 118, 210, 0.1);
}

.match-score-section.basketball {
  background-color: rgba(255, 107, 53, 0.05);
  border-color: rgba(255, 107, 53, 0.1);
}

.match-score-section.soccer {
  background-color: rgba(76, 175, 80, 0.05);
  border-color: rgba(76, 175, 80, 0.1);
}

.match-score-section.tennis {
  background-color: rgba(255, 152, 0, 0.05);
  border-color: rgba(255, 152, 0, 0.1);
}

.match-score-section.hockey {
  background-color: rgba(33, 150, 243, 0.05);
  border-color: rgba(33, 150, 243, 0.1);
}

.match-score-section.rugby {
  background-color: rgba(121, 85, 72, 0.05);
  border-color: rgba(121, 85, 72, 0.1);
}

.match-score-section.netball {
  background-color: rgba(233, 30, 99, 0.05);
  border-color: rgba(233, 30, 99, 0.1);
}

.match-score-section.cricket {
  background-color: rgba(96, 125, 139, 0.05);
  border-color: rgba(96, 125, 139, 0.1);
}

.match-score-section.golf {
  background-color: rgba(76, 175, 80, 0.05);
  border-color: rgba(76, 175, 80, 0.1);
}

.match-score-section.football {
  background-color: rgba(255, 87, 34, 0.05);
  border-color: rgba(255, 87, 34, 0.1);
}

/* Button Styles */
.match-popup-actions {
  padding: 16px 24px 24px 24px !important;
  background-color: #fafafa;
  gap: 12px;
}

.cancel-button,
.match-popup-cancel-btn {
  border-radius: 8px !important;
  padding: 10px 24px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  border-color: #bdbdbd !important;
  color: #616161 !important;
}

.cancel-button:hover,
.match-popup-cancel-btn:hover {
  border-color: #9e9e9e !important;
  background-color: rgba(97, 97, 97, 0.04) !important;
}

.save-button,
.match-popup-save-btn {
  border-radius: 8px !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%) !important;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3) !important;
}

.save-button:hover,
.match-popup-save-btn:hover {
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%) !important;
  box-shadow: 0 6px 16px rgba(25, 118, 210, 0.4) !important;
}

.save-button:disabled,
.match-popup-save-btn:disabled {
  background: #e0e0e0 !important;
  color: #9e9e9e !important;
  box-shadow: none !important;
}

/* Sport-specific save button colors */
.basketball-theme .save-button,
.basketball-theme .match-popup-save-btn,
.save-button.basketball,
.match-popup-save-btn.basketball {
  background: linear-gradient(135deg, #FF6B35 0%, #D84315 100%) !important;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3) !important;
}

.basketball-theme .save-button:hover,
.basketball-theme .match-popup-save-btn:hover,
.save-button.basketball:hover,
.match-popup-save-btn.basketball:hover {
  background: linear-gradient(135deg, #D84315 0%, #BF360C 100%) !important;
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4) !important;
}

.soccer-theme .save-button,
.soccer-theme .match-popup-save-btn,
.save-button.soccer,
.match-popup-save-btn.soccer {
  background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%) !important;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3) !important;
}

.soccer-theme .save-button:hover,
.soccer-theme .match-popup-save-btn:hover,
.save-button.soccer:hover,
.match-popup-save-btn.soccer:hover {
  background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%) !important;
  box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4) !important;
}

.tennis-theme .save-button,
.tennis-theme .match-popup-save-btn,
.save-button.tennis,
.match-popup-save-btn.tennis {
  background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%) !important;
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3) !important;
}

.tennis-theme .save-button:hover,
.tennis-theme .match-popup-save-btn:hover,
.save-button.tennis:hover,
.match-popup-save-btn.tennis:hover {
  background: linear-gradient(135deg, #F57C00 0%, #E65100 100%) !important;
  box-shadow: 0 6px 16px rgba(255, 152, 0, 0.4) !important;
}

.hockey-theme .save-button,
.hockey-theme .match-popup-save-btn,
.save-button.hockey,
.match-popup-save-btn.hockey {
  background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%) !important;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3) !important;
}

.hockey-theme .save-button:hover,
.hockey-theme .match-popup-save-btn:hover,
.save-button.hockey:hover,
.match-popup-save-btn.hockey:hover {
  background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%) !important;
  box-shadow: 0 6px 16px rgba(33, 150, 243, 0.4) !important;
}

.rugby-theme .save-button,
.rugby-theme .match-popup-save-btn,
.save-button.rugby,
.match-popup-save-btn.rugby {
  background: linear-gradient(135deg, #795548 0%, #5D4037 100%) !important;
  box-shadow: 0 4px 12px rgba(121, 85, 72, 0.3) !important;
}

.rugby-theme .save-button:hover,
.rugby-theme .match-popup-save-btn:hover,
.save-button.rugby:hover,
.match-popup-save-btn.rugby:hover {
  background: linear-gradient(135deg, #5D4037 0%, #3E2723 100%) !important;
  box-shadow: 0 6px 16px rgba(121, 85, 72, 0.4) !important;
}

.netball-theme .save-button,
.netball-theme .match-popup-save-btn,
.save-button.netball,
.match-popup-save-btn.netball {
  background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%) !important;
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3) !important;
}

.netball-theme .save-button:hover,
.netball-theme .match-popup-save-btn:hover,
.save-button.netball:hover,
.match-popup-save-btn.netball:hover {
  background: linear-gradient(135deg, #C2185B 0%, #AD1457 100%) !important;
  box-shadow: 0 6px 16px rgba(233, 30, 99, 0.4) !important;
}

.cricket-theme .save-button,
.cricket-theme .match-popup-save-btn,
.save-button.cricket,
.match-popup-save-btn.cricket {
  background: linear-gradient(135deg, #607D8B 0%, #455A64 100%) !important;
  box-shadow: 0 4px 12px rgba(96, 125, 139, 0.3) !important;
}

.cricket-theme .save-button:hover,
.cricket-theme .match-popup-save-btn:hover,
.save-button.cricket:hover,
.match-popup-save-btn.cricket:hover {
  background: linear-gradient(135deg, #455A64 0%, #263238 100%) !important;
  box-shadow: 0 6px 16px rgba(96, 125, 139, 0.4) !important;
}

.golf-theme .save-button,
.golf-theme .match-popup-save-btn,
.save-button.golf,
.match-popup-save-btn.golf {
  background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%) !important;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3) !important;
}

.golf-theme .save-button:hover,
.golf-theme .match-popup-save-btn:hover,
.save-button.golf:hover,
.match-popup-save-btn.golf:hover {
  background: linear-gradient(135deg, #388E3C 0%, #2E7D32 100%) !important;
  box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4) !important;
}

.football-theme .save-button,
.football-theme .match-popup-save-btn,
.save-button.football,
.match-popup-save-btn.football {
  background: linear-gradient(135deg, #FF5722 0%, #D84315 100%) !important;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3) !important;
}

.football-theme .save-button:hover,
.football-theme .match-popup-save-btn:hover,
.save-button.football:hover,
.match-popup-save-btn.football:hover {
  background: linear-gradient(135deg, #D84315 0%, #BF360C 100%) !important;
  box-shadow: 0 6px 16px rgba(255, 87, 34, 0.4) !important;
}

/* Error Message Styling */
.match-popup-error {
  background-color: rgba(244, 67, 54, 0.05) !important;
  border: 1px solid rgba(244, 67, 54, 0.2) !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  margin-bottom: 16px !important;
}

/* Responsive Design */
@media (max-width: 600px) {
  .match-popup-content {
    padding: 16px !important;
  }
  
  .match-popup-actions {
    padding: 12px 16px 16px 16px !important;
  }
  
  .match-form-field .MuiInputBase-root {
    font-size: 1rem;
    min-height: 48px;
  }
  
  .match-form-field .MuiAutocomplete-input {
    font-size: 1rem;
  }
  
  /* Mobile autocomplete sizing */
  .match-form-field .MuiAutocomplete-root .MuiInputBase-root {
    font-size: 1rem !important;
    min-height: 48px !important;
  }
  
  .match-form-field .MuiAutocomplete-root .MuiAutocomplete-input {
    font-size: 1rem !important;
  }
  
  .match-form-field .MuiAutocomplete-endAdornment {
    top: calc(50% - 10px) !important;
  }
  
  .match-form-field .MuiAutocomplete-clearIndicator,
  .match-form-field .MuiAutocomplete-popupIndicator {
    padding: 6px !important;
  }
}

/* Animation for popup entrance */
@keyframes matchPopupSlideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.match-popup-dialog .MuiPaper-root {
  animation: matchPopupSlideUp 0.3s ease-out;
}

/* Tennis Match Popup Specific Styles */

.tennis-scoring-section {
  margin: 16px 0;
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #fafafa;
}

.scoring-title {
  margin-bottom: 16px !important;
  color: #2e7d32;
  font-weight: 600 !important;
  text-align: center;
}

/* Game Type Selection Styling */
.match-form-field .MuiInputLabel-root {
  color: #2e7d32;
}

.match-form-field .MuiSelect-root {
  border-color: #2e7d32;
}

.match-form-field .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline {
  border-color: #2e7d32;
}

.match-form-field .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
  border-color: #2e7d32;
}

/* Player Names Header */
.player-names-header {
  display: none; /* Hidden since we use player labels in scoreboard */
}

/* Tennis Scoreboard Grid */
.tennis-scoreboard {
  background: white;
  border-radius: 8px;
  border: 2px solid #2e7d32;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.1);
}

.set-headers {
  display: grid;
  grid-template-columns: 140px repeat(auto-fit, minmax(80px, 1fr)) 60px;
  background: linear-gradient(135deg, #2e7d32, #4caf50);
  color: white;
  font-weight: 600;
}

.set-header-spacer {
  padding: 12px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.set-header {
  padding: 12px 8px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 14px;
}

.sets-won-header {
  padding: 12px 8px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
}

/* Score Rows */
.score-row {
  display: grid;
  grid-template-columns: 140px repeat(auto-fit, minmax(80px, 1fr)) 60px;
  border-bottom: 1px solid #e0e0e0;
  min-height: 60px;
  align-items: center;
}

.home-row {
  background: #f8f9fa;
}

.away-row {
  background: #ffffff;
}

.score-row:hover {
  background: #f0f8f0;
}

.player-label {
  padding: 12px 8px;
  font-weight: 600;
  color: #2e7d32;
  border-right: 1px solid #e0e0e0;
  font-size: 13px;
  display: flex;
  align-items: center;
  word-break: break-word;
  line-height: 1.2;
}

/* Score Cells */
.score-cell {
  padding: 8px;
  text-align: center;
  border-right: 1px solid #e0e0e0;
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.score-cell.winner {
  background: linear-gradient(135deg, #e8f5e8, #c8e6c8);
  font-weight: bold;
}

.score-cell.winner::after {
  content: "🏆";
  position: absolute;
  top: 2px;
  right: 2px;
  font-size: 12px;
}

.score-cell.completed {
  background: #f5f5f5;
}

.score-cell.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.games-input-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.games-input {
  width: 50px !important;
}

.games-input .MuiInput-input {
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  padding: 4px 0;
}

.tiebreak-input {
  width: 40px !important;
}

.tiebreak-input .MuiInput-input {
  text-align: center;
  font-size: 12px;
  padding: 2px 0;
  color: #666;
}

.tiebreak-input .MuiInput-input::placeholder {
  color: #999;
  font-size: 10px;
}

/* Sets Won Cell */
.sets-won-cell {
  padding: 12px 8px;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  color: #2e7d32;
  background: rgba(46, 125, 50, 0.1);
}

/* Score Preview */
.score-preview {
  margin-top: 16px;
  padding: 12px;
  background: white;
  border-radius: 6px;
  border-left: 4px solid #2e7d32;
  text-align: center;
}

.score-preview .MuiTypography-root {
  margin-bottom: 4px;
}

.match-status {
  font-weight: 600 !important;
  font-size: 16px !important;
}

/* Doubles section styling */
.doubles-section-title {
  color: #2e7d32 !important;
  font-weight: 600 !important;
  margin: 12px 0 8px 0 !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Legacy styles for backward compatibility */
.sets-container {
  display: none; /* Hidden since we use new scoreboard */
}

.set-row {
  display: none; /* Hidden since we use new scoreboard */
}

/* Tennis-specific form styles */
.tennis .match-popup-title {
  background: linear-gradient(135deg, #2e7d32, #4caf50);
  color: white;
}

.tennis .match-popup-save-btn {
  background: linear-gradient(135deg, #2e7d32, #4caf50);
}

.tennis .match-popup-save-btn:hover {
  background: linear-gradient(135deg, #1b5e20, #2e7d32);
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
  .tennis-scoreboard {
    font-size: 12px;
  }
  
  .set-headers {
    grid-template-columns: 100px repeat(auto-fit, minmax(60px, 1fr)) 50px;
  }
  
  .score-row {
    grid-template-columns: 100px repeat(auto-fit, minmax(60px, 1fr)) 50px;
    min-height: 50px;
  }
  
  .player-label {
    font-size: 11px;
    padding: 8px 4px;
  }
  
  .set-header {
    font-size: 12px;
    padding: 8px 4px;
  }
  
  .games-input {
    width: 40px !important;
  }
  
  .games-input .MuiInput-input {
    font-size: 14px;
  }
  
  .tiebreak-input {
    width: 30px !important;
  }
  
  .sets-won-cell {
    font-size: 16px;
    padding: 8px 4px;
  }
}

@media (max-width: 480px) {
  .tennis-scoreboard {
    font-size: 11px;
  }
  
  .set-headers {
    grid-template-columns: 80px repeat(auto-fit, minmax(50px, 1fr)) 40px;
  }
  
  .score-row {
    grid-template-columns: 80px repeat(auto-fit, minmax(50px, 1fr)) 40px;
    min-height: 45px;
  }
  
  .player-label {
    font-size: 10px;
    padding: 6px 2px;
  }
  
  .set-header {
    font-size: 11px;
    padding: 6px 2px;
  }
  
  .games-input {
    width: 35px !important;
  }
  
  .games-input .MuiInput-input {
    font-size: 12px;
  }
  
  .tiebreak-input {
    width: 25px !important;
  }
  
  .sets-won-cell {
    font-size: 14px;
    padding: 6px 2px;
  }
}

/*!
 * Quill Editor v2.0.3
 * https://quilljs.com
 * Copyright (c) 2017-2024, Slab
 * Copyright (c) 2014, Jason Chen
 * Copyright (c) 2013, salesforce.com
 */
.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container:not(.ql-disabled) li[data-list=checked] > .ql-ui,.ql-container:not(.ql-disabled) li[data-list=unchecked] > .ql-ui{cursor:pointer}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;-o-tab-size:4;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor > *{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0}@supports (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-set:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor table{border-collapse:collapse}.ql-editor td{border:1px solid #000;padding:2px 5px}.ql-editor ol{padding-left:1.5em}.ql-editor li{list-style-type:none;padding-left:1.5em;position:relative}.ql-editor li > .ql-ui:before{display:inline-block;margin-left:-1.5em;margin-right:.3em;text-align:right;white-space:nowrap;width:1.2em}.ql-editor li[data-list=checked] > .ql-ui,.ql-editor li[data-list=unchecked] > .ql-ui{color:#777}.ql-editor li[data-list=bullet] > .ql-ui:before{content:'\2022'}.ql-editor li[data-list=checked] > .ql-ui:before{content:'\2611'}.ql-editor li[data-list=unchecked] > .ql-ui:before{content:'\2610'}@supports (counter-set:none){.ql-editor li[data-list]{counter-set:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list]{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered]{counter-increment:list-0}.ql-editor li[data-list=ordered] > .ql-ui:before{content:counter(list-0, decimal) '. '}.ql-editor li[data-list=ordered].ql-indent-1{counter-increment:list-1}.ql-editor li[data-list=ordered].ql-indent-1 > .ql-ui:before{content:counter(list-1, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-set:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-2{counter-increment:list-2}.ql-editor li[data-list=ordered].ql-indent-2 > .ql-ui:before{content:counter(list-2, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-set:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-3{counter-increment:list-3}.ql-editor li[data-list=ordered].ql-indent-3 > .ql-ui:before{content:counter(list-3, decimal) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-set:list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-4{counter-increment:list-4}.ql-editor li[data-list=ordered].ql-indent-4 > .ql-ui:before{content:counter(list-4, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-set:list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-5{counter-increment:list-5}.ql-editor li[data-list=ordered].ql-indent-5 > .ql-ui:before{content:counter(list-5, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-set:list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-6{counter-increment:list-6}.ql-editor li[data-list=ordered].ql-indent-6 > .ql-ui:before{content:counter(list-6, decimal) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-set:list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-reset:list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-7{counter-increment:list-7}.ql-editor li[data-list=ordered].ql-indent-7 > .ql-ui:before{content:counter(list-7, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-set:list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-reset:list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-8{counter-increment:list-8}.ql-editor li[data-list=ordered].ql-indent-8 > .ql-ui:before{content:counter(list-8, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-set:list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-reset:list-9}}.ql-editor li[data-list=ordered].ql-indent-9{counter-increment:list-9}.ql-editor li[data-list=ordered].ql-indent-9 > .ql-ui:before{content:counter(list-9, decimal) '. '}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor li.ql-direction-rtl{padding-right:1.5em}.ql-editor li.ql-direction-rtl > .ql-ui:before{margin-left:.3em;margin-right:-1.5em;text-align:left}.ql-editor table{table-layout:fixed;width:100%}.ql-editor table td{outline:none}.ql-editor .ql-code-block-container{font-family:monospace}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor .ql-ui{position:absolute}.ql-editor.ql-blank::before{color:rgba(0,0,0,0.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:'';display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow{box-sizing:border-box}.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:'';display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor .ql-code-block-container{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor .ql-code-block-container{margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor .ql-code-block-container{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label::before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label::before,.ql-snow .ql-picker.ql-header .ql-picker-item::before{content:'Normal'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before{content:'Heading 1'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before{content:'Heading 2'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before{content:'Heading 3'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before{content:'Heading 4'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before{content:'Heading 5'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before{content:'Heading 6'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label::before,.ql-snow .ql-picker.ql-font .ql-picker-item::before{content:'Sans Serif'}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before{content:'Serif'}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before{content:'Monospace'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label::before,.ql-snow .ql-picker.ql-size .ql-picker-item::before{content:'Normal'}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before{content:'Small'}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before{content:'Large'}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before{content:'Huge'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-code-block-container{position:relative}.ql-code-block-container .ql-ui{right:5px;top:5px}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:'Helvetica Neue','Helvetica','Arial',sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:rgba(0,0,0,0.2) 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label{border-color:#ccc}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow + .ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip::before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action::after{border-right:1px solid #ccc;content:'Edit';margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove::before{content:'Remove';margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action::after{border-right:0;content:'Save';padding-right:0}.ql-snow .ql-tooltip[data-mode=link]::before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]::before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]::before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}
/* ==========================================================================
   QuillEditor - Clean Article Writing Interface
   ========================================================================== */

/* Base Editor Container */
.quill-editor {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  font-family: system-ui, -apple-system, sans-serif;
  width: 100%;
  max-width: none;
}

.quill-editor--large {
  min-height: 400px;
}

/* ==========================================================================
   Toolbar Styles
   ========================================================================== */

.quill-editor .ql-toolbar {
  border: none;
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 16px;
  background: #f8f9fa;
  min-height: 52px;
  display: flex;
  align-items: center;
}

.quill-editor .ql-toolbar .ql-formats {
  margin-right: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.quill-editor .ql-toolbar .ql-formats:last-child {
  margin-right: 0;
}

/* Toolbar Buttons */
.quill-editor .ql-toolbar button {
  border: none;
  background: transparent;
  color: #4a5568;
  padding: 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quill-editor .ql-toolbar button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: currentColor;
}

.quill-editor .ql-toolbar button:hover {
  background: #e2e8f0;
  color: #2d3748;
}

.quill-editor .ql-toolbar button.ql-active {
  background: #0CBD63;
  color: white;
}

/* Fix Quill icon rendering */
.quill-editor .ql-toolbar .ql-stroke {
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.quill-editor .ql-toolbar .ql-fill {
  fill: currentColor;
  stroke: none;
}

.quill-editor .ql-toolbar .ql-stroke.ql-fill {
  fill: currentColor;
  stroke: currentColor;
}

/* Ensure specific icons are visible */
.quill-editor .ql-toolbar button svg path,
.quill-editor .ql-toolbar .ql-picker-label svg path {
  stroke: currentColor;
  fill: currentColor;
}

/* Additional icon visibility enhancements */
.quill-editor .ql-toolbar button svg,
.quill-editor .ql-toolbar .ql-picker-label svg {
  opacity: 1 !important;
  fill: #4a5568 !important;
  stroke: #4a5568 !important;
  width: 18px;
  height: 18px;
  color: #4a5568;
}

.quill-editor .ql-toolbar button:hover svg,
.quill-editor .ql-toolbar .ql-picker-label:hover svg {
  fill: #2d3748 !important;
  stroke: #2d3748 !important;
}

/* Fix any remaining icon visibility issues */
.quill-editor .ql-toolbar .ql-formats button svg * {
  stroke: currentColor;
  fill: currentColor;
}

.quill-editor .ql-toolbar .ql-formats .ql-picker svg * {
  stroke: currentColor;
  fill: currentColor;
}

/* ==========================================================================
   Editor Content
   ========================================================================== */

.quill-editor .ql-container {
  border: none;
  font-size: 16px;
  line-height: 1.6;
  width: 100%;
}

.quill-editor .ql-editor {
  padding: 24px;
  min-height: 300px;
  color: #2d3748;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.quill-editor .ql-editor:focus {
  outline: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */

.quill-editor .ql-editor h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 1.5em 0 0.5em 0;
  color: #1a202c;
}

.quill-editor .ql-editor h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 1.2em 0 0.4em 0;
  color: #1a202c;
}

.quill-editor .ql-editor h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 1em 0 0.3em 0;
  color: #1a202c;
}

.quill-editor .ql-editor p {
  margin: 0 0 1em 0;
  line-height: 1.6;
  color: #4a5568;
}

/* ==========================================================================
   Content Elements
   ========================================================================== */

/* Blockquotes */
.quill-editor .ql-editor blockquote {
  border-left: 4px solid #0CBD63;
  margin: 1.5em 0;
  padding: 0.5em 0 0.5em 1em;
  background: #f7fafc;
  font-style: italic;
  color: #718096;
}

/* Lists */
.quill-editor .ql-editor ul,
.quill-editor .ql-editor ol {
  margin: 1em 0;
  padding-left: 1.5em;
}

.quill-editor .ql-editor li {
  margin: 0.25em 0;
  line-height: 1.6;
}

/* Links */
.quill-editor .ql-editor a {
  color: #0CBD63;
  text-decoration: underline;
}

.quill-editor .ql-editor a:hover {
  color: #38a169;
}

/* Code */
.quill-editor .ql-editor code {
  background: #edf2f7;
  color: #e53e3e;
  padding: 2px 4px;
  border-radius: 3px;
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.9em;
}

.quill-editor .ql-editor .ql-code-block {
  background: #2d3748;
  color: #e2e8f0;
  padding: 1em;
  border-radius: 6px;
  margin: 1em 0;
  font-family: "SF Mono", Monaco, monospace;
  line-height: 1.4;
}

/* Images */
.quill-editor .ql-editor img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1em 0;
}

/* ==========================================================================
   Placeholder
   ========================================================================== */

.quill-editor .ql-editor.ql-blank::before {
  color: #a0aec0;
  font-style: italic;
  left: 24px;
  right: 24px;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
  .quill-editor .ql-toolbar {
    padding: 8px 12px;
    min-height: 48px;
  }
  
  .quill-editor .ql-toolbar button {
    width: 30px;
    height: 30px;
    padding: 5px;
  }
  
  .quill-editor .ql-toolbar button svg {
    width: 16px;
    height: 16px;
  }
  
  .quill-editor .ql-toolbar .ql-picker-label {
    padding: 5px 6px;
    font-size: 13px;
  }
  
  .quill-editor .ql-editor {
    padding: 16px;
    font-size: 15px;
  }
  
  .quill-editor .ql-editor h1 {
    font-size: 1.75rem;
  }
  
  .quill-editor .ql-editor h2 {
    font-size: 1.375rem;
  }
  
  .quill-editor .ql-editor h3 {
    font-size: 1.125rem;
  }
}

/* CreateArticleDialog Component Styles */

.create-article-dialog__hidden-input {
  display: none;
}

.create-article-dialog__cover-preview {
  max-width: 100%;
  max-height: 200px;
  border-radius: 8px;
}

.create-article-dialog__youtube-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.create-article-dialog__youtube-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.createPost {
  background: var(--bg-primary);
  border-radius: 10px;
  box-shadow: 0 1px 2px var(--shadow-1);
  margin-top: 0.8rem;
  width: 100%;
  cursor: pointer;
}
.createPost_header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px 4px 12px;
}
.createPost_header img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.open_post {
  background: var(--bg-forth);
  color: var(--text-secondary);
  height: 38px;
  flex: 1 1;
  border-radius: 50px;
  font-size: 16px;
  line-height: 20px;
  display: flex;
  align-items: center;
  padding-left: 10px;
}
.create_splitter {
  height: 1px;
  width: 95%;
  background: var(--bg-third);
  margin: 5px 8px;
}
.createPost_body {
  padding: 0 8px 6px 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.createPost_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  padding: 5px;
  color: var(--text-secondary);
  border-radius: 10px;
  font-size: 13px;
}

/* Unified Sports Feed Styling - Enhanced Version */
.unified-feed {
  margin-top: 1rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: postFadeIn 0.6s ease-out;
}

@keyframes postFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feed-header {
  background: linear-gradient(135deg, #0CBD63 0%, #00A854 100%);
  border-radius: 16px;
  padding: 24px;
  color: white;
  text-align: center;
  box-shadow: 0 8px 32px rgba(12, 189, 99, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feed-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(12, 189, 99, 0.3);
}

.feed-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

.feed-header h3 {
  margin: 0 0 8px 0;
  font-size: 1.8rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  animation: slideInDown 0.8s ease-out;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feed-header p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
  animation: slideInUp 0.8s ease-out 0.2s both;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.empty-feed {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #F8FBF9 0%, #F0FDF2 100%);
  border-radius: 16px;
  border: 2px dashed #dee2e6;
}

.empty-feed-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.empty-feed h3 {
  color: var(--text-primary);
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.empty-feed p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.match-feed-item {
  margin-bottom: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.1);
  overflow: hidden;
  background: var(--bg-primary);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.match-feed-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  z-index: 1;
}

.match-feed-item:hover {
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
  transform: translateY(-2px);
  border-color: rgba(102, 126, 234, 0.3);
}

.posts {
  margin-top: 1rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.post {
  position: relative;
  width: 100%;
  max-width: 100%;
  background: var(--bg-primary);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  -webkit-user-select: none;
          user-select: none;
  color: var(--text-primary);
  margin-bottom: 0;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  overflow: hidden;
}

.post::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  z-index: 1;
}

.post:hover {
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
  transform: translateY(-2px);
  border-color: rgba(102, 126, 234, 0.3);
}
.post_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px 24px;
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
  position: relative;
  z-index: 2;
}
.post_header_left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.post_header_left img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(102, 126, 234, 0.2);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
  transition: all 0.3s ease;
}

.post_header_left img:hover {
  border-color: rgba(102, 126, 234, 0.5);
  transform: scale(1.05);
}
.header_col {
  display: flex;
  flex-direction: column;
}
.post_profile_name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  color: var(--text-primary);
  background: linear-gradient(45deg, #667eea, #764ba2);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.updated_p {
  color: var(--text-secondary);
  font-weight: normal;
}
.post_profile_privacy_date {
  margin-top: 2px;
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}
.post_bg {
  height: 500px;
  padding: 15px;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 22px;
  background-repeat: no-repeat;
  background-size: cover;
}
.post_text {
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-primary);
  word-wrap: break-word;
}

.post_infos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid rgba(102, 126, 234, 0.1);
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
  font-weight: 600;
  color: var(--text-primary);
}
.post_bg_text {
  color: #000;
}

/*-----------------------------GRID IMAGES----------------*/
.grid_1 img {
  width: 100%;
  height: 610px;
  object-fit: cover;
}
.grid_1 {
  display: flex;
  height: 610px;
  justify-content: center;
}
.grid_2 {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  background: #fff;
  grid-gap: 1px;
  gap: 1px;
}
.grid_2 img:first-of-type {
  width: 100%;
  grid-column-start: 1;
  grid-column-end: 2;
  height: 610px;
  object-fit: cover;
}
.grid_2 img:last-of-type {
  width: 100%;
  grid-column-start: 2;
  grid-column-end: 3;
  height: 610px;
  object-fit: cover;
}
.grid_3 {
  width: 100%;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  background: #fff;
  grid-gap: 1px;
  gap: 1px;
}
.grid_3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.grid_3 .img-0 {
  width: 100%;
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 1;
  grid-row-end: 3;
  height: 610px;
  object-fit: cover;
}
.grid_3 .img-1 {
  width: 100%;
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 2;
  height: 305px;
  object-fit: cover;
}
.grid_3 .img-2 {
  width: 100%;
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 2;
  grid-row-end: 3;
  height: 305px;
  object-fit: cover;
}
.grid_4 {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  background: #fff;
  grid-gap: 1px;
  gap: 1px;
}
.grid_4 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.grid_4 .img-0 {
  width: 100%;
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 1;
  grid-row-end: 2;
  height: 305px;
  object-fit: cover;
}
.grid_4 .img-1 {
  width: 100%;
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 2;
  grid-row-end: 3;
  height: 305px;
  object-fit: cover;
}
.grid_4 .img-2 {
  width: 100%;
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 2;
  grid-row-end: 3;
  height: 305px;
  object-fit: cover;
}
.grid_4 .img-3 {
  width: 100%;
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row-start: 2;
  grid-row-end: 3;
  height: 305px;
  object-fit: cover;
}
.grid_5 {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 1fr 1fr;
  background: #fff;
  grid-gap: 1px;
  gap: 1px;
}
.grid_5 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.grid_5 .img-0 {
  width: 100%;
  grid-column: span 3;
  grid-row-start: 1;
  grid-row-end: 2;
  height: 305px;
  object-fit: cover;
}
.grid_5 .img-1 {
  width: 100%;
  grid-column: span 3;

  grid-row-start: 1;
  grid-row-end: 2;
  height: 305px;
  object-fit: cover;
}
.grid_5 .img-2 {
  width: 100%;
  grid-column: span 2;

  grid-row-start: 2;
  grid-row-end: 3;
  height: 305px;
  object-fit: cover;
}
.grid_5 .img-3 {
  width: 100%;
  grid-column: span 2;

  grid-row-start: 2;
  grid-row-end: 3;
  height: 305px;
  object-fit: cover;
}
.grid_5 .img-4 {
  width: 100%;
  grid-column: span 3;
  grid-row-start: 2;
  grid-row-end: 3;
  height: 305px;
  object-fit: cover;
}

.more-pics-shadow {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 305px;
  width: 33.33%;
  background: #94949454;
  font-size: 32px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
}
.post_infos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
}
.reacts_count {
  display: flex;
  align-items: center;
  gap: 5px;
}
.reacts_count_imgs {
  display: flex;
  align-items: center;
  gap: 1px;
}
.reacts_count_imgs img {
  width: 18px;
}
.reacts_count_num {
  font-size: 14px;
  color: var(--text-secondary);
}
.to_right {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 15px;
}
.comments_count:hover,
.share_count:hover {
  cursor: pointer;
  text-decoration: underline;
}
.post_actions {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 12px 20px;
  border-top: 1px solid rgba(102, 126, 234, 0.15);
  margin: 0;
  grid-gap: 8px;
  gap: 8px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
}
.post_action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(102, 126, 234, 0.1);
}
.post_action:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border-color: rgba(102, 126, 234, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}
.post_action span {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
  text-transform: capitalize;
  background: linear-gradient(45deg, #667eea, #764ba2);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.reacts_popup {
  display: flex;
  align-items: center;
  position: absolute;
  top: -3.4rem;
  background: var(--bg-primary);
  padding: 5px 15px;
  border-radius: 50px;
  gap: 8px;
  box-shadow: 0 1px 2px var(--shadow-1);
}
.react {
  cursor: pointer;
  transition: all 0.2s;
}
.react:hover {
  transform: scale(1.3);
}
.react img {
  width: 42px;
  height: 42px;
  object-fit: cover;
}

/*-----create comment-----*/
.comments_wrap {
  padding: 10px 15px;
}
.create_comment {
  display: flex;
  align-items: center;
  gap: 5px;
}
.create_comment img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
}
.comment_input_wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background: var(--bg-forth);
  border-radius: 50px;
  padding-right: 10px;
}
.comment_input_wrap input {
  outline: none;
  border: none;
  flex: 1 1;
  height: 35px;
  padding: 0 10px;
  color: var(--text-primary);
  background: transparent;
}
.comment_circle_icon {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.comment_error {
  padding: 0 !important;
  opacity: 1 !important;
}
.comment_img_preview {
  position: relative;
  margin-top: 5px;
  margin-left: 40px;
  width: 160px;
}
.comment_img_preview img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
}
.comment_img_preview .small_white_circle {
  top: -6px;
  right: -4px;
  transform: scale(0.8);
}
/*-----create comment-----*/
/*------Post menu------*/
.post_menu {
  background: var(--bg-primary);
  width: 300px;
  box-shadow: 1px 0 2px var(--shadow-1);
  border-radius: 10px;
  position: absolute;
  top: 3.1rem;
  right: 10px;
  z-index: 99;
  font-family: inherit;
  font-size: 14px;
  line-height: 19px;
  padding: 10px;
}
.post_menu li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  padding: 10px;
  cursor: pointer;
  border-radius: 10px;
}
.post_menu_text {
  display: flex;
  flex-direction: column;
}
.menu_post_col {
  font-size: 12px;
  color: #65676b;
}
.line {
  width: 100%;
  height: 1px;
  background: #ced0d4;
  margin: 5px 0;
}
.post_profile_wrap {
  position: relative;
  height: 500px;
  display: grid;
  place-items: center;
}
.post_updated_bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 300px;
  width: 100%;
  background: var(--bg-third);
}
.post_updated_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post_updated_picture {
  z-index: 1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-primary);
}
.post_cover_wrap {
  width: 100%;
  height: 350px;
}
.post_cover_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/*----Comment-----------*/
.comments_wrap {
  padding: 0 20px 16px 20px;
}

.comment {
  display: flex;
  gap: 10px;
  font-size: 14px;
  margin-top: 12px;
  padding: 8px 0;
}
.comment_img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}
.comment_col {
  flex: 1 1;
  min-width: 0;
}
.comment_wrap {
  background: var(--bg-forth);
  padding: 10px 16px;
  border-radius: 18px;
  margin-bottom: 6px;
  word-wrap: break-word;
}
.comment_name {
  font-weight: 600;
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.comment_text {
  color: var(--text-primary);
  line-height: 1.4;
}
.comment_image {
  margin-top: 8px;
  width: 200px;
  height: 150px;
  border-radius: 8px;
  object-fit: cover;
}
.comment_actions {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-left: 6px;
  margin-top: 4px;
}
.comment_actions span {
  cursor: pointer;
  padding: 4px 0;
}
.comment_actions span:hover {
  color: var(--blue-color);
}
.view_comments {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 8px 0;
  border-radius: 6px;
  text-align: center;
}
.view_comments:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--blue-color);
}
/*----Comment-----------*/
/*------Post menu------*/
/*------ Responsive Design ------*/
@media (max-width: 768px) {
  .unified-feed {
    margin-top: 0.5rem;
    gap: 1.5rem;
  }
  
  .feed-header {
    padding: 20px 16px;
    border-radius: 12px;
  }
  
  .feed-header h3 {
    font-size: 1.5rem;
  }
  
  .feed-header p {
    font-size: 0.9rem;
  }
  
  .post {
    width: 100%;
    max-width: calc(100vw - 16px);
    margin: 0 8px 16px 8px;
    border-radius: 12px;
  }
  
  .match-feed-item {
    border-radius: 12px;
    margin-bottom: 1.5rem;
  }
  
  .post_header {
    padding: 16px 20px 12px 20px;
  }
  
  .post_header_left img {
    width: 40px;
    height: 40px;
  }
  
  .post_actions {
    padding: 10px 16px;
    gap: 6px;
  }
  
  .post_action {
    padding: 10px 12px;
    border-radius: 10px;
  }
  
  .post_action span {
    font-size: 13px;
  }
  
  .post_infos {
    padding: 12px 16px;
  }
  
  .empty-feed {
    padding: 40px 16px;
    border-radius: 12px;
  }
  
  .empty-feed-icon {
    font-size: 3rem;
  }
  
  .empty-feed h3 {
    font-size: 1.3rem;
  }
  
  .empty-feed p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .feed-header h3 {
    font-size: 1.3rem;
  }
  
  .feed-header p {
    font-size: 0.85rem;
  }
  
  .post {
    margin: 0 4px 12px 4px;
    max-width: calc(100vw - 8px);
  }
  
  .posts {
    padding: 0 4px;
  }
  
  .post_header {
    padding: 12px 16px 8px 16px;
  }
  
  .post_text {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .post_actions {
    padding: 8px 12px;
    gap: 4px;
  }
  
  .post_action {
    padding: 8px 10px;
  }
  
  .post_action span {
    font-size: 12px;
  }
  
  .empty-feed {
    padding: 30px 12px;
  }
  
  .empty-feed-icon {
    font-size: 2.5rem;
  }
}

/* Prevent horizontal overflow globally for posts */
.post * {
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Enhanced loading and animation states */
.posts .sekelton_loader {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background: var(--bg-primary);
  border-radius: 12px;
  margin: 1rem 0;
}

/* Post info enhancements */
.post_infos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.02);
}

.reacts_count {
  display: flex;
  align-items: center;
  gap: 6px;
}

.reacts_count_imgs {
  display: flex;
  align-items: center;
  gap: 2px;
}

.reacts_count_imgs img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid white;
}

.reacts_count_num {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.to_right {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.comments_count:hover,
.share_count:hover {
  cursor: pointer;
  color: var(--blue-color);
  text-decoration: underline;
}

/* Additional responsive improvements */
.unified-feed {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Ensure all images and media are responsive */
.post img,
.post video,
.match img,
.match video {
  max-width: 100% !important;
  height: auto !important;
  object-fit: cover;
}

/* Fix any potential flex container overflow */
.post_bg,
.match_bg {
  width: 100%;
  overflow: hidden;
}

/* Ensure text content doesn't overflow */
.post_text,
.match_text,
.post_content,
.match_content {
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
          hyphens: auto;
}

/* Create Comment Component Styles */

.create-comment {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: white;
  border-radius: 8px;
  margin-bottom: 8px;
  width: 100%;
  box-sizing: border-box;
}

.create-comment__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.create-comment__form {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

/* Legacy class names used in existing component */
.create_comment_wrap { width: 100%; }
.create_comment { display: flex; width: 100%; gap: 8px; }
.comment_input_wrap { flex: 1 1 auto; width: 100%; box-sizing: border-box; }
.comment_input_wrap input { width: 100%; }

.create-comment__input {
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  resize: none;
  font-family: inherit;
  min-height: 36px;
}

.create-comment__input:focus {
  outline: none;
  border-color: var(--primary-main);
  box-shadow: 0 0 0 2px var(--primary-alpha-15);
}

.create-comment__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.create-comment__submit {
  background: var(--primary-main);
  color: white;
  border: none;
  border-radius: 16px;
  padding: 6px 16px;
  cursor: pointer;
  font-size: 13px;
  transition: background-color 0.3s ease;
}

.create-comment__submit:hover {
  background: var(--primary-dark);
}

.create-comment__submit:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.create-comment__circle {
  margin-top: 5px;
}

.content-creator-stats-card {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.08) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1px solid rgba(76, 175, 80, 0.15);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-creator-stats-card:hover {
  box-shadow: 0 6px 16px rgba(76, 175, 80, 0.12);
  transform: translateY(-2px);
}

.stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.stats-header h3 {
  color: #4caf50;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0;
}

.verification-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: capitalize;
}

.verification-badge.basic {
  background-color: rgba(76, 175, 80, 0.1);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.verification-badge.premium {
  background-color: rgba(255, 193, 7, 0.1);
  color: #ff8f00;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.verification-icon {
  font-size: 1rem;
}

.creator-info {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  background-color: rgba(76, 175, 80, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(76, 175, 80, 0.1);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-label {
  font-weight: 600;
  color: #666;
  font-size: 0.9rem;
}

.info-value {
  color: #4caf50;
  font-weight: 700;
  text-transform: capitalize;
  font-size: 0.9rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 20px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background-color: rgba(76, 175, 80, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(76, 175, 80, 0.1);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background-color: rgba(76, 175, 80, 0.08);
  transform: scale(1.02);
}

.stat-icon {
  font-size: 1.5rem;
  min-width: 32px;
  text-align: center;
}

.stat-content {
  flex: 1 1;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4caf50;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
  margin-top: 2px;
}

.getting-started {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.08) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1px solid rgba(33, 150, 243, 0.15);
  border-radius: 12px;
  margin-top: 16px;
}

.getting-started-icon {
  font-size: 2rem;
  min-width: 40px;
  text-align: center;
}

.getting-started-content {
  flex: 1 1;
}

.getting-started h4 {
  color: #2196f3;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 8px 0;
}

.getting-started p {
  color: #666;
  margin: 0 0 12px 0;
  font-size: 0.95rem;
}

.getting-started ul {
  margin: 0;
  padding-left: 20px;
  color: #666;
}

.getting-started li {
  margin-bottom: 4px;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .content-creator-stats-card {
    padding: 16px;
  }
  
  .stats-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .creator-info {
    flex-direction: column;
    gap: 12px;
  }
  
  .getting-started {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stat-item {
    padding: 12px;
  }
  
  .stat-number {
    font-size: 1.3rem;
  }
  
  .stats-header h3 {
    font-size: 1.3rem;
  }
}

/* Photo Gallery Component Styles */

.photo-gallery-image {
  width: 100%;
  height: auto;
  display: block;
}

.photo-gallery-modal-image {
  width: 100%;
  height: auto;
  display: block;
  max-height: 60vh;
  object-fit: contain;
}

/* Profile.css - Comprehensive styling for the profile page */

/* Main container styles */
.profile-page-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #f0f4f7 100%);
}

.profile-top-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
  border-bottom: 1px solid rgba(12, 189, 99, 0.1);
  box-shadow: 0 2px 8px rgba(12, 189, 99, 0.08);
}

.profile-container {
  padding-top: 80px;
  padding-bottom: 24px;
}

.profile-bottom-section {
  padding-top: 24px;
}

.profile-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  grid-gap: 24px;
  gap: 24px;
  margin-top: 16px;
}

/* Enhanced card styles for sports theme */
.profile-card {
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 16px;
  border: 1px solid rgba(12, 189, 99, 0.1);
  box-shadow: 0 4px 12px rgba(12, 189, 99, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, rgba(12, 189, 99, 0.02) 0%, #ffffff 100%);
}

.profile-card:hover {
  box-shadow: 0 8px 20px rgba(12, 189, 99, 0.15);
  transform: translateY(-2px);
}

/* Sports-specific card variants */
.profile-card.sports-stats {
  background: linear-gradient(135deg, rgba(12, 189, 99, 0.08) 0%, rgba(12, 189, 99, 0.02) 100%);
  border: 1px solid rgba(12, 189, 99, 0.2);
}

.profile-card.tournament-card {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.05) 0%, #ffffff 100%);
  border: 1px solid rgba(255, 193, 7, 0.2);
}

.profile-card.achievement-card {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, #ffffff 100%);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.loading-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  background: linear-gradient(135deg, rgba(12, 189, 99, 0.02) 0%, rgba(12, 189, 99, 0.05) 100%);
}

.tall-loading-card {
  min-height: 200px;
}

/* Enhanced sports statistics styling */
.sports-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin: 16px 0;
}

.sports-stat-item {
  text-align: center;
  padding: 16px;
  background: linear-gradient(135deg, rgba(12, 189, 99, 0.05) 0%, rgba(12, 189, 99, 0.02) 100%);
  border-radius: 12px;
  border: 1px solid rgba(12, 189, 99, 0.1);
  transition: all 0.3s ease;
}

.sports-stat-item:hover {
  background: linear-gradient(135deg, rgba(12, 189, 99, 0.08) 0%, rgba(12, 189, 99, 0.04) 100%);
  transform: scale(1.02);
}

.sports-stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0CBD63;
  margin-bottom: 4px;
}

.sports-stat-label {
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.6);
  font-weight: 500;
}

/* Skeleton styles */
.skeleton-rounded {
  border-radius: 8px;
}

.avatar-transform {
  transform: translateY(-3.3rem);
}

.info-transform {
  transform: translateY(2.5px);
}

.info-margin-top {
  margin-top: 5px;
}

/* Connection avatars with specific offsets */
.connection-avatar-0 { transform: translateX(0px); }
.connection-avatar-1 { transform: translateX(-7px); }
.connection-avatar-2 { transform: translateX(-14px); }
.connection-avatar-3 { transform: translateX(-21px); }
.connection-avatar-4 { transform: translateX(-28px); }
.connection-avatar-5 { transform: translateX(-35px); }

.posts-container .posts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.no-posts-message {
  text-align: center;
  padding: 32px;
  background-color: rgba(12, 189, 99, 0.02);
  border-radius: 16px;
  border: 1px dashed rgba(12, 189, 99, 0.2);
}

.copyright-footer {
  margin-top: 24px;
  padding: 16px;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.6);
}

.copyright-footer a {
  color: #0CBD63;
  text-decoration: none;
}

.copyright-footer a:hover {
  text-decoration: underline;
}

/* Post section styles */
.post-section {
  margin-top: 24px;
}

.post-section-title {
  margin-bottom: 16px;
  font-weight: 600;
  color: #0CBD63;
}

/* Photo grid styles */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 8px;
  gap: 8px;
  margin-top: 16px;
}

.photo-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.2s;
}

.photo-item:hover {
  transform: scale(1.02);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Friends section */
.friends-section {
  margin-top: 24px;
}

.friends-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-top: 16px;
}

.friend-item {
  text-align: center;
}

.friend-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 8px;
  border: 3px solid rgba(12, 189, 99, 0.2);
}

.friend-name {
  font-size: 0.875rem;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Tab navigation */
.profile-tabs {
  display: flex;
  border-bottom: 1px solid rgba(12, 189, 99, 0.1);
  margin-bottom: 24px;
}

.profile-tab {
  padding: 12px 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  color: rgba(0, 0, 0, 0.7);
}

.profile-tab:hover {
  color: #0CBD63;
}

.profile-tab.active {
  color: #0CBD63;
  border-bottom: 2px solid #0CBD63;
}

/* Matches section */
.matches-list {
  margin-top: 16px;
}

.match-item {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(12, 189, 99, 0.1);
  margin-bottom: 8px;
  transition: background-color 0.2s;
}

.match-item:hover {
  background-color: rgba(12, 189, 99, 0.04);
}

.match-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.match-teams {
  font-weight: 500;
}

.match-date {
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.875rem;
}

/* Profile Grid and Layout Styles */
.profile-content-wrapper {
  width: 100%;
}

/* (Removed duplicate .profile-grid definition; merged above) */

.profile-left-fixed {
  position: fixed !important;
  top: 100px;
  width: 350px;
  z-index: 1;
}

/* When left column is fixed, adjust right column */
.profile-right-adjusted {
  margin-left: 374px !important; /* 350px (left column width) + 24px (gap) */
}

.profile-left-column {
  width: 100%;
}

.profile-right-column {
  width: 100%;
  min-width: 0; /* Prevent content from overflowing */
}

/* Copyright text */
.copyright-text {
  margin-top: 8px;
  display: block;
}

/* Responsive styles */
@media (max-width: 960px) {
  .profile-container {
    padding-top: 64px;
  }
  
  .profile-cover {
    height: 250px;
  }
  
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Disable fixed positioning on smaller screens */
  .profile-left-fixed {
    position: static !important;
    width: 100% !important;
  }

  .profile-right-adjusted {
    margin-left: 0 !important;
  }

  .sports-stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .profile-card {
    padding: 16px;
    margin-bottom: 16px;
  }
}

@media (max-width: 600px) {
  .profile-container {
    padding-top: 56px;
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .profile-cover {
    height: 180px;
  }
  
  .profile-tabs {
    overflow-x: auto;
  }
  
  .photos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sports-stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .sports-stat-item {
    padding: 12px;
  }

  .sports-stat-number {
    font-size: 1.5rem;
  }

  .profile-card {
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 12px;
  }
}

/* Additional sports-themed animations */
@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(12, 189, 99, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(12, 189, 99, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(12, 189, 99, 0);
  }
}

.achievement-pulse {
  animation: pulse-green 2s infinite;
}

/* Enhanced hover effects for sports elements */
.sports-card:hover .sports-icon {
  transform: scale(1.1) rotate(5deg);
  transition: transform 0.3s ease;
}

.match-result.win {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
  border-left: 4px solid #4CAF50;
}

.match-result.loss {
  background: linear-gradient(135deg, rgba(244, 67, 54, 0.1) 0%, rgba(244, 67, 54, 0.05) 100%);
  border-left: 4px solid #F44336;
}

.match-result.draw {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
  border-left: 4px solid #FFC107;
}

/* UserStatsCard Component Styles */

.user-stats-card {
  border-radius: 16px;
  box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2),
    0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
  background: var(--mui-palette-background-paper);
}

.user-stats-card-content {
  padding: 16px;
}

.user-stats-grid {
  margin-bottom: 16px;
}

.user-stats-box {
  text-align: center;
  padding: 8px;
}

.user-stats-value {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--mui-palette-text-primary);
  margin: 0;
}

.user-stats-value.success {
  color: #4caf50;
  color: var(--mui-palette-success-main, #4caf50);
}

.user-stats-value.win-streak {
  color: #4caf50;
  color: var(--mui-palette-success-main, #4caf50);
}

.user-stats-value.lose-streak {
  color: #f44336;
  color: var(--mui-palette-error-main, #f44336);
}

.user-stats-label {
  font-size: 0.75rem;
  color: var(--mui-palette-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 4px 0 0 0;
}

.user-stats-streak-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.user-stats-streak-icon {
  font-size: 20px;
}

.user-stats-streak-icon.active {
  color: #f44336;
  color: var(--mui-palette-error-main, #f44336);
}

.user-stats-streak-icon.inactive {
  color: #9e9e9e;
  color: var(--mui-palette-text-disabled, #9e9e9e);
}

.user-stats-weekly-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.user-stats-weekly-icon {
  font-size: 20px;
  color: #0cbd63;
  color: var(--mui-palette-primary-main, #0cbd63);
}

.user-stats-weekly-hours {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--mui-palette-text-primary);
}

.user-stats-section {
  margin-bottom: 16px;
}

.user-stats-section-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mui-palette-text-primary);
  margin-bottom: 8px;
}

.user-stats-chip-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.user-stats-activity-container {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}

.user-stats-activity-title {
  margin-bottom: 0;
}

.user-stats-achievement-chip {
  background-color: rgba(255, 215, 0, 0.1);
  color: var(--mui-palette-text-primary);
}

.user-stats-loading {
  padding: 24px;
  text-align: center;
}

.user-stats-loading-title {
  margin-bottom: 16px;
}

.user-stats-error {
  padding: 24px;
}

.user-stats-error-title {
  color: #f44336;
  color: var(--mui-palette-error-main, #f44336);
  margin-bottom: 8px;
}

.user-stats-error-message {
  color: var(--mui-palette-text-secondary);
  margin-bottom: 8px;
}

.user-stats-error-help {
  color: var(--mui-palette-text-secondary);
  margin-top: 8px;
}

.user-stats-empty {
  padding: 24px;
}

.user-stats-empty-title {
  margin-bottom: 8px;
}

.user-stats-empty-message {
  color: var(--mui-palette-text-secondary);
  margin-bottom: 8px;
}

.user-stats-empty-help {
  color: var(--mui-palette-text-secondary);
  margin-top: 8px;
}

.user-stats-welcome {
  padding: 24px;
}

.user-stats-welcome-title {
  margin-bottom: 8px;
}

.user-stats-welcome-message {
  color: var(--mui-palette-text-secondary);
}

/* Responsive Design */
@media (max-width: 600px) {
  .user-stats-value {
    font-size: 1.5rem;
  }

  .user-stats-weekly-hours {
    font-size: 1.5rem;
  }

  .user-stats-chip-container {
    gap: 4px;
  }

  .user-stats-activity-container {
    flex-wrap: wrap;
    gap: 4px;
  }

  .user-stats-box {
    padding: 4px;
  }
}

/* Dark theme support */
.dark .user-stats-card {
  background: var(--mui-palette-background-paper);
  box-shadow: 0px 2px 1px -1px rgba(255, 255, 255, 0.1),
    0px 1px 1px 0px rgba(255, 255, 255, 0.05),
    0px 1px 3px 0px rgba(255, 255, 255, 0.08);
}

/* Sports Portfolio Component Styles */
.sports-portfolio-card {
  margin-bottom: 20px;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.stat-card {
  border-radius: 12px !important;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  cursor: pointer;
  height: 100%;
}

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

.sport-breakdown-card {
  border-radius: 12px !important;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  height: 100%;
  border: 1px solid #e0e0e0;
}

.sport-breakdown-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  border-color: #1976d2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .stat-card {
    margin-bottom: 12px;
  }
  
  .sport-breakdown-card {
    margin-bottom: 16px;
  }
}

/* Achievement animations */
.achievement-item {
  transition: background-color 0.2s ease-in-out;
  border-radius: 8px;
  padding: 8px;
}

.achievement-item:hover {
  background-color: rgba(25, 118, 210, 0.04);
}

/* Progress bar styling */
.MuiLinearProgress-root {
  border-radius: 4px !important;
  height: 6px !important;
}

/* Custom scrollbar for long content */
.sports-portfolio-card .MuiCardContent-root {
  max-height: 80vh;
  overflow-y: auto;
}

.sports-portfolio-card .MuiCardContent-root::-webkit-scrollbar {
  width: 6px;
}

.sports-portfolio-card .MuiCardContent-root::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.sports-portfolio-card .MuiCardContent-root::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.sports-portfolio-card .MuiCardContent-root::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* Tab styling */
.MuiTabs-root {
  border-bottom: 1px solid #e0e0e0;
}

.MuiTab-root {
  font-weight: 600 !important;
  text-transform: none !important;
  font-size: 1rem !important;
}

/* Chip styling for levels */
.MuiChip-root {
  font-weight: 600 !important;
}

/* Typography adjustments */
.sports-portfolio-card h4 {
  background: linear-gradient(45deg, #1976d2, #42a5f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Loading state */
.portfolio-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  gap: 16px;
}

/* Empty state styling */
.portfolio-empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.portfolio-empty-state .MuiSvgIcon-root {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

/* Sport icon styling */
.sport-icon {
  font-size: 1.5rem;
  margin-right: 8px;
}

/* Highlight cards */
.highlight-card {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 12px;
  padding: 16px;
  margin: 8px 0;
  transition: all 0.3s ease;
}

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

/* Animation for stats numbers */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-card h4 {
  animation: countUp 0.6s ease-out;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .sports-portfolio-card h4 {
    font-size: 1.5rem !important;
  }
  
  .stat-card {
    text-align: center;
  }
  
  .MuiGrid-item {
    padding: 8px !important;
  }
}

/* Modern left sidebar using Material-UI Grid layout */
.left-sidebar {
  position: relative !important;
  top: 0 !important;
  width: 100% !important;
  height: -webkit-fit-content !important;
  height: fit-content !important;
  margin: 0 !important;
  padding: 0 !important;
  background-color: #ffffff !important;
  background-color: var(--bg-primary, #ffffff) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  /* Override Material-UI Card defaults */
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  transform: translateY(0) !important;
}

/* More aggressive Material-UI Grid item override */
.MuiGrid-item:has(.left-sidebar),
.MuiGrid-root > .MuiGrid-item:first-child {
  padding: 0 !important;
  margin: 0 !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Additional override for home Grid container */
.home-main-content .MuiGrid-item:first-child {
  padding: 0 !important;
  margin: 0 !important;
}

.left-sidebar-content {
  display: flex;
  flex-direction: column;
  gap: 0px;
  padding: 4px;
  margin: 0;
}

/* Override Material-UI List default padding */
.navigation-list.MuiList-root {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Disabled legacy .left_home styles to prevent conflicts with Material-UI Grid layout */
/*
/* legacy .left_home intentionally disabled */
*/
/* Profile section styles */
.profile-button {
  border-radius: 12px !important;
  padding: 6px !important;
  margin: 0 !important;
  margin-bottom: 2px !important;
}

/* Override Material-UI ListItemButton default margins */
.profile-button.MuiListItemButton-root {
  margin-top: 0 !important;
  padding-top: 6px !important;
}

.profile-avatar {
  width: 40px !important;
  height: 40px !important;
  margin-right: 12px !important;
}

.profile-name {
  font-weight: 600 !important;
  color: #333 !important;
  color: var(--text-primary, #333) !important;
}

.sidebar-divider {
  margin: 2px 0 !important;
}

/* Override Material-UI Divider default margins */
.sidebar-divider.MuiDivider-root {
  margin-top: 2px !important;
  margin-bottom: 2px !important;
}

.navigation-list {
  padding: 0 !important;
}

.nav-item-button {
  border-radius: 8px !important;
  margin-bottom: 4px !important;
  padding: 8px 12px !important;
}

.left_link {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}
.left_link img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 11px;
  vertical-align: -0.25em;
}
.left_link span {
  margin-bottom: 4px;
  margin-left: 1px;
}
.col {
  margin-left: 2px;
  transform: translateY(-2px);
}
.col_1 {
  transform: translateX(-1px);
}
.col_2 {
  position: relative;
  font-size: 12px;
  color: var(--blue-color);
  margin-left: 9px;
  margin-top: 2px;
  font-weight: normal;
}
.col_2::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-color);
  position: absolute;
  left: -10px;
  bottom: 2px;
}
.rotate360 {
  transform: rotate(180deg);
}
.splitter {
  height: 1.3px;
  background: var(--divider);
  margin: 9px 2px 0 12px;
}
.shortcut {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 13px 10px 11px 10px;
}
.edit_shortcut {
  font-size: 14px;
  color: var(--blue-color);
  display: none;

  cursor: pointer;
}
.shortcut:hover .edit_shortcut {
  display: block;
}
.shortcut_item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}
.shortcut_item img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}
.shortcut_item span {
  margin-bottom: 3px;
}
.fb_copyright {
  position: relative;
  bottom: auto;
  left: auto;
  font-size: 12px;
  color: var(--text-secondary);
  width: 100%;
  text-align: center;
  margin-top: 16px;
}
.relative_fb_copyright {
  position: relative;
  width: 97%;
  margin-top: 2rem;
  font-size: 12px;
  color: var(--text-secondary);
}
/* Disabled legacy styles to prevent conflicts with Material-UI Grid layout */
/*
.left_home .small_circle {
  background: rgb(214, 214, 214);
}
*/

/* Additional responsive adjustments - UPDATED for Grid layout */
@media (min-width: 1200px) and (max-width: 1400px) {
  .left-sidebar {
    max-width: 260px;
  }
}

/* Override home page Grid spacing that might affect sidebar */
.home-main-content .MuiGrid-container .MuiGrid-item:has(.left-sidebar) {
  padding: 0 !important;
}

/* Target the specific Grid structure from the HTML */
.MuiGrid-direction-xs-row .MuiPaper-root.left-sidebar {
  margin: 0 !important;
  padding: 4px !important;
}

/* Override any Container or Grid spacing */
.home-main-content .MuiContainer-root,
.home-main-content .MuiGrid-container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Ensure no unwanted spacing from parent containers */
.left-sidebar * {
  -webkit-margin-before: 0;
          margin-block-start: 0;
  -webkit-margin-after: 0;
          margin-block-end: 0;
}

.left-sidebar .MuiTypography-root:first-child {
  margin-top: 0 !important;
}

/* Reset Material-UI Card component spacing */
.left-sidebar.MuiCard-root {
  margin: 0 !important;
  padding: 4px !important;
}

/* Target the specific Material-UI CSS class from the rendered HTML */
.MuiPaper-root.MuiCard-root.left-sidebar.css-1j74uew-MuiPaper-root-MuiCard-root {
  position: relative !important;
  top: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  transform: none !important;
}

/* Override any inherited positioning from Material-UI classes */
.MuiPaper-root.MuiPaper-elevation.MuiCard-root.left-sidebar {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  margin: 0 !important;
  padding: 4px !important;
}

.send_verification {
  background: var(--bg-primary);
  box-shadow: 0 1px 2px var(--shadow-1);
  padding: 20px;
  font-size: 14px;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  border-radius: 10px;
}
.send_verification a {
  color: var(--blue-color);
  cursor: pointer;
}
.send_verification a:hover {
  text-decoration: underline;
}

/* Modern Match Card Redesign */

.match-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #e3e8ee;
  background: var(--match-card-bg, #e3e8ee);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(30, 41, 59, 0.10), 0 1.5px 4px rgba(30, 41, 59, 0.04);
  overflow: hidden;
  min-height: 180px;
  width: 100%;
  /* border removed for cleaner look */
  transition: all 0.3s ease;
}

.match-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(30, 41, 59, 0.15), 0 2px 8px rgba(30, 41, 59, 0.08);
  border-color: rgba(30, 41, 59, 0.2);
  border-color: var(--match-card-border-hover, rgba(30, 41, 59, 0.2));
}

/* Wrapper & media */
.match-card-wrapper { width: 100%; }
.match-card__media { margin-bottom:16px; width:100%; }
.match-card--clickable { cursor:pointer; }

/* Loading state */
.match-card--loading { display:flex; align-items:center; justify-content:center; padding:24px; min-height:120px; background:#f7f9fc; border:1px dashed rgba(0,0,0,0.08); border-radius:16px; }
.match-card__loading-inner { display:flex; flex-direction:column; align-items:center; }
.match-card__loading-text { margin-bottom:8px; color:#888; font-weight:600; font-size:.85rem; }
.match-card__loading-sub { color:#bbb; font-size:.7rem; letter-spacing:.5px; text-transform:uppercase; font-weight:500; }

/* Dynamic background via data attr (fallback if needed) */
.match-card__side[data-bg] { background: #2c7865; background: var(--side-fallback, #2c7865); }

/* Team name variants (allow specific styling overrides) */

/* Form link & indicators (status color handled by modifier class) */
.match-card__form-link { text-decoration:none; cursor:default; }
.match-card__form-link.is-clickable { cursor:pointer; }
.match-card__form-indicator--W { --form-indicator-bg: #2e7d32; --form-indicator-border: #1b5e20; }
.match-card__form-indicator--L { --form-indicator-bg: #d32f2f; --form-indicator-border: #9a0007; }
.match-card__form-indicator--D { --form-indicator-bg: #757575; --form-indicator-border: #555; }

/* Divider */
.match-card__divider { margin:0 6px; display:inline-block; opacity:.6; }

/* Views block extracted from inline */
.match-card__views { margin-top:8px; font-size:.75rem; color:rgba(0,0,0,0.7); text-align:center; font-weight:500; display:flex; align-items:center; justify-content:center; gap:4px; padding:4px 8px; border-radius:12px; background:rgba(255,255,255,0.9); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); border:1px solid rgba(0,0,0,0.1); box-shadow:0 2px 4px rgba(0,0,0,0.1); }
.match-card__views--spaced { margin-top:10px; }
.match-card__views-icon { font-size:.8rem; }

/* Broadcaster */
.match-card__broadcaster { margin-top:10px; }
.match-card__broadcaster-logo { height:18px; display:block; }

@media (max-width: 700px) {
  .match-card {
    flex-direction: row; /* Keep horizontal layout on mobile */
    min-height: 120px; /* Reduced height for mobile */
    width: 100%;
  }

  /* Make sides more compact on mobile */
  .match-card__side {
    padding: 16px 8px 12px 8px; /* Reduced padding */
  }

  /* Hide form indicators on mobile for space */
  .match-card__form-indicators {
    display: none;
  }

  /* Make team names smaller on mobile */
  .match-card__team-name {
    font-size: 0.85rem !important;
    font-weight: 600;
  }

  /* Hide club name on mobile if different from team name */
  .match-card__club-name {
    display: none;
  }

  /* Make team logos smaller on mobile */
  .match-card__team-logo,
  .match-card__avatar-fallback {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
  }

  /* Compact center section on mobile */
  .match-card__center {
    padding: 12px 8px;
    min-width: auto;
  }

  /* Make scores smaller but still prominent on mobile */
  .match-card__score span:first-child,
  .match-card__score span:last-child {
    font-size: 1.5rem !important;
    font-weight: 700;
  }

  /* Make status indicator smaller */
  .match-card__score-status {
    font-size: 0.7rem !important;
    padding: 4px 8px !important;
  }

  /* Compact match info on mobile */
  .match-card__match-info {
    font-size: 0.75rem !important;
    line-height: 1.3;
    text-align: center;
  }

  /* Hide half-time score on mobile for space */
  .match-card__half-time {
    display: none;
  }

  /* Make button smaller on mobile */
  .match-card__button {
    font-size: 0.75rem !important;
    padding: 6px 12px !important;
    min-width: auto !important;
  }

  /* Hide views on mobile for space */
  .match-card__views {
    display: none;
  }

  /* Hide background logos on mobile */
  .match-card__side-bg-logo {
    display: none;
  }
}

/* Additional mobile optimizations for very small screens */
@media (max-width: 480px) {
  .match-card {
    min-height: 100px; /* Even more compact for very small screens */
  }

  .match-card__side {
    padding: 12px 6px 8px 6px; /* More compact padding */
  }

  .match-card__team-name {
    font-size: 0.75rem !important;
  }

  .match-card__team-logo,
  .match-card__avatar-fallback {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.9rem !important;
  }

  .match-card__score span:first-child,
  .match-card__score span:last-child {
    font-size: 1.25rem !important;
  }

  .match-card__score-status {
    font-size: 0.6rem !important;
    padding: 3px 6px !important;
  }

  .match-card__match-info {
    font-size: 0.65rem !important;
  }

  .match-card__button {
    font-size: 0.7rem !important;
    padding: 4px 8px !important;
  }

  .match-card__center {
    padding: 8px 4px;
  }
}

.match-card__side {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 0;
  padding: 24px 12px 20px 12px;
  background: none;
  overflow: hidden;
}

.match-card__side--home {
  background: #2c7865;
  background: var(--home-color, #2c7865);
  /* border-left removed for cleaner look */
  position: relative;
}

.match-card__side--home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #2c7865;
  background: var(--home-color, #2c7865);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.match-card__side--away {
  background: #78782c;
  background: var(--away-color, #78782c);
  /* border-right removed for cleaner look */
  position: relative;
}

.match-card__side--away::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #78782c;
  background: var(--away-color, #78782c);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.match-card__side-bg-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  transform: translate(-50%, -50%);
  opacity: 0.10;
  z-index: 0;
  pointer-events: none;
  -webkit-user-select: none;
          user-select: none;
  filter: grayscale(0.2) blur(0.5px);
  object-fit: contain;
}

.match-card__side-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.match-card__team-logo {
  width: 80px !important;
  height: 80px !important;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #ccc;
  border: 3px solid var(--team-logo-border, #ccc);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  box-shadow: 0 2px 8px var(--team-logo-shadow, rgba(0,0,0,0.08));
  margin-bottom: 12px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.match-card__team-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  box-shadow: 0 4px 16px var(--team-logo-shadow, rgba(0,0,0,0.15));
}

.match-card__team-name {
  font-weight: 800;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  margin-bottom: 2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: all 0.2s ease;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.15);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.match-card__side--home .match-card__team-name {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.95);
}

.match-card__side--away .match-card__team-name {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.95);
}

.match-card__side:hover .match-card__team-name {
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  transform: scale(1.02);
  background: rgba(0, 0, 0, 0.25);
}

.match-card__club-name {
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  color: rgba(255, 255, 255, 0.85) !important;
  text-align: center !important;
  margin-bottom: 6px !important;
  letter-spacing: 0.3px !important;
  transition: all 0.2s ease !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
  padding: 3px 10px !important;
  border-radius: 6px !important;
  background: rgba(0, 0, 0, 0.15) !important;
  -webkit-backdrop-filter: blur(2px) !important;
          backdrop-filter: blur(2px) !important;
  text-transform: uppercase !important;
  display: block !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.match-card__side--home .match-card__club-name {
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.match-card__side--away .match-card__club-name {
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.match-card__form-indicators {
  display: flex;
  gap: 3px;
  margin-top: 2px;
  margin-bottom: 0;
}

.match-card__form-indicator {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #888;
  background: var(--form-indicator-bg, #888);
  border: 2px solid #666;
  border: 2px solid var(--form-indicator-border, #666);
  box-shadow: 0 2px 4px rgba(0,0,0,0.12);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.match-card__form-indicator:hover {
  transform: scale(1.1);
}

.match-card__center {
  flex: 1.2 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.95);
  background: var(--match-card-bg, rgba(255,255,255,0.95));
  position: relative;
  min-width: 0;
  padding: 24px 8px 20px 8px;
  border-left: 1.5px solid #f0f0f0;
  border-left: 1.5px solid var(--match-card-border, #f0f0f0);
  border-right: 1.5px solid #f0f0f0;
  border-right: 1.5px solid var(--match-card-border, #f0f0f0);
}

@media (max-width: 700px) {
  .match-card__center {
    border-left: none;
    border-right: none;
    border-top: 1.5px solid #f0f0f0;
    border-top: 1.5px solid var(--match-card-border, #f0f0f0);
    border-bottom: 1.5px solid #f0f0f0;
    border-bottom: 1.5px solid var(--match-card-border, #f0f0f0);
    padding: 18px 4px 14px 4px;
  }
}

.match-card__score {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 2.5rem;
  color: #222;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.match-card__score-value {
  line-height: 1.1;
}

.match-card__score-separator {
  margin: 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.match-card__score-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

/* Cricket-specific adjustments: scores can be long (e.g., 245-8 and RR) */
.match-card--cricket .match-card__center {
  /* Slightly more room in center for cricket */
  padding-left: 12px;
  padding-right: 12px;
}

.match-card__score--cricket {
  gap: 8px;
  font-size: 1.8rem; /* smaller to avoid spillover */
  flex-wrap: wrap; /* allow wrap on narrow layouts */
  max-width: 100%;
}

.match-card__score--cricket span:first-child,
.match-card__score--cricket span:last-child {
  max-width: 42%; /* constrain each side score */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-card--cricket .match-card__score-status {
  font-size: 0.9rem;
  padding: 2px 10px;
}

@media (max-width: 700px) {
  .match-card__score--cricket {
    font-size: 1.4rem;
  }
}

.match-card__score-status {
  margin: 0 10px;
  background: #eee;
  background: var(--score-status-bg, #eee);
  border-radius: 8px;
  padding: 2px 14px;
  min-width: 44px;
  text-align: center;
  border: 1.5px solid #ccc;
  border: 1.5px solid var(--score-status-border, #ccc);
  color: #222;
  color: var(--score-status-color, #222);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.match-card__match-info {
  margin-top: 10px;
  text-align: center;
  color: #666;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.match-card__half-time {
  color: #aaa;
  font-weight: 500;
  font-size: 0.92em;
  margin-top: 2px;
  text-align: center;
}

.match-card__button {
  margin-top: 18px;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 10px 32px;
  background: #222;
  background: var(--button-bg, #222);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  box-shadow: 0 2px 8px var(--button-shadow, rgba(0,0,0,0.08));
  border: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.match-card__button:hover {
  background: #111;
  background: var(--button-bg-hover, #111);
  box-shadow: 0 4px 12px rgba(0,0,0,0.13);
  box-shadow: 0 4px 12px var(--button-shadow-hover, rgba(0,0,0,0.13));
  transform: translateY(-1px) scale(1.01);
}

/* Club color accents for enhanced theming */
.match-card__club-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2c7865 0%, #2c7865 50%, #78782c 50%, #78782c 100%);
  background: linear-gradient(90deg, var(--home-color, #2c7865) 0%, var(--home-color, #2c7865) 50%, var(--away-color, #78782c) 50%, var(--away-color, #78782c) 100%);
  z-index: 2;
}

/* Enhanced form indicator styling with club colors */
.match-card__side--home .match-card__form-indicator[style*="background"] {
  border-color: #2c7865 !important;
  border-color: var(--home-color, #2c7865) !important;
}

.match-card__side--away .match-card__form-indicator[style*="background"] {
  border-color: #78782c !important;
  border-color: var(--away-color, #78782c) !important;
}

/* Match Views Styling */
.match-card__views {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: opacity 0.2s ease;
}

.match-card__views:hover {
  opacity: 0.9;
}

@media (max-width: 700px) {
  .match-card__views {
    font-size: 0.7rem !important;
    margin-top: 8px !important;
  }
}

/* ============================= */
/* Golf Match Card (Simplified)  */
/* ============================= */
.match-card--golf {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 18px 16px 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 60%, #f0f7ff 100%);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(30,41,59,0.08), 0 2px 4px rgba(30,41,59,0.05);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
  min-height: 0;
  min-height: initial;
}
.match-card--golf::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(0,120,70,0.12), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(0,140,200,0.12), transparent 60%);
  pointer-events: none;
  mix-blend-mode: normal;
}
.match-card--golf:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 26px rgba(30,41,59,0.14), 0 3px 8px rgba(30,41,59,0.08);
  border-color: rgba(0,0,0,0.12);
}
.golf-card__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.golf-card__header--with-cover { position:relative; padding:10px 12px 12px 12px; border-radius:14px; overflow:hidden; }
.golf-card__header-bg { position:absolute; inset:0; background: var(--golf-cover-url) center center; background-size: cover; background-repeat: no-repeat; filter: brightness(0.95); }
.golf-card__header-overlay { position:absolute; inset:0; background:linear-gradient(135deg, rgba(15,23,42,0.55), rgba(15,23,42,0.25)); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.golf-card__header-content { position:relative; z-index:2; display:flex; align-items:center; gap:10px; }
.golf-card__header--with-cover .golf-card__course { color:#f1f5f9; text-shadow:0 2px 4px rgba(0,0,0,0.35); }
.golf-card__header--with-cover .golf-card__meta { color:#e2e8f0; opacity:0.95; text-shadow:0 1px 3px rgba(0,0,0,0.4); }
.golf-card__club-avatar { box-shadow:0 4px 10px rgba(0,0,0,0.35); border:2px solid rgba(255,255,255,0.85); background:#fff; }
.golf-card__header--with-cover .golf-card__club-avatar { background:#0f172a; }
.golf-card__course {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .4px;
  color: #0f172a;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.golf-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: .69rem;
  font-weight: 600;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: #475569;
  opacity: .92;
}
.golf-card__dot {
  width: 4px;
  height: 4px;
  background: linear-gradient(90deg,#0ea5e9,#0d9488);
  border-radius: 50%;
  display: inline-block;
  opacity: .65;
}
.golf-card__players {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.3) 100%);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 14px;
  padding: 4px 0;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}
.golf-card__matchplay-status { margin:4px 10px 6px 10px; font-size:.58rem; font-weight:700; letter-spacing:1px; text-transform:uppercase; padding:4px 10px; border-radius:20px; background:linear-gradient(135deg,#334155,#1e293b); color:#f1f5f9; box-shadow:0 2px 6px rgba(30,41,59,0.3); align-self:flex-start; }
.golf-card__player-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 12px 6px 14px;
  position: relative;
  font-size: .82rem;
  line-height: 1.25;
  cursor: default;
  transition: background .2s ease;
}
.golf-card__player-row:nth-child(odd) { background: rgba(255,255,255,0.55); }
.golf-card__player-row:nth-child(even) { background: rgba(255,255,255,0.35); }
.golf-card__player-row:hover { background: rgba(14,165,233,0.10); }
.golf-card__player-row::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(14,165,233,0) 0%, rgba(14,165,233,0.15) 100%);
  opacity: 0;
  transition: opacity .25s ease;
  border-radius: 10px;
}
.golf-card__player-row:hover::after { opacity: 1; }
.golf-card__player-name { font-weight:600; color:#0f172a; flex:1 1; display:flex; align-items:center; gap:8px; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:.9rem; letter-spacing:.3px; }
.golf-card__player-info { display: flex; align-items: center; gap: 12px; flex: 1 1; min-width: 0; }
.golf-card__player-avatar { flex-shrink: 0; }
.golf-card__player-score { font-weight:700; font-size:.86rem; font-feature-settings:"tnum"; font-variant-numeric:tabular-nums; letter-spacing:.5px; padding:6px 14px; border-radius:26px; background:linear-gradient(135deg,#0ea5e9 0%, #0d9488 90%); color:#fff; box-shadow:0 3px 8px rgba(14,165,233,0.32); min-width:72px; text-align:center; position:relative; display:inline-flex; align-items:center; justify-content:center; }
.golf-card__player-score--under { background:linear-gradient(135deg,#059669,#047857); box-shadow:0 3px 8px rgba(5,150,105,0.35); }
.golf-card__player-score--over { background:linear-gradient(135deg,#dc2626,#b91c1c); box-shadow:0 3px 8px rgba(220,38,38,0.35); }
.golf-card__player-score--even { background:linear-gradient(135deg,#64748b,#475569); box-shadow:0 3px 8px rgba(100,116,139,0.35); }
.golf-card__player-score--points { background:linear-gradient(135deg,#6366f1,#4338ca); box-shadow:0 3px 8px rgba(99,102,241,0.35); }
.golf-card__player-score--match { background:linear-gradient(135deg,#f59e0b,#d97706); box-shadow:0 3px 8px rgba(245,158,11,0.35); }
.golf-card__player-score[data-variant='points'] { background: linear-gradient(135deg,#6366f1,#4338ca); box-shadow: 0 2px 6px rgba(99,102,241,0.35); }
.golf-card__player-score[data-variant='match'] { background: linear-gradient(135deg,#f59e0b,#d97706); box-shadow: 0 2px 6px rgba(245,158,11,0.35); }
.golf-card__player-score::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent 70%);
  opacity: .55;
  pointer-events: none;
  border-radius: inherit;
}
.golf-card__player-score:hover { transform: translateY(-2px); box-shadow:0 6px 14px rgba(0,0,0,0.18); }
.golf-card__empty { text-align: center; font-size: .7rem; padding: 12px 4px; color: #64748b; font-weight: 500; }
.golf-card__actions { display: flex; justify-content: flex-end; margin-top: 10px; }
.golf-card__details-btn { font-size: .65rem !important; letter-spacing: .8px; font-weight: 700 !important; border-radius: 22px !important; padding: 4px 14px !important; background: linear-gradient(135deg,#0f766e,#0e7490) !important; box-shadow: 0 2px 6px rgba(2,132,199,0.35) !important; }
.golf-card__details-btn:hover { background: linear-gradient(135deg,#115e59,#155e75) !important; box-shadow: 0 4px 12px rgba(2,132,199,0.45) !important; }

@media (max-width: 640px) {
  .match-card--golf { padding: 12px 14px; }
  .golf-card__course { font-size: .95rem; }
  .golf-card__player-row { padding: 6px 10px 6px 12px; }
  .golf-card__player-name { font-size:.82rem; }
  .golf-card__player-score { min-width:64px; padding:5px 10px; font-size:.78rem; }
}

/* Golf Card Match Play Score Styling - Override default orange backgrounds with high specificity */
.golf-card__player-score.golf-card__player-score--winning,
.golf-card__player-score[data-variant='match'].golf-card__player-score--winning {
  background: #4caf50 !important;
  color: white !important;
  border: 1px solid #4caf50 !important;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  box-shadow: 0 2px 6px rgba(76,175,80,0.25) !important;
}

.golf-card__player-score.golf-card__player-score--losing,
.golf-card__player-score[data-variant='match'].golf-card__player-score--losing {
  background: #f44336 !important;
  color: white !important;
  border: 1px solid #f44336 !important;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  box-shadow: 0 2px 6px rgba(244,67,54,0.25) !important;
}

.golf-card__player-score.golf-card__player-score--tied,
.golf-card__player-score[data-variant='match'].golf-card__player-score--tied {
  background: #adb5bd !important;
  color: white !important;
  border: 1px solid #adb5bd !important;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

/* Ensure all golf player scores have good contrast and override default orange */
.golf-card__player-score {
  min-width: 80px;
  padding: 8px 12px;
  font-size: 0.85rem;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Override the problematic orange match backgrounds with high specificity */
.golf-card__player-score.golf-card__player-score--match,
.golf-card__player-score[data-variant='match']:not(.golf-card__player-score--winning):not(.golf-card__player-score--losing):not(.golf-card__player-score--tied) {
  background: #6c757d !important;
  color: white !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Force override of all existing golf score backgrounds when relation classes are present */
.golf-card__player-score.golf-card__player-score--winning[data-variant='match'],
.golf-card__player-score.golf-card__player-score--winning[data-variant='stroke'],
.golf-card__player-score.golf-card__player-score--winning[data-variant='points'] {
  background: #4caf50 !important;
  color: white !important;
  border: 1px solid #4caf50 !important;
  box-shadow: 0 2px 6px rgba(76,175,80,0.25) !important;
}

.golf-card__player-score.golf-card__player-score--losing[data-variant='match'],
.golf-card__player-score.golf-card__player-score--losing[data-variant='stroke'],
.golf-card__player-score.golf-card__player-score--losing[data-variant='points'] {
  background: #f44336 !important;
  color: white !important;
  border: 1px solid #f44336 !important;
  box-shadow: 0 2px 6px rgba(244,67,54,0.25) !important;
}

.golf-card__player-score.golf-card__player-score--tied[data-variant='match'],
.golf-card__player-score.golf-card__player-score--tied[data-variant='stroke'],
.golf-card__player-score.golf-card__player-score--tied[data-variant='points'] {
  background: #adb5bd !important;
  color: white !important;
  border: 1px solid #adb5bd !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

/* Match play status banner */
.golf-card__matchplay-status {
  background: linear-gradient(135deg, #1976d2, #42a5f5);
  color: white;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  margin-bottom: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}




/* Home Page Styles */
.home-container {
  min-height: 100vh;
  padding-top: 80px; /* Space for fixed header */
  background-color: #fafafa;
  background-color: var(--background-default, #fafafa);
  position: relative;
  z-index: 1;
}

.home-main-content {
  max-width: 1800px; /* Increased from 1500px for wider screens */
  padding: 16px; /* theme.spacing(2) */
  width: 100%;
  overflow-x: hidden;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Ensure Grid container behaves properly */
.home-main-content .MuiGrid-container {
  margin: 0 !important;
  width: 100% !important;
}

.home-main-content .MuiGrid-item {
  padding: 8px !important;
}

/* Medium screens and down */
@media (max-width: 960px) {
  .home-main-content {
    padding: 8px; /* theme.spacing(1) */
  }
  
  .home-container {
    padding-top: 70px; /* Reduced for mobile */
  }
}

/* Feed content styles */
.home-loader-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 150px;
  background-color: #ffffff;
  background-color: var(--background-paper, #ffffff);
  border-radius: 16px; /* theme.shape.borderRadius * 2 */
  margin: 8px 0; /* theme.spacing(1, 0) */
  border: 1px solid rgba(25, 118, 210, 0.1);
  border: 1px solid var(--primary-alpha-10, rgba(25, 118, 210, 0.1));
}

.home-empty-feed-container {
  text-align: center;
  padding: 24px; /* theme.spacing(3) */
  background-color: #ffffff;
  background-color: var(--background-paper, #ffffff);
  border-radius: 16px; /* theme.shape.borderRadius * 2 */
  border: 2px dashed rgba(25, 118, 210, 0.2);
  border: 2px dashed var(--primary-alpha-20, rgba(25, 118, 210, 0.2));
  margin: 8px 0; /* theme.spacing(1, 0) */
}

.home-empty-feed-icon {
  font-size: 2.5rem;
  margin-bottom: 4px; /* theme.spacing(0.5) */
  opacity: 0.6;
}

.home-match-feed-item {
  margin-bottom: 4px; /* theme.spacing(0.5) */
}

.home-match-feed-item iframe {
  border-radius: 8px; /* theme.shape.borderRadius */
  border: 1px solid rgba(25, 118, 210, 0.1);
  border: 1px solid var(--primary-alpha-10, rgba(25, 118, 210, 0.1));
}

.home-feed-content {
  margin-top: 8px; /* mt: 1 */
}

/* Typography styles */
.home-empty-feed-title {
  margin-bottom: 8px; /* mb: 1 */
  font-weight: 600;
}

.home-empty-feed-subtitle {
  margin-bottom: 8px; /* mb: 1 */
}

/* Home media styles */
.home-section-margin {
  margin-bottom: 8px;
}

.home-media-container {
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.home-media-image {
  width: 120px;
  border-radius: 8px;
  object-fit: cover;
}

/* Sidebar layout styles */
.home-left-sidebar {
  padding: 0 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-basis: 0;
}

.home-right-sidebar {
  padding: 0 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-basis: 0;
}

/* CSS Variables for theming */
:root {
  --background-default: #fafafa;
  --background-paper: #ffffff;
  --primary-alpha-10: rgba(25, 118, 210, 0.1);
  --primary-alpha-20: rgba(25, 118, 210, 0.2);
  --text-primary: rgba(0, 0, 0, 0.87);
  --text-secondary: rgba(0, 0, 0, 0.6);
}

/* Home page styles (refactored, legacy comments removed) */

@media (max-width: 1175px) {
  .stories,
  .createPost,
  .post,
  .send_verification {
    width: 84%;
  }
}
@media (max-width: 1030px) {
  .left_link {
    background: var(--bg-third);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: grid;
    place-items: center;
  }
  .contacts_header_right {
    right: 10%;
  }
  .contact_circle {
    width: 20px;
  }
  .stories,
  .createPost,
  .post,
  .send_verification {
    width: 100%;
  }
}
@media (max-width: 960px) {
  .createPost,
  .post,
  .send_verification {
    width: 93%;
  }
  .stories {
    width: 95%;
  }
  .splitter1 {
    width: 20vw;
  }
  .contact_circle {
    width: 30px;
  }
  .contacts_header_right {
    right: 0;
  }
}
@media (max-width: 885px) {
  .createPost,
  .post,
  .send_verification {
    width: 110%;
  }
  .stories {
    width: 112%;
  }
}
@media (max-width: 805px) {
  .stories {
    grid-template-columns: repeat(6, 12.7vw);
  }
  .story_profile_name,
  .story_create_text {
    display: none;
  }
  .create_story_card {
    filter: brightness(96%);
  }
  .stories .white_circle {
    right: 5px;
  }
  .story_profile_pic {
    width: 7vw;
    height: 7vw;
  }
  .popup {
    width: 70vw !important;
  }
}
@media (max-width: 620px) {
  .stories,
  .createPost,
  .post,
  .send_verification {
    width: 100%;
  }
  .stories .white_circle {
    display: none;
  }
  .stories {
    grid-template-columns: repeat(6, 14vw);
  }
  .story,
  .create_story_card {
    height: 30vw;
  }
  .createPost_icon {
    font-size: 12px;
  }
  .open_post {
    font-size: 16px;
  }
  .createPost_icon svg {
    width: 20px;
  }
}
@media (max-width: 400px) {
  .createPost,
  .post {
    margin-top: 1rem;
  }
  .send_verification {
    width: 98%;
    margin: 0 auto;
  }
  .stories {
    grid-template-columns: repeat(6, 13vw);
    padding-left: 10px;
  }
  .createPost_body {
    padding: 5px 0;
  }
}
/*-----Activate popup----*/
.popup {
  position: relative;
  background: var(--bg-primary);
  box-shadow: 0 1px 2px var(--shadow-1);
  width: 40vw;
  height: 200px;
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99;
  text-align: center;
  border-radius: 10px;
}
.popup_header {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-bottom: 1px solid var(--bg-third);
  padding: 15px;
}
.popup_message {
  padding: 15px;
  font-weight: 500;
}
/*-----Activate popup----*/

/* Grid layout styles for home page */
.home-left-sidebar-grid {
  display: none !important;
  min-width: 0;
}

@media (min-width: 1200px) {
  .home-left-sidebar-grid {
    display: block !important;
  }
}

.home-main-content-grid {
  min-width: 0;
  flex-grow: 1;
}

.home-right-sidebar-grid {
  display: none !important;
  min-width: 0;
}

@media (min-width: 1200px) {
  .home-right-sidebar-grid {
    display: block !important;
  }
}

.reset {
  background: var(--bg-secondary);
  height: 100vh;
  color: var(--text-primary);
}
.reset_header {
  background: var(--bg-primary);
  box-shadow: 1px 8px 15px -7px var(--shadow-1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  margin-bottom: 50px;
}
.reset_header img {
  width: 160px;
}
.right_reset {
  display: flex;
  align-items: center;
  gap: 10px;
}
.right_reset img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.reset_wrap {
  height: 67vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}
.reset_form {
  position: relative;
  background: var(--bg-primary);
  box-shadow: 0 1px 2px var(--shadow-1);
  border-radius: 10px;
  width: 100%;
  height: -webkit-fit-content !important;
  height: fit-content !important;
}

.reset_form_header {
  padding: 15px;
  font-weight: 600;
  font-size: 24px;
  border-bottom: 1px solid var(--bg-third);
}
.reset_form_text {
  padding: 15px;
  font-size: 17px;
}
.reset_form form {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 10px;
}
.reset_form_btns {
  display: flex;
  align-self: flex-end;
  gap: 10px;
  margin-top: 5px;
  padding: 10px;
  position: relative;
  width: 100%;
  padding-left: 65%;
  border-top: 1px solid var(--bg-third);
}
.reset_form_btns a,
.reset_form_btns button {
  width: 90px;
}
.reset_grid {
  display: grid;
  grid-template-columns: 1fr;
  font-size: 15px;
  color: var(--text-secondary);
}
.reset_left {
  padding: 15px;
}
.reset_grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 5px;
}
.reset_left input {
  width: 20px;
  height: 20px;
}
.label_col {
  display: flex;
  flex-direction: column;
}
.reset_right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.reset_right img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}
.dynamic_height {
  height: 430px;
}
.conf_password_error {
  transform: translateY(62px) !important;
}
.conf_password_error .error_arrow_left {
  transform: rotate(180deg) translateY(65px);
}
.err_res_password {
  transform: translateY(-16px) !important;
}
.err_res_password .error_arrow_left {
  transform: translateY(19px);
}
/*----Queries----*/
@media (max-width: 350px) {
  .reset_form {
    height: -webkit-fit-content;
    height: fit-content;
  }

  .reset_form form input {
    width: 290px;
  }
  .reset_form .input_error {
    width: 290px;
  }
  .reset_form .error_icon {
    right: 20px;
  }
  .reset_form_btns {
    padding-left: 40% !important;
  }
}
@media (max-width: 450px) {
  .reset_form_btns {
    padding-left: 50%;
  }
}
@media (min-width: 650px) {
  .reset_form {
    width: 570px;
  }
  .reset_grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dynamic_height {
    height: 330px;
  }
  .reset_form_btns {
    padding-left: 65%;
  }
}

@media (min-width: 850px) and (max-width: 1050px) {
  .reset_form .input_error {
    left: 0;
    top: -60px;
    width: 100%;
  }
  .reset_form .error_arrow_left {
    border-top: 10px solid #b94a48;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    position: absolute;
    top: 45px;
    left: 10px;
    width: 10px;
  }
}
@media (min-width: 1050px) {
  .reset_form .input_error_desktop {
    width: 320px;
    left: -92%;
  }
}
/*----Queries----*/

/* Reset Pages Styles */

.reset-form-height {
  height: 310px;
}

.reset-error-padding {
  padding: 10px;
}

/*
  Friends Page — Modernized styles
  - Cleaner sidebar with better active/hover states
  - Card-like sections on the right
  - Responsive grid for friend request/friends cards
  - Uses existing CSS variables for theme consistency
*/

.friends {
  height: calc(100vh - 56px);
  width: 100%;
  margin-top: 56px;
  display: grid;
  color: var(--text-primary);
}

.friends_left {
  background: var(--bg-primary);
  box-shadow: 0 8px 24px var(--shadow-1);
  padding: 14px;
  position: fixed;
  width: 360px;
  height: 100%;
  overflow-y: auto;
  border-right: 1px solid var(--bg-third);
}

/* subtle custom scrollbar */
.friends_left::-webkit-scrollbar {
  width: 8px;
}
.friends_left::-webkit-scrollbar-thumb {
  background: var(--bg-third);
  border-radius: 8px;
}

.friends_right {
  background: var(--bg-secondary);
  padding: 2rem 2.25rem;
  position: absolute;
  top: 56px;
  left: 360px;
  right: 0;
  width: calc(100% - 360px);
  min-height: calc(100vh - 56px);
}

.friends_left_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 12px 6px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background: var(--bg-primary);
  z-index: 1;
}

.friends_left_header h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.friends_left_wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

/* Left menu item pill style */
.friends_left .mmenu_item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: background 160ms ease, transform 120ms ease;
  cursor: pointer;
}
.friends_left .mmenu_item:hover {
  background: var(--bg-secondary);
}
.friends_left .mmenu_item:active {
  transform: translateY(1px);
}

.active_friends {
  background: linear-gradient(0deg, rgba(24,118,242,0.10), rgba(24,118,242,0.10));
  box-shadow: inset 0 0 0 1px rgba(24,118,242,0.35);
  position: relative;
}
.active_friends::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--blue-color);
  border-radius: 2px;
}
.active_friends .small_circle {
  background: #1876f2;
}
.active_friends i {
  filter: invert(100%);
}
.active_friends .rArrow {
  display: none;
}

/* Icon bubble */
.friends_left .small_circle {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-secondary);
  box-shadow: 0 1px 2px var(--shadow-1);
}

.see_link {
  color: var(--blue-color);
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 160ms ease;
  cursor: pointer;
}
.see_link:hover {
  background: rgba(24, 118, 242, 0.12);
}

/* Right sections as cards */
.friends_right_wrap {
  background: var(--bg-primary);
  border: 1px solid var(--bg-third);
  border-radius: 14px;
  padding: 16px 18px 18px;
  margin: 0 auto 20px;
  max-width: 1200px;
  box-shadow: 0 6px 18px var(--shadow-1);
}

.friends_right_wrap .friends_left_header {
  background: transparent;
  position: static;
  padding: 0 0 8px 0;
  margin-bottom: 4px;
}

.friends_right_wrap .friends_left_header h3 {
  font-size: 18px;
}

.friends_right_wrap .flex_wrap {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-gap: 18px;
  gap: 18px;
  align-items: stretch;
}

/* Card used by friend items (when Card uses .req_card) */
.req_card {
  background: var(--bg-primary);
  border: 1px solid var(--bg-third);
  box-shadow: 0 4px 12px var(--shadow-1);
  width: 100%;
  height: -webkit-fit-content;
  height: fit-content;
  padding-bottom: 12px;
  border-radius: 12px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.req_card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px var(--shadow-1);
}

.req_card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.req_card button {
  width: 90% !important;
}

/* Responsive tweaks */
@media (max-width: 1200px) {
  .friends_right {
    padding: 1.5rem;
  }
}

@media (max-width: 1024px) {
  .friends_left {
    width: 280px;
  }
  .friends_right {
    left: 280px;
    width: calc(100% - 280px);
  }
}

@media (max-width: 870px) {
  .friends_left {
    width: 100px;
    padding: 10px 8px;
  }
  .friends_right {
    left: 100px;
    width: calc(100% - 100px);
    padding: 1rem;
  }
  .friends_left .friends_left_header .small_circle {
    display: none;
  }
  .friends_left .mmenu_item span {
    display: none;
  }
}

@media (max-width: 520px) {
  .friends_left_header h3 {
    font-size: 16px;
  }
  .see_link {
    font-size: 12px;
    width: auto;
  }
  .friends_right {
    padding: 12px;
  }
  .friends_right_wrap {
    padding: 14px;
  }
}

/* SimplePlayerRating Component - Modern & Responsive Styles */

.simple-player-rating {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: 0;
  margin-bottom: 0;
  gap: 0.375rem;
  cursor: default;
  padding: 0.5rem;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  width: 100%;
  max-width: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  clear: both;
  overflow: hidden;
}

/* Compact variant for player cards */
.simple-player-rating.compact {
  padding: 6px 8px;
  gap: 2px;
  border-radius: 6px;
  min-width: 100px;
  max-width: 100%;
  width: 100%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 197, 253, 0.08) 100%);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.simple-player-rating:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-color: rgba(99, 102, 241, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 1) 100%);
}

.simple-player-rating.compact:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(147, 197, 253, 0.12) 100%);
  border-color: rgba(59, 130, 246, 0.25);
}

/* Voting Interface Container */
.simple-player-rating.voting-mode {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(16, 185, 129, 0.08) 100%);
  border-color: rgba(34, 197, 94, 0.2);
}

.simple-player-rating.voting-mode.compact {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(16, 185, 129, 0.1) 100%);
  border-color: rgba(34, 197, 94, 0.25);
}

.simple-player-rating.voting-mode:hover {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(16, 185, 129, 0.12) 100%);
  border-color: rgba(34, 197, 94, 0.4);
}

.simple-player-rating .rating-prompt {
  font-size: 0.7rem !important;
  font-weight: 500 !important;
  color: #059669 !important;
  text-align: center;
  margin-bottom: 2px;
}

/* Rating Display for compact cards - Scoped to simple-player-rating */
.simple-player-rating .rating-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.simple-player-rating .rating-score {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
}

/* When stars are hidden, center the rating value */
.simple-player-rating .rating-score.no-stars {
  justify-content: center;
}

.simple-player-rating .rating-score.no-stars .rating-value {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  color: #1f2937 !important;
}

.simple-player-rating .rating-value {
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: #1f2937 !important;
  line-height: 1 !important;
  text-align: center;
}

.simple-player-rating .rating-count {
  font-size: 0.65rem !important;
  color: #6b7280 !important;
  text-align: center;
  line-height: 1 !important;
}

.simple-player-rating .rating-stars-mini {
  display: flex;
}

.simple-player-rating .rating-stars-mini .MuiRating-root {
  gap: 1px;
}

.simple-player-rating .rating-stars-mini .MuiRating-icon {
  font-size: 0.8rem !important;
}

/* Rating Stars Container - Scoped to simple-player-rating */
.simple-player-rating .rating-container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  align-items: stretch;
}

.simple-player-rating .rating-stars {
  width: 100% !important;
  display: flex !important;
  justify-content: space-evenly !important;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.25rem 0;
  background: rgba(248, 250, 252, 0.3);
  border-radius: 6px;
  border: 1px solid rgba(226, 232, 240, 0.4);
}

.simple-player-rating .rating-stars.compact {
  min-height: auto;
  padding: 1px 0;
  background: transparent;
  border: none;
  justify-content: center !important;
  gap: 3px;
}

/* Individual Star Styling - Scoped to simple-player-rating */
.simple-player-rating .rating-stars .MuiRating-icon {
  font-size: 1.25rem !important;
  margin: 0 !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.simple-player-rating .rating-stars.compact .MuiRating-icon {
  font-size: 1rem !important;
}

.simple-player-rating .rating-stars .MuiSvgIcon-root {
  font-size: 1.25rem !important;
}

.simple-player-rating .rating-stars.compact .MuiSvgIcon-root {
  font-size: 1rem !important;
}

/* Voting Stars - Interactive - Scoped to simple-player-rating */
.simple-player-rating .rating-stars.voting .MuiRating-icon {
  cursor: pointer;
}

.simple-player-rating .rating-stars.voting .MuiRating-icon:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.simple-player-rating .rating-stars.voting.compact .MuiRating-icon:hover {
  transform: scale(1.1);
}

.simple-player-rating .rating-stars.voting .MuiRating-iconFilled {
  color: #f59e0b !important;
}

.simple-player-rating .rating-stars.voting .MuiRating-iconEmpty {
  color: #e5e7eb !important;
}

.simple-player-rating .rating-stars.voting .MuiRating-iconEmpty:hover {
  color: #fbbf24 !important;
}

/* Display Stars - Read Only - Scoped to simple-player-rating */
.simple-player-rating .rating-stars.display .MuiRating-iconFilled {
  color: #3b82f6 !important;
}

.simple-player-rating .rating-stars.display .MuiRating-iconEmpty {
  color: #e5e7eb !important;
}

.simple-player-rating .rating-stars.display .MuiRating-iconHover {
  color: #60a5fa !important;
}

/* Rating Info Row - Scoped to simple-player-rating */
.simple-player-rating .rating-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.25rem 0.375rem;
  background: rgba(248, 250, 252, 0.5);
  border-radius: 4px;
  border: 1px solid rgba(226, 232, 240, 0.3);
}

.simple-player-rating .rating-value {
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: #374151 !important;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.simple-player-rating .rating-count {
  font-size: 0.75rem !important;
  color: #6b7280 !important;
  font-weight: 500;
  opacity: 0.8;
}

/* Loading and Disabled State - Scoped to simple-player-rating */
.simple-player-rating .rating-stars.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.simple-player-rating .rating-stars.disabled .MuiRating-icon {
  animation: simplePlayerRatingPulse 2s infinite;
}

@keyframes simplePlayerRatingPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0.3; }
}

/* Responsive Design */
@media (max-width: 768px) {
  .simple-player-rating {
    padding: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
    gap: 0.375rem;
  }
  
  .simple-player-rating .rating-stars {
    min-height: 2rem;
    padding: 0.375rem 0;
  }
  
  .simple-player-rating .rating-stars .MuiRating-icon {
    font-size: 1.5rem !important;
  }
  
  .simple-player-rating .rating-stars .MuiSvgIcon-root {
    font-size: 1.5rem !important;
  }
  
  .simple-player-rating .rating-info {
    padding: 0.25rem 0.375rem;
  }
  
  .simple-player-rating .rating-value {
    font-size: 0.8125rem !important;
  }
  
  .simple-player-rating .rating-count {
    font-size: 0.6875rem !important;
  }
}

@media (max-width: 480px) {
  .simple-player-rating {
    padding: 0.375rem;
    border-radius: 8px;
    margin-top: 0.375rem;
    gap: 0.25rem;
  }
  
  .simple-player-rating .rating-stars {
    min-height: 1.75rem;
    padding: 0.25rem 0;
  }
  
  .simple-player-rating .rating-stars .MuiRating-icon {
    font-size: 1.25rem !important;
  }
  
  .simple-player-rating .rating-stars .MuiSvgIcon-root {
    font-size: 1.25rem !important;
  }
  
  .simple-player-rating .rating-container {
    gap: 0.25rem;
  }
  
  .simple-player-rating .rating-info {
    padding: 0.1875rem 0.25rem;
  }
  
  .simple-player-rating .rating-value {
    font-size: 0.75rem !important;
  }
  
  .simple-player-rating .rating-count {
    font-size: 0.625rem !important;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .simple-player-rating {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    border-color: rgba(71, 85, 105, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  
  .simple-player-rating:hover {
    border-color: rgba(129, 140, 248, 0.4);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 1) 100%);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  }
  
  .simple-player-rating.voting-mode {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.15) 100%);
    border-color: rgba(34, 197, 94, 0.3);
  }
  
  .simple-player-rating .rating-value {
    color: #f1f5f9 !important;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .simple-player-rating .rating-count {
    color: #94a3b8 !important;
  }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
  .simple-player-rating,
  .simple-player-rating .rating-stars .MuiRating-icon {
    transition: none;
  }
  
  .simple-player-rating .rating-stars.voting .MuiRating-icon:hover {
    transform: none;
  }
  
  .simple-player-rating:hover {
    transform: none;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .simple-player-rating {
    border: 2px solid #000;
    background: #fff;
  }
  
  .simple-player-rating .rating-stars.display .MuiRating-iconFilled {
    color: #000 !important;
  }
  
  .simple-player-rating .rating-stars.voting .MuiRating-iconFilled {
    color: #000 !important;
  }
  
  .simple-player-rating .rating-value,
  .simple-player-rating .rating-count {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
  }
}


/* Player Card Component - Three Column Layout (Scoped to avoid conflicts) */

/* Main Card Container - Horizontal Layout */
.modern-player-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  cursor: pointer;
  min-height: 70px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  justify-content: flex-start;
  min-width: 380px;
}

.modern-player-card:hover {
  background: #f8fafc;
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.modern-player-card.empty {
  background: #f9fafb;
  border: 1px dashed #d1d5db;
  cursor: default;
  color: #6b7280;
}

/* Avatar Section - Scoped to modern-player-card */
.modern-player-card .avatar-section {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
  overflow: visible;
}

.modern-player-card .player-avatar {
  width: 100%;
  height: 100%;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modern-player-card .jersey-badge {
  position: absolute;
  bottom: 0px;
  right: 0px;
  background: #dc2626;
  color: white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  min-width: 16px;
  min-height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: bold;
  border: 2px solid white;
  box-sizing: border-box;
  flex-shrink: 0;
  overflow: hidden;
  text-align: center;
  line-height: 1;
}

/* Player Info Section - Center: Name and Position */
.modern-player-card .player-info-section {
  flex: 1 1;
  min-width: 120px;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  height: auto;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.modern-player-card .name-container {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 20px;
}

.modern-player-card .player-name {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #111827 !important;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  flex: 1 1;
  line-height: 1.2;
  min-height: auto;
  display: block !important;
  background: transparent;
  opacity: 1 !important;
  z-index: 1;
  visibility: visible !important;
  position: relative;
  text-align: center;
}

.modern-player-card .position-text {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
  margin: 0;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  text-align: center;
  width: 100%;
}

.modern-player-card .status-badges {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

/* Badge Styles - Scoped to modern-player-card */
.modern-player-card .captain-badge {
  background: #fbbf24;
  color: #92400e;
  font-weight: bold;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  font-size: 0.7rem;
}

.modern-player-card .sub-badge {
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.65rem;
  height: 16px;
}

.modern-player-card .confirmed-badge {
  background: #dcfce7;
  color: #166534;
  font-weight: bold;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  font-size: 0.7rem;
}

/* Actions Section - Right: Rating and Stats Button Vertically Stacked */
.modern-player-card .actions-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  width: 160px;
  min-width: 160px;
  max-width: 160px;
  justify-content: center;
}

.modern-player-card .rating-container {
  min-height: 40px;
  width: 100%;
  max-width: 160px;
  display: flex;
  justify-content: center;
  overflow: visible;
}

.modern-player-card .stats-button,
.modern-player-card .confirm-button {
  font-size: 0.75rem;
  height: 28px;
  padding: 0 12px;
  min-width: 60px;
  white-space: nowrap;
}

/* Compact Variant - Maintains Three Column Layout */
.modern-player-card.compact {
  padding: 10px 14px;
  gap: 12px;
  min-height: 56px;
}

.modern-player-card.compact .avatar-section {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  max-width: 32px;
  max-height: 32px;
}

.modern-player-card.compact .player-avatar {
  width: 100%;
  height: 100%;
  font-size: 0.9rem;
}

.modern-player-card.compact .jersey-badge {
  width: 14px;
  height: 14px;
  max-width: 14px;
  max-height: 14px;
  min-width: 14px;
  min-height: 14px;
  font-size: 0.6rem;
  bottom: 0px;
  right: 0px;
}

.modern-player-card.compact .player-name {
  font-size: 0.85rem;
  line-height: 1.2;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.modern-player-card.compact .position-text {
  font-size: 0.75rem;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.modern-player-card.compact .actions-section {
  gap: 6px;
  min-width: 100px;
  width: 100px;
  max-width: 100px;
}

.modern-player-card.compact .rating-container {
  min-height: 30px;
  max-width: 100px;
}

.modern-player-card.compact .stats-button,
.modern-player-card.compact .confirm-button {
  font-size: 0.7rem;
  height: 24px;
  padding: 0 8px;
  min-width: 50px;
}

.modern-player-card.compact .captain-badge,
.modern-player-card.compact .confirmed-badge {
  height: 16px;
  min-width: 16px;
  font-size: 0.65rem;
}

.modern-player-card.compact .sub-badge {
  height: 14px;
  font-size: 0.6rem;
}

/* Mobile Responsive - Maintains Three Column Layout */
@media (max-width: 620px) {
  .modern-player-card {
    padding: 10px 12px;
    gap: 12px;
    min-height: 64px;
  }
  
  .modern-player-card .avatar-section {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
  }
  
  .modern-player-card .player-avatar {
    width: 100%;
    height: 100%;
  }
  
  .modern-player-card .jersey-badge {
    width: 14px;
    height: 14px;
    max-width: 14px;
    max-height: 14px;
    min-width: 14px;
    min-height: 14px;
    font-size: 0.6rem;
    bottom: 0px;
    right: 0px;
  }
  
  .modern-player-card .player-name {
    font-size: 0.9rem;
    line-height: 1.2;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
  }
  
  .modern-player-card .position-text {
    font-size: 0.75rem;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
  }
  
  .modern-player-card .actions-section {
    gap: 6px;
    min-width: 110px;
    width: 110px;
    max-width: 110px;
  }
  
  .modern-player-card .rating-container {
    min-height: 35px;
    max-width: 110px;
  }
  
  .modern-player-card .stats-button,
  .modern-player-card .confirm-button {
    font-size: 0.7rem;
    height: 26px;
    padding: 0 8px;
    min-width: 50px;
  }
}

/* FixtureDetails.css */

/* ===================== */
/* Theme tokens           */
/* ===================== */
:root {
  --mss-accent: #0cbd63;
  --mss-accent-2: #1976d2;
  --mss-danger: #ef4444;
  --mss-text-strong: #1f2937;
  --mss-text-muted: #6b7280;
  --mss-border: #e2e8f0;
  --mss-card: #ffffff;
  --mss-card-muted: #f8fafc;
  --mss-shadow: 0 10px 30px rgba(2, 6, 23, 0.12);
  --mss-shadow-soft: 0 6px 18px rgba(2, 6, 23, 0.08);
  --mss-gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --mss-gradient-sport: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --mss-gradient-energy: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  
  /* Match status colors */
  --mss-status-upcoming: #2196f3;
  --mss-status-live: #ff9800;
  --mss-status-finished: #4caf50;
  --mss-status-default: #757575;
}

@media (prefers-color-scheme: dark) {
  :root {
    --mss-text-strong: #e5e7eb;
    --mss-text-muted: #9ca3af;
    --mss-border: #273142;
    --mss-card: #0b1420;
    --mss-card-muted: #0f1b2b;
    --mss-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --mss-shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.25);
  }
}

/* ===================== */
/* Match Status Indicators */
/* ===================== */
.match-status-indicator {
  position: relative;
  overflow: hidden;
  border-radius: 12px !important;
  margin-bottom: 16px !important;
  animation: fadeInScale 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.match-status-indicator.upcoming {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(33, 150, 243, 0.05) 100%);
  border-color: #2196f3 !important;
  border-color: var(--mss-status-upcoming) !important;
}

.match-status-indicator.live {
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.1) 0%, rgba(255, 152, 0, 0.05) 100%);
  border-color: #ff9800 !important;
  border-color: var(--mss-status-live) !important;
  animation: pulseGlow 2s infinite;
}

.match-status-indicator.finished {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
  border-color: #4caf50 !important;
  border-color: var(--mss-status-finished) !important;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(255, 152, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.6);
  }
}

/* ===================== */
/* Enhanced Tab Content Styling */
/* ===================== */
.fixture-tab-panel {
  position: relative;
}

.fixture-tab-panel.upcoming::before {
  content: "📅 UPCOMING FIXTURE";
  position: absolute;
  top: -8px;
  right: 16px;
  background: #2196f3;
  background: var(--mss-status-upcoming);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 1;
  opacity: 0.8;
}

.fixture-tab-panel.live::before {
  content: "🔴 LIVE MATCH";
  position: absolute;
  top: -8px;
  right: 16px;
  background: #ff9800;
  background: var(--mss-status-live);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 1;
  animation: pulseGlow 2s infinite;
}

.fixture-tab-panel.finished::before {
  content: "✅ MATCH RESULT";
  position: absolute;
  top: -8px;
  right: 16px;
  background: #4caf50;
  background: var(--mss-status-finished);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 1;
  opacity: 0.8;
}

/* ===================== */
/* Hero header            */
/* ===================== */
.fixture-header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  background: var(--mss-gradient-sport);
  color: white;
  border-radius: 24px !important;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.12);
  box-shadow: var(--mss-shadow);
  animation: slideInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.fixture-header::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 220px;

  background-image:
    linear-gradient(120deg, rgba(255,255,255,0.15) 25%, rgba(255,255,255,0) 26%),
    linear-gradient(120deg, rgba(255,255,255,0.15) 25%, rgba(255,255,255,0) 26%);
  background-position: 0 0, 12px 12px;
  background-size: 24px 24px, 24px 24px;
  opacity: 0.3;
  pointer-events: none;
  animation: patternMove 20s linear infinite;
}
.fixture-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 400px at -10% -20%, rgba(255,255,255,0.2), transparent 60%),
    radial-gradient(800px 400px at 120% -10%, rgba(255,255,255,0.15), transparent 60%),
    radial-gradient(600px 300px at 50% 120%, rgba(255,255,255,0.1), transparent 50%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite alternate;
}

.home-team-container {
  justify-content: flex-start;
}

.away-team-container {
  justify-content: flex-end;
  flex-direction: row-reverse;
}

.fixture-teams-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.team-container { min-width: 200px; }
.team-info, .away-team-info { text-align: center; }
.team-name { margin: 0; font-weight: 700; color: white; text-shadow: 0 2px 10px rgba(0,0,0,0.25); }
.team-avatar { border: 3px solid rgba(255,255,255,0.9); box-shadow: 0 12px 30px rgba(0,0,0,0.3), 0 0 0 6px rgba(255,255,255,0.1), inset 0 0 0 2px rgba(255,255,255,0.2); -webkit-backdrop-filter: saturate(1.3) brightness(1.1); backdrop-filter: saturate(1.3) brightness(1.1); transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.home-team-avatar { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important; background: var(--mss-gradient-energy) !important; animation: teamGlow 3s ease-in-out infinite alternate; }
.away-team-avatar { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important; background: var(--mss-gradient-primary) !important; animation: teamGlow 3s ease-in-out infinite alternate-reverse; }

.team-avatar:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 8px rgba(255,255,255,0.2);
}

.vs-separator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.vs-circle {
  width: clamp(56px, 7vw, 72px);
  height: clamp(56px, 7vw, 72px);
  border-radius: 50%;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  background: var(--mss-gradient-sport);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(23, 23, 23, 0.25), 0 0 0 8px rgba(245, 101, 101, 0.15), inset 0 0 20px rgba(255,255,255,0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  animation: vsPulse 2s ease-in-out infinite;
}
.vs-circle::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: fixtureDetailsSpin 3s linear infinite;
}
.vs-text {
  font-weight: 900;
  letter-spacing: 0.5px;
  color: white;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
}

.fixture-info-container {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 16px;
}

/* Match Information Section */
.match-info-section {
  padding: clamp(20px, 3vw, 32px);
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  background: linear-gradient(135deg, var(--mss-card) 0%, var(--mss-card-muted) 100%);
  border: 1px solid #e2e8f0;
  border: 1px solid var(--mss-border);
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.08);
  box-shadow: var(--mss-shadow-soft);
}

.match-info-header {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.match-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0cbd63 0%, #00a854 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  color: white;
  font-size: 1.5rem;
}

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

.info-card {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: white;
  transition: all 0.2s ease;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.info-card-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-card {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  border: 1px solid var(--mss-border);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  background: linear-gradient(180deg, var(--mss-card) 0%, var(--mss-card-muted) 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.info-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(2, 6, 23, 0.12); box-shadow: var(--mss-shadow); border-color: rgba(12,189,99,0.35); }

.info-card-icon.date {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.info-card-icon.venue {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.info-card-icon.tournament {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.info-card-icon.format {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.info-card-label { color: #6b7280; color: var(--mss-text-muted); font-weight: 500; font-size: 0.875rem; margin: 0; }
.info-card-value { font-weight: 700; color: #1f2937; color: var(--mss-text-strong); margin: 0; }

/* Tabs Section */
.tabs-container {
  border-radius: 16px;
  overflow: visible;
  background: #ffffff;
  background: var(--mss-card);
  border: 1px solid #e2e8f0;
  border: 1px solid var(--mss-border);
  width: 100% !important;
  max-width: 3200px !important;
  margin: 0 auto !important;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.08);
  box-shadow: var(--mss-shadow-soft);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  position: relative;
}
.tabs-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  background: var(--mss-gradient-sport);
  border-radius: 16px 16px 0 0;
}
.tabs-header { 
  background: rgba(255,255,255,0.8); 
  border-bottom: 1px solid #e2e8f0; 
  border-bottom: 1px solid var(--mss-border); 
  display: flex; 
  -webkit-backdrop-filter: blur(10px); 
          backdrop-filter: blur(10px); 
  justify-content: center;
}
/* Center tabs */
.tabs-header .MuiTabs-root { 
  width: 100% !important; 
  display: flex; 
  justify-content: center;
  max-width: 3200px !important;
}
.tabs-header .MuiTabs-scroller { 
  width: 100% !important; 
  display: flex; 
  justify-content: center;
  max-width: 3200px !important;
}
.tabs-header .MuiTabs-flexContainer { 
  justify-content: center; 
}
@media (max-width: 768px) { 
  .tabs-header .MuiTabs-flexContainer { 
    justify-content: flex-start; 
  } 
}

/* Ensure all tab content is centered */
.tabs-container [role="tabpanel"] {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  box-sizing: border-box;
}

.tabs-container [role="tabpanel"] > * {
  width: 100% !important;
  max-width: 3200px !important;
  margin: 0 auto !important;
  box-sizing: border-box;
}

/* Tab labels */
.custom-tab { font-weight: 700 !important; color: #6b7280 !important; color: var(--mss-text-muted) !important; min-height: 56px !important; border-radius: 999px !important; margin: 8px !important; padding: 6px 14px !important; text-transform: none !important; position: relative; overflow: hidden; transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.custom-tab::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); background: var(--mss-gradient-energy); opacity: 0; transition: opacity 0.3s ease; }
.custom-tab:hover::before { opacity: 0.1; }
.custom-tab.Mui-selected, .custom-tab.selected { color: white !important; background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); background: var(--mss-gradient-sport); box-shadow: 0 8px 25px rgba(245, 101, 108, 0.3); transform: translateY(-2px); }
.tab-indicator { height: 3px !important; border-radius: 3px 3px 0 0 !important; background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important; background: var(--mss-gradient-sport) !important; box-shadow: 0 0 10px rgba(245, 101, 108, 0.5); }
.tab-label { display: inline-flex; align-items: center; gap: 8px; position: relative; z-index: 1; }
.tab-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 6px; border-radius: 999px; background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); background: var(--mss-gradient-energy); color: #fff; font-size: 11px; font-weight: 800; line-height: 1; box-shadow: 0 4px 12px rgba(79, 172, 254, 0.4); animation: badgePulse 2s ease-in-out infinite; }

/* Per-sport accents for tabs container (golf removed) */
.tabs-container.sport-rugby .tab-indicator { background: linear-gradient(135deg, #ff6d00, #ff9100) !important; }
.tabs-container.sport-soccer .tab-indicator { background: linear-gradient(135deg, #4CAF50, #2e7d32) !important; }
.tabs-container.sport-basketball .tab-indicator { background: linear-gradient(135deg, #ff9800, #ef6c00) !important; }
.tabs-container.sport-cricket .tab-indicator { background: linear-gradient(135deg, #2196F3, #1565c0) !important; }
.tabs-container.sport-hockey .tab-indicator, .tabs-container.sport-field-hockey .tab-indicator { background: linear-gradient(135deg, #9C27B0, #6a1b9a) !important; }
.tabs-container.sport-tennis .tab-indicator { background: linear-gradient(135deg, #FFC107, #f9a825) !important; }
.tabs-container.sport-netball .tab-indicator { background: linear-gradient(135deg, #E91E63, #ad1457) !important; }

.tabs-container.sport-rugby .custom-tab.Mui-selected, .tabs-container.sport-rugby .custom-tab.selected { color: #ff6d00 !important; background: rgba(255, 139, 56, 0.15); }
.tabs-container.sport-soccer .custom-tab.Mui-selected, .tabs-container.sport-soccer .custom-tab.selected { color: #2e7d32 !important; background: rgba(76, 175, 80, 0.15); }
.tabs-container.sport-basketball .custom-tab.Mui-selected, .tabs-container.sport-basketball .custom-tab.selected { color: #ef6c00 !important; background: rgba(255, 152, 0, 0.18); }
.tabs-container.sport-cricket .custom-tab.Mui-selected, .tabs-container.sport-cricket .custom-tab.selected { color: #1565c0 !important; background: rgba(33, 150, 243, 0.16); }
.tabs-container.sport-hockey .custom-tab.Mui-selected, .tabs-container.sport-hockey .custom-tab.selected, .tabs-container.sport-field-hockey .custom-tab.Mui-selected, .tabs-container.sport-field-hockey .custom-tab.selected { color: #6a1b9a !important; background: rgba(156, 39, 176, 0.16); }
.tabs-container.sport-tennis .custom-tab.Mui-selected, .tabs-container.sport-tennis .custom-tab.selected { color: #f9a825 !important; background: rgba(255, 193, 7, 0.18); }
.tabs-container.sport-netball .custom-tab.Mui-selected, .tabs-container.sport-netball .custom-tab.selected { color: #ad1457 !important; background: rgba(233, 30, 99, 0.16); }

/* Allow selected panels to go full-bleed (edge-to-edge) */
.tabs-container .comments-section.full-bleed,
.tabs-container .media-section.full-bleed,
.tabs-container .full-bleed-stats,
.tabs-container .stats-card.stats-wide {
  /* Remove the full-bleed effect for better centering */
  width: 100% !important;
  position: relative;
  left: auto;
  right: auto;
  margin-left: auto !important;
  margin-right: auto !important;
  border-radius: 12px;
}

/* Override Material-UI computed classes for stats-wide elements */
.tabs-container .stats-card.stats-wide [class*="MuiPaper-root"],
.tabs-container .full-width-stats [class*="MuiPaper-root"] {
  width: 100% !important;
  max-width: none !important;
}

/* High-specificity override for stubborn Material-UI computed classes */
.tabs-container .stats-tab .stats-card.stats-wide.full-width-stats [class*="MuiPaper-root"],
.tabs-container .stats-tab .full-width-stats [class*="MuiPaper-root"],
.tabs-container [class*="MuiPaper-root"].stats-card.stats-wide,
.tabs-container [class*="MuiPaper-root"].full-width-stats {
  width: 100% !important;
  max-width: none !important;
}

/* Tab Panel Content Centering - Override for statistics */
.tabs-container [role="tabpanel"] > div { 
  max-width: 3200px !important; 
  margin: 0 auto !important; 
  width: 100% !important; 
  box-sizing: border-box; 
  padding: 24px; 
}

/* Statistics full-width override using direct class targeting */
.statistics-full-width-container {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Override parent container constraints for statistics */
.tabs-container .statistics-full-width-container {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Force full width for statistics when breaking out */
.tabs-container [role="tabpanel"] > .statistics-full-width-container {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Centered tab panel with proper padding */
.fixture-tab-panel {
  max-width: 3200px !important;
  margin: 0 auto !important;
  width: 100% !important;
  box-sizing: border-box;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Center grid containers within tabs */
.fixture-tab-panel .MuiGrid-container {
  justify-content: center;
  width: 100%;
}

/* Override any Material-UI container restrictions */
.tabs-container .MuiContainer-root,
.tabs-container .MuiContainer-maxWidthLg,
.tabs-container .MuiContainer-maxWidthMd,
.tabs-container .MuiContainer-maxWidthSm,
.tabs-container .MuiContainer-maxWidthXl,
.tabs-container .MuiContainer-maxWidthXs {
  max-width: none !important;
  width: 100% !important;
}

/* Force full width for all tab panels */
.tabs-container .MuiTabPanel-root,
.tabs-container [role="tabpanel"] {
  width: 100% !important;
  max-width: 3200px !important;
  margin: 0 auto !important;
}

/* Override any Paper or Box restrictions */
.tabs-container .MuiPaper-root,
.tabs-container .MuiBox-root {
  width: 100% !important;
}

/* Force stats and comments to use full available width */
.stats-tab,
.comments-tab,
.media-tab {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
}

/* Remove side padding when panel contains a full-bleed section */
.tabs-container [role="tabpanel"] > div:has(.comments-section.full-bleed),
.tabs-container [role="tabpanel"] > div:has(.media-section.full-bleed),
.tabs-container [role="tabpanel"] > div:has(.full-bleed-stats),
.tabs-container [role="tabpanel"] > div:has(.stats-card.stats-wide) {
  padding-left: 0;
  padding-right: 0;
}

/* Team Section */
.team-section {
  margin-bottom: 24px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border: 1px solid var(--mss-border);
  background: #ffffff;
  background: var(--mss-card);
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.08);
  box-shadow: var(--mss-shadow-soft);
}

/* Team Section */
.team-section {
  margin-bottom: 24px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border: 1px solid var(--mss-border);
  background: #ffffff;
  background: var(--mss-card);
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.08);
  box-shadow: var(--mss-shadow-soft);
  position: relative;
}
.team-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  background: var(--mss-gradient-energy);
}

.team-section-header {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.8) 100%);
  padding: 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.team-section-title {
  font-weight: 700;
  color: #1f2937;
  position: relative;
}
.team-section-title::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 3px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  background: var(--mss-gradient-sport);
  border-radius: 2px;
}

.team-section-button {
  min-width: 140px;
  border-radius: 16px;
  text-transform: none;
  font-weight: 600;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  background: var(--mss-gradient-sport);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.team-section-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.team-section-button:hover::before {
  opacity: 1;
}
.team-section-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(245, 101, 108, 0.4);
}

.team-section-content {
  padding: 24px;
}

.players-stack {
  width: 100%;
  gap: 16px;
}

/* Player Cards */
/* Player Cards */
.player-card {
  padding: 20px;
  border-radius: 16px;
  border: 2px solid #e2e8f0;
  border: 2px solid var(--mss-border);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  background: linear-gradient(135deg, var(--mss-card) 0%, var(--mss-card-muted) 100%);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.player-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  background: var(--mss-gradient-energy);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.player-card:hover::before {
  transform: scaleX(1);
}

.player-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(245, 101, 108, 0.3);
}

.player-card.empty {
  opacity: 0.7;
  border: 2px dashed #cbd5e1;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.player-card.empty:hover {
  transform: none;
  box-shadow: none;
  border-color: #cbd5e1;
}

.player-avatar {
  width: 52px;
  height: 52px;
  font-size: 1.1rem;
  font-weight: bold;
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.player-avatar:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.player-status-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  background: var(--mss-gradient-sport);
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  animation: statusPulse 2s ease-in-out infinite;
}

.player-info {
  flex: 1 1;
}

.player-name {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
}

.player-details {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.position-chip { background: rgba(12, 189, 99, 0.12); color: #059669; font-weight: 600; font-size: 0.75rem; }

.position-chip.empty {
  background: rgba(156, 163, 175, 0.1);
  color: #6b7280;
}

.role-chip {
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
  font-weight: 600;
  font-size: 0.75rem;
}

.jersey-number {
  color: #6b7280;
  font-weight: 500;
  font-size: 0.75rem;
}

/* Empty State */
.empty-state {
  padding: 32px;
  border-radius: 16px;
  border: 2px dashed #cbd5e1;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  text-align: center;
}

.empty-state-content {
  opacity: 0.6;
}

.empty-state-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.empty-state-title {
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 8px;
}

.empty-state-subtitle {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Statistics Section */
.stats-card { padding: 32px; border-radius: 16px; border: 1px solid #e2e8f0; border: 1px solid var(--mss-border); background: #ffffff; background: var(--mss-card); box-shadow: 0 6px 18px rgba(2, 6, 23, 0.08); box-shadow: var(--mss-shadow-soft); }
.stats-card.stats-centered { padding: 24px; max-width: 3200px !important; margin: 0 auto !important; width: 100% !important; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; }

.stats-header {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.stats-icon {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  color: white;
  font-size: 1.2rem;
}

.stats-icon.h2h {
  background: linear-gradient(135deg, #0cbd63 0%, #00a854 100%);
}
.stats-icon.form {
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
}

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

.h2h-stat-card { padding: 16px; border-radius: 16px; border: 1px solid #e2e8f0; border: 1px solid var(--mss-border); background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); background: linear-gradient(135deg, var(--mss-card) 0%, var(--mss-card-muted) 100%); }
.form-section { margin-bottom: 24px; }
.form-team-title, .form-team-name { margin-bottom: 12px; font-weight: 700; color: #1f2937; color: var(--mss-text-strong); }
.form-team-container, .form-container { padding: 12px 16px; border-radius: 16px; border: 1px solid #e2e8f0; border: 1px solid var(--mss-border); background: #ffffff; background: var(--mss-card); display: flex; align-items: center; gap: 12px; }
.h2h-progress { height: 10px; border-radius: 16px; background: rgba(12, 189, 99, 0.18); margin-bottom: 16px; }
.form-result-indicator, .form-indicator { width: 36px; height: 36px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; font-weight: 700; cursor: default; transition: transform 0.2s ease; }
.form-indicator:hover { transform: scale(1.05); }
.form-result-indicator.win, .form-win { background: linear-gradient(135deg, #0cbd63 0%, #00a854 100%); }
.form-result-indicator.draw, .form-draw { background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); }
.form-result-indicator.loss, .form-loss { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.form-empty, .form-no-matches { font-style: italic; color: #6b7280; }

/* Add Score Button */
.add-score-section {
  padding: 32px;
  text-align: center;
  border-top: 1px solid #e2e8f0;
  border-top: 1px solid var(--mss-border);
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  background: linear-gradient(135deg, var(--mss-card-muted) 0%, var(--mss-card) 100%);
  border-radius: 16px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.add-score-button {
  min-width: 240px;
  height: 56px;
  border-radius: 24px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: none;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  background: var(--mss-gradient-sport);
  box-shadow: 0 8px 25px rgba(245, 101, 108, 0.3);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  border: none;
}

.add-score-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.add-score-button:hover::before {
  opacity: 1;
}

.add-score-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(245, 101, 108, 0.5);
}

.add-score-button:active {
  transform: translateY(-2px) scale(0.98);
}

.add-score-icon {
  font-size: 1.5rem;
  margin-right: 8px;
}

/* Stats Empty State */
.stats-empty-state {
  padding: 24px;
  border-radius: 16px;
  border: 2px dashed #cbd5e1;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  text-align: center;
}

.stats-empty-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  opacity: 0.6;
}

.stats-empty-title {
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 4px;
}

.stats-empty-subtitle {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Last Meeting block styling */
.last-meeting-container {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  border: 1px solid var(--mss-border);
  background: #ffffff;
  background: var(--mss-card);
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.08);
  box-shadow: var(--mss-shadow-soft);
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.last-meeting-title {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
  text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
  .fixture-teams-container {
    flex-direction: column;
    text-align: center;
  }

  .team-container {
    flex-direction: column;
    text-align: center;
    min-width: auto;
  }

  .away-team-container {
    flex-direction: column;
  }

  .team-info,
  .away-team-info {
    text-align: center;
  }

  .team-name {
    font-size: 1.5rem;
  }

  .match-info-section {
    padding: 24px;
  }

  .team-section-header {
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .team-section-content {
    padding: 20px;
  }

  .stats-card {
    padding: 24px;
  }

  .add-score-section {
    padding: 24px;
  }

  .add-score-button {
    min-width: 200px;
    height: 48px;
    font-size: 1rem;
  }
}

/* Venue and tournament accordion styling */
.MuiAccordion-root {
  border-radius: 8px !important;
}

.MuiAccordionSummary-root {
  background-color: #f5f5f5;
}

/* Dialog styling */
.MuiDialog-paper {
  border-radius: 12px !important;
}

/* Animation for loading states */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes patternMove {
  0% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(-10px) translateY(-5px); }
  100% { transform: translateX(0) translateY(0); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.2; }
}

@keyframes teamGlow {
  0%, 100% { filter: brightness(1) saturate(1); }
  50% { filter: brightness(1.1) saturate(1.2); }
}

@keyframes vsPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes fixtureDetailsSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes statusPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.MuiPaper-root {
  animation: fadeIn 0.5s ease-out;
}

/* Chip styling for fixture status */
.MuiChip-outlined {
  border-width: 2px;
}

/* Score input styling */
.score-input {
  font-size: 1.5rem !important;
  text-align: center;
  font-weight: bold;
}

/* Card hover effects */
.MuiCard-root {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.MuiCard-root:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* Grid spacing adjustments */
.fixture-content {
  padding: 0 16px;
}

@media (max-width: 600px) {
  .fixture-content {
    padding: 0 8px;
  }
}

/* Additional classes for inline style conversion */
.fixture-tab-panel {
  padding: 24px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.fixture-error-container {
  margin-top: 24px;
}

.fixture-error-alert {
  margin-bottom: 24px;
}

.fixture-not-found-container {
  margin-top: 24px;
}

.fixture-not-found-alert {
  margin-bottom: 24px;
}

.fixture-add-score-icon {
  font-size: 1.5rem;
}

.fixture-position-icon {
  font-size: 0.8rem;
}

.fixture-management-icon {
  font-size: 0.8rem;
}

/* Full-bleed variant for stats card (edge-to-edge when desired) */
.full-bleed-stats {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  border-radius: 0;
}

.full-bleed-stats .stats-header,
.full-bleed-stats .MuiAccordion-root,
.full-bleed-stats .MuiAccordionDetails-root {
  padding-left: clamp(12px, 3vw, 40px) !important;
  padding-right: clamp(12px, 3vw, 40px) !important;
}

/* Remove container padding so full-bleed content spans edge-to-edge */
.no-x-pad {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Subtle page background pattern while this page is active */
body:has(.fixture-header) {
  background:
    radial-gradient(800px 400px at 10% -10%, rgba(245, 101, 108, 0.08), transparent 60%),
    radial-gradient(800px 400px at 110% -10%, rgba(79, 172, 254, 0.08), transparent 60%),
    radial-gradient(600px 300px at 50% 50%, rgba(103, 126, 234, 0.06), transparent 50%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.02), rgba(2, 6, 23, 0.02));
  background-attachment: fixed;
}

/* ===================== */
/* Responsive scaling     */
/* ===================== */

/* Fluid sizes */
.team-avatar { width: clamp(44px, 7vw, 72px); height: clamp(44px, 7vw, 72px); }
.player-avatar { width: clamp(40px, 6vw, 52px); height: clamp(40px, 6vw, 52px); }
.team-name { font-size: clamp(1.2rem, 2.2vw, 1.8rem); }
.vs-text { font-size: clamp(0.9rem, 1.6vw, 1.1rem); }
.match-info-title, .stats-title { font-size: clamp(1.1rem, 1.8vw, 1.5rem); }
.team-section-title { font-size: clamp(1rem, 1.6vw, 1.25rem); }
.score-input { font-size: clamp(1.2rem, 2.2vw, 1.5rem) !important; }

/* Large screens */
@media (min-width: 1600px) {
  .tabs-container { max-width: 3600px !important; }
  .stats-card.stats-centered,
  .fixture-tab-panel,
  .tabs-container [role="tabpanel"] > div { max-width: 3600px !important; }
  .stats-tab { max-width: 3600px !important; }
  .comments-tab { max-width: 3600px !important; }
  .media-tab { max-width: 3600px !important; }
  
  /* Override for full-width rugby stats */
  .tabs-container .stats-card.stats-wide,
  .tabs-container .full-width-stats,
  .tabs-container [role="tabpanel"] > div:has(.stats-card.stats-wide) {
    max-width: none !important;
  }
}

/* Tablet and small desktop */
@media (max-width: 1200px) {
  .match-info-section { padding: 24px; }
  .team-section-content { padding: 20px; }
  .players-stack { gap: 12px; }
  .info-card { padding: 16px; }
}

/* Phablet and large mobile */
@media (max-width: 900px) {
  .fixture-header { border-radius: 20px !important; }
  .tabs-container { border-radius: 12px; }
  .stats-card { padding: 24px; }
  .add-score-section { padding: 24px; }
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .fixture-header { border-radius: 16px !important; }
  .tabs-header { -webkit-backdrop-filter: blur(4px) saturate(1.05); backdrop-filter: blur(4px) saturate(1.05); }
  .custom-tab { margin: 6px 6px !important; padding: 4px 10px !important; min-height: 48px !important; }
  .tab-label { gap: 6px; }
  .tab-badge { min-width: 16px; height: 16px; font-size: 10px; padding: 0 5px; }
  .team-section-header { padding: 20px; }
  .team-name { font-size: clamp(1.1rem, 5.5vw, 1.4rem); }
  .team-avatar { width: clamp(40px, 12vw, 60px); height: clamp(40px, 12vw, 60px); }
  .player-avatar { width: clamp(36px, 10vw, 48px); height: clamp(36px, 10vw, 48px); }
  .MuiCard-root:hover { transform: none; box-shadow: 0 6px 18px rgba(2, 6, 23, 0.08); box-shadow: var(--mss-shadow-soft); }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* 
 * RUGBY STATS FULL WIDTH OVERRIDE
 * This file contains aggressive CSS overrides to force rugby match statistics to take full width
 * It should be imported LAST to ensure highest specificity
 */

/* Ultra-high specificity override using multiple selectors and html tag */
html body .stats-tab .full-width-stats,
html body .stats-tab .stats-card.stats-wide,
html body .tabs-container .stats-card.stats-wide,
html body .tabs-container .full-width-stats {
  width: 100% !important;
  max-width: none !important;
}

/* Target all possible Material-UI computed class combinations */
html body [class*="css-op5kyg-MuiPaper-root"],
html body [class*="css-1gtchvp-MuiPaper-root"],
html body [class*="css-"][class*="MuiPaper-root"].stats-card,
html body [class*="css-"][class*="MuiPaper-root"].full-width-stats,
html body .stats-card.stats-wide [class*="css-"],
html body .full-width-stats [class*="css-"] {
  width: 100% !important;
  max-width: none !important;
}

/* Nuclear option: Override ANY element within full-width stats containers */
html body .full-width-stats *,
html body .stats-card.stats-wide * {
  max-width: none !important;
}

/* Target rugby stats specifically */
html body .rugby-stats,
html body .rugby-stats * {
  max-width: none !important;
}

/* Direct class override with maximum specificity */
html body div.MuiPaper-root.stats-card.stats-wide.full-width-stats,
html body div[class*="css-"][class*="MuiPaper-root"].stats-card.stats-wide,
html body div[class*="css-"][class*="MuiPaper-root"].full-width-stats {
  width: 100% !important;
  max-width: none !important;
}

/* EXTREME SPECIFICITY HACK: Target the exact computed class patterns */
html body div[class*="css-op5kyg-MuiPaper-root"].stats-card.stats-wide.full-width-stats,
html body div[class*="css-1gtchvp-MuiPaper-root"].stats-card.stats-wide.full-width-stats,
html body div[class="css-op5kyg-MuiPaper-root"],
html body div[class="css-1gtchvp-MuiPaper-root"],
html body .stats-card.stats-wide div[class*="css-op5kyg"],
html body .stats-card.stats-wide div[class*="css-1gtchvp"],
html body .full-width-stats div[class*="css-op5kyg"],
html body .full-width-stats div[class*="css-1gtchvp"] {
  width: 100% !important;
  max-width: none !important;
  min-width: 100% !important;
}

/* LAST RESORT: Use CSS custom property override */
html body .stats-card.stats-wide,
html body .full-width-stats {
  --Paper-maxWidth: none !important;
}

html body .stats-card.stats-wide *,
html body .full-width-stats * {
  max-width: none !important;
  max-width: var(--Paper-maxWidth, none) !important;
}

/* ATTRIBUTE-BASED OVERRIDE: Target any div with specific attributes */
html body div[class*="MuiPaper-root"][style*="--Paper-shadow"],
html body .stats-card.stats-wide div[style*="--Paper-shadow"],
html body .full-width-stats div[style*="--Paper-shadow"] {
  width: 100% !important;
  max-width: none !important;
}

/* BRUTE FORCE: Override any element in rugby stats context */
html body .rugby-stats div,
html body .rugby-stats div[class*="MuiPaper"],
html body .rugby-stats div[class*="css-"] {
  max-width: none !important;
}
/* Unified Starters Popup Styles (derived from Rugby reference) */
/* Generic selectors intentionally broad so any sport popup adopting classes gets consistent styling */

/* Dialog Structure */
.starters-dialog .MuiDialog-paper {
  background-color: #fafafa;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(139, 69, 19, 0.2);
  max-width: 95vw;
  width: 100%;
  min-width: 320px;
}

@media (min-width: 576px) { .starters-dialog .MuiDialog-paper { max-width: 450px; } }
@media (min-width: 768px) { .starters-dialog .MuiDialog-paper { max-width: 500px; } }
@media (min-width: 992px) { .starters-dialog .MuiDialog-paper { max-width: 550px; } }
@media (min-width: 1200px) { .starters-dialog .MuiDialog-paper { max-width: 600px; } }
@media (min-width: 1400px) { .starters-dialog .MuiDialog-paper { max-width: 650px; } }

.starters-dialog-title, .rugby-away-starters-dialog-title, .rugby-home-starters-dialog-title {
  background: linear-gradient(135deg, #8B4513 0%, #654321 100%);
  color: #fff;
  padding: 16px 24px;
  position: relative;
  font-weight: 600;
  font-size: 1.25rem;
}

.starters-close-button, .rugby-away-starters-close-button, .rugby-home-starters-close-button {
  position: absolute;
  right: 8px;
  top: 8px;
  color: white !important;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  min-width: 32px;
  transition: background-color .2s ease;
}
.starters-close-button:hover,
.rugby-away-starters-close-button:hover,
.rugby-home-starters-close-button:hover { background-color: rgba(255,255,255,0.2); }

.starters-dialog-content, .rugby-away-starters-dialog-content, .rugby-home-starters-dialog-content {
  padding:16px; min-width:300px; width:100%; background:#fafafa; max-height:70vh; overflow-y:auto;
}
@media (min-width:768px) { .starters-dialog-content { padding:20px; max-height:75vh; } }
@media (min-width:1200px) { .starters-dialog-content { padding:24px; max-height:80vh; } }

/* Row */
.starters-row, .rugby-away-starter-row, .rugby-home-starter-row {
  display:grid; grid-template-columns:1fr auto; grid-gap:12px; gap:12px; align-items:center; padding:12px; margin-bottom:10px;
  border-radius:8px; background:#fff; border:1px solid #e0e0e0; transition:all .2s ease; position:relative;
}
.starters-row:hover { border-color:#8B4513; box-shadow:0 2px 8px rgba(139,69,19,.1); background:#fafafa; }
.starters-row.has-user { background:rgba(139,69,19,0.02); border-color:rgba(139,69,19,0.2); }

/* Responsive row layout */
@media (min-width:768px){
  .starters-row{ grid-template-columns:80px 1fr 220px; gap:20px; padding:20px; margin-bottom:16px; }
}
@media (min-width:992px){ .starters-row{ grid-template-columns:80px 1fr 240px; gap:24px; } }
@media (min-width:1200px){ .starters-row{ grid-template-columns:100px 1fr 280px; gap:32px; padding:24px; } }

/* Jersey input */
.jersey-input, .rugby-jersey-input { width:100% !important; }
.jersey-input .MuiInputBase-input, .rugby-jersey-input .MuiInputBase-input { text-align:center; font-weight:600; color:#8B4513; }
.jersey-input .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline,
.jersey-input .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline,
.rugby-jersey-input .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline,
.rugby-jersey-input .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline { border-color:#8B4513 !important; }
.jersey-input .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline,
.rugby-jersey-input .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline { border-width:2px !important; }

/* Position select */
.starters-position-select, .rugby-away-starter-position-select { min-width:200px !important; }
@media (min-width:768px){ .starters-position-select{ min-width:220px !important; } }
@media (min-width:992px){ .starters-position-select{ min-width:240px !important; } }
@media (min-width:1200px){ .starters-position-select{ min-width:280px !important; } }
.starters-position-select .MuiInputLabel-root{ color:#654321 !important; }
.starters-position-select .MuiInputLabel-root.Mui-focused{ color:#8B4513 !important; }
.starters-position-select .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline{ border-color:#8B4513 !important; }
.starters-position-select .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline{ border-color:#8B4513 !important; border-width:2px !important; }

/* Actions */
.starters-dialog-actions, .rugby-away-starters-dialog-actions, .rugby-home-starters-dialog-actions { padding:16px 24px !important; background:#f8f8f8; border-top:1px solid #e0e0e0; gap:12px; }
.starters-cancel-button, .rugby-away-starters-cancel-button, .rugby-home-starters-cancel-button { color:#654321 !important; border:2px solid #654321 !important; border-radius:8px !important; padding:10px 24px !important; font-weight:600 !important; text-transform:none !important; transition:all .2s ease !important; }
.starters-cancel-button:hover { background:rgba(101,67,33,0.04) !important; border-color:#8B4513 !important; color:#8B4513 !important; }
.starters-save-button, .rugby-away-starters-save-button, .rugby-home-starters-save-button { background:linear-gradient(135deg,#8B4513 0%,#654321 100%) !important; color:#fff !important; border:none !important; border-radius:8px !important; padding:10px 24px !important; font-weight:600 !important; text-transform:none !important; transition:all .2s ease !important; min-width:100px !important; }
.starters-save-button:hover { background:linear-gradient(135deg,#A0522D 0%, #8B4513 100%) !important; transform:translateY(-1px); box-shadow:0 4px 12px rgba(139,69,19,0.3) !important; }
.starters-save-button:active { transform:translateY(0); }

/* Section header */
.starters-section-header, .rugby-starters-section-header, .edit-home-starters-section-title { font-weight:700; margin-bottom:8px; color:#8B4513; font-size:1rem; }

/* Autocomplete popup layering */
.starters-dialog .MuiAutocomplete-popper { z-index: 10005 !important; }

/* Mobile adjustments */
@media (max-width:767px){
  .starters-dialog .MuiDialog-paper { margin:8px; width:calc(100% - 16px); max-width:none; min-width:300px; max-height:95vh; }
  .starters-row { grid-template-columns:1fr; gap:12px; padding:16px; }
}
@media (max-width:479px){
  .starters-dialog .MuiDialog-paper { margin:4px; width:calc(100% - 8px); max-height:98vh; }
  .starters-dialog-title { padding:12px 16px; font-size:1.1rem; }
  .starters-dialog-content { padding:12px; max-height:65vh; }
  .starters-row { padding:12px; gap:8px; }
  .starters-dialog-actions { padding:12px 16px !important; flex-direction:column; gap:8px; }
  .starters-cancel-button, .starters-save-button { width:100% !important; }
}

/* Focus state */
.starters-row:focus-within { border-color:#8B4513; box-shadow:0 0 0 2px rgba(139,69,19,0.2); }

/* Simple fade-in */
@keyframes startersFadeIn { from { opacity:0; transform:translateY(-10px);} to { opacity:1; transform:translateY(0);} }
.starters-row { animation: startersFadeIn .3s ease-out; }

/* Variant rows for reserves, management, officials (no jersey column or different distribution) */
.starters-row.simple-row { grid-template-columns:1fr 220px 90px; }
@media (min-width:768px){ .starters-row.simple-row { grid-template-columns:1fr 260px 100px; } }
@media (max-width:767px){ .starters-row.simple-row { grid-template-columns:1fr; } }

/* Compact row (e.g., management with only player + role) */
.starters-row.compact-row { grid-template-columns:1fr 220px; }
@media (min-width:768px){ .starters-row.compact-row { grid-template-columns:1fr 260px; } }
@media (max-width:767px){ .starters-row.compact-row { grid-template-columns:1fr; } }

/* Remove button area styling (placed inside row) */
.starters-row .remove-button-area { display:flex; align-items:center; justify-content:flex-end; }
.starters-row .remove-button-area .MuiButton-root, .starters-row .remove-button-area .MuiIconButton-root { min-width:70px; }

/* AddPlayersPopup Component Styles */

.golf-players-popup {
  border-radius: 8px;
}

.golf-players-title {
  color: #4caf50;
  display: flex;
  align-items: center;
  gap: 8px;
}

.golf-players-content {
  padding: 16px;
}

.golf-players-container {
  margin-top: 16px;
}

.golf-players-subtitle {
  margin-bottom: 16px;
  color: #333;
}

.golf-player-field {
  margin-bottom: 16px;
}

.golf-cancel-button {
  color: #666;
}

.golf-save-button {
  background-color: #4caf50;
  color: white;
}

.golf-save-button:hover {
  background-color: #3d8b40;
}

/* Match Router Page Styles */

.match-router-error,
.match-router-not-found {
  padding: 20px;
  text-align: center;
}

/* Match Suggestions Page Styles */

.match-suggestions-container {
  min-height: 100vh;
  background-color: #fafafa;
  background-color: var(--background-default, #fafafa);
}

.match-suggestions-content {
  padding-top: 80px;
  padding-bottom: 32px;
}

/* Modern UserDashboard Styles */

/* Root variables for consistent theming */
:root {
  --primary-color: #1976d2;
  --secondary-color: #2e7d32;
  --tertiary-color: #ed6c02;
  --quaternary-color: #9c27b0;
  --success-color: #4CAF50;
  --warning-color: #FF9800;
  --error-color: #f44336;
  --background-color: #f8f9fa;
  --paper-bg: #ffffff;
  --text-primary: rgba(0, 0, 0, 0.87);
  --text-secondary: rgba(0, 0, 0, 0.6);
  --border-color: #e9ecef;
  --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-dark: 0 8px 16px rgba(0, 0, 0, 0.15);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

/* Global dashboard styles */
.dashboard-container {
  min-height: 100vh;
  background-color: #f8f9fa;
  background-color: var(--background-color);
}

/* Loading states */
.dashboard-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 16px;
}

/* Responsive grid utilities */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 24px;
  gap: 24px;
  margin-bottom: 32px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 24px;
  gap: 24px;
}

@media (min-width: 960px) {
  .content-grid {
    grid-template-columns: 2fr 1fr;
  }
}

/* Card hover effects */
.dashboard-card {
  background: #ffffff;
  background: var(--paper-bg);
  border-radius: 8px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  transition: var(--transition);
  overflow: hidden;
}

.dashboard-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow-medium);
}

/* Chart containers */
.chart-container {
  width: 100%;
  height: 300px;
  margin-top: 16px;
}

.chart-container .recharts-cartesian-axis-tick-value {
  font-size: 12px;
  fill: rgba(0, 0, 0, 0.6);
  fill: var(--text-secondary);
}

.chart-container .recharts-tooltip-wrapper {
  border-radius: 8px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow-medium);
}

/* Sports navigation grid */
.sports-navigation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-top: 24px;
}

.sport-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: #ffffff;
  background: var(--paper-bg);
  border-radius: 8px;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  transition: var(--transition);
  text-decoration: none;
}

.sport-nav-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  box-shadow: var(--shadow-dark);
  border-color: #1976d2;
  border-color: var(--primary-color);
}

.sport-nav-item .sport-icon {
  font-size: 40px;
  margin-bottom: 12px;
  color: #1976d2;
  color: var(--primary-color);
}

.sport-nav-item .sport-name {
  font-weight: 600;
  color: rgba(0, 0, 0, 0.87);
  color: var(--text-primary);
  text-align: center;
}

/* Quick actions grid */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.quick-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  min-height: 80px;
  background: #ffffff;
  background: var(--paper-bg);
  border: 2px solid #e9ecef;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  transition: var(--transition);
  text-decoration: none;
  color: rgba(0, 0, 0, 0.87);
  color: var(--text-primary);
}

.quick-action-btn:hover {
  border-color: #1976d2;
  border-color: var(--primary-color);
  background-color: rgba(25, 118, 210, 0.04);
  transform: translateY(-2px);
}

.quick-action-btn .action-icon {
  font-size: 24px;
  margin-bottom: 8px;
  color: #1976d2;
  color: var(--primary-color);
}

.quick-action-btn .action-label {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

/* Recent activity list */
.activity-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.activity-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e9ecef;
  border-bottom: 1px solid var(--border-color);
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  font-size: 18px;
  color: white;
}

.activity-content {
  flex: 1 1;
}

.activity-title {
  font-weight: 500;
  color: rgba(0, 0, 0, 0.87);
  color: var(--text-primary);
  margin-bottom: 4px;
}

.activity-meta {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.6);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Match cards */
.match-card {
  background: #ffffff;
  background: var(--paper-bg);
  border: 1px solid #e9ecef;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  border-radius: var(--border-radius);
  padding: 16px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  transition: var(--transition);
}

.match-card:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-light);
  border-color: #1976d2;
  border-color: var(--primary-color);
}

.match-teams {
  font-weight: 600;
  color: rgba(0, 0, 0, 0.87);
  color: var(--text-primary);
  margin-bottom: 8px;
}

.match-date {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
  color: var(--text-secondary);
}

.match-status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  background-color: #4CAF50;
  background-color: var(--success-color);
  color: white;
}

/* Responsive design */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .sports-navigation-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
  }
  
  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .sport-nav-item {
    padding: 16px 12px;
  }
  
  .sport-nav-item .sport-icon {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .sports-navigation-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .sport-nav-item {
    padding: 12px 8px;
  }
  
  .sport-nav-item .sport-icon {
    font-size: 28px;
  }
  
  .sport-nav-item .sport-name {
    font-size: 14px;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --background-color: #121212;
    --paper-bg: #1e1e1e;
    --text-primary: rgba(255, 255, 255, 0.87);
    --text-secondary: rgba(255, 255, 255, 0.6);
    --border-color: #333;
  }
}

/* Accessibility improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles for keyboard navigation */
.quick-action-btn:focus,
.sport-nav-item:focus {
  outline: 2px solid #1976d2;
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Animation for loading states */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dashboard-card {
  animation: fadeIn 0.6s ease-out;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f8f9fa;
  background: var(--background-color);
}

::-webkit-scrollbar-thumb {
  background: #e9ecef;
  background: var(--border-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.6);
  background: var(--text-secondary);
}

.performance-tooltip {
  background-color: #fff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

/* Rugby Dashboard Component Styles */

/* Rugby Color Scheme: Primary #8B4513 (Saddle Brown), Secondary #654321 (Dark Brown), Accent #A0522D */

/* Error Alert */
.rugby-error-alert {
  margin-bottom: 16px;
}

.rugby-dashboard-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

.rugby-dashboard-header {
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 2px solid #8B4513;
  padding-bottom: 16px;
}

.rugby-dashboard-title-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rugby-dashboard-title {
  color: #8B4513;
  font-weight: bold;
}

.rugby-dashboard-icon {
  font-size: 40px;
}

.rugby-export-button {
  border-color: #8B4513;
  color: #8B4513;
}

.rugby-export-button:hover {
  background-color: rgba(139, 69, 19, 0.05);
  border-color: #654321;
}

.rugby-export-button:disabled {
  border-color: #cccccc;
  color: #cccccc;
}

.rugby-error-alert {
  margin-bottom: 16px;
}

.rugby-loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.rugby-tabs-container {
  padding: 0;
  margin-bottom: 48px;
  border-radius: 8px;
  overflow: hidden;
}

.rugby-tabs-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.rugby-tabs-header .MuiTab-root {
  min-width: 120px;
  text-transform: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: #654321;
}

.rugby-tabs-header .MuiTab-root.Mui-selected {
  font-weight: bold;
  color: #8B4513;
}

.rugby-tabs-header .MuiTabs-indicator {
  background-color: #8B4513;
}

.rugby-tab-content {
  padding: 32px;
}

.rugby-quick-stats-section {
  margin-bottom: 32px;
}

.rugby-quick-stats-title {
  margin-bottom: 16px;
  color: #8B4513;
}

.rugby-quick-stat-card {
  padding: 16px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid rgba(139, 69, 19, 0.1);
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.02) 0%, rgba(101, 67, 33, 0.02) 100%);
}

.rugby-quick-stat-value {
  font-weight: bold;
  margin-bottom: 4px;
}

.rugby-quick-stat-label {
  color: #666666;
  font-size: 0.875rem;
}

.rugby-kpi-section {
  margin-bottom: 48px;
}

.rugby-kpi-header {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(139, 69, 19, 0.1);
  color: #8B4513;
  padding: 16px;
  border-radius: 4px;
}

.rugby-kpi-icon {
  font-size: 1.5rem;
}

.rugby-kpi-title {
  font-weight: bold;
  color: #8B4513;
}

.rugby-stat-card {
  padding: 24px;
  text-align: center;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
  border: 1px solid rgba(139, 69, 19, 0.1);
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.02) 0%, rgba(101, 67, 33, 0.02) 100%);
}

.rugby-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(139, 69, 19, 0.15);
  border-color: rgba(139, 69, 19, 0.3);
}

.rugby-stat-value {
  font-size: 2rem;
  font-weight: bold;
  color: #8B4513;
  margin-bottom: 8px;
}

.rugby-stat-title {
  color: #654321;
  font-weight: 600;
  margin-bottom: 4px;
}

.rugby-stat-helper {
  color: rgba(139, 69, 19, 0.7);
  font-size: 0.75rem;
  font-style: italic;
}

.rugby-stats-section {
  margin-bottom: 48px;
}

.rugby-stats-section-title {
  margin-bottom: 24px;
  color: #8B4513;
  font-weight: 600;
}

.rugby-management-section {
  margin-bottom: 48px;
}

.rugby-management-title {
  color: #654321;
  font-weight: 600;
  margin-bottom: 16px;
}

.rugby-chart-section {
  margin-bottom: 48px;
}

.rugby-chart-card {
  padding: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.02) 0%, rgba(101, 67, 33, 0.02) 100%);
  border: 1px solid rgba(139, 69, 19, 0.1);
}

.rugby-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.rugby-chart-title {
  color: #8B4513;
  font-weight: 600;
}

.rugby-chart-metrics {
  display: flex;
  gap: 8px;
}

.rugby-chart-metric-chip {
  color: white;
  font-size: 0.75rem;
}

.rugby-match-history-section {
  margin-bottom: 32px;
}

.rugby-match-history-title {
  margin-bottom: 24px;
  color: #8B4513;
}

.rugby-match-card {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 6px solid;
  transition: all 0.2s ease-in-out;
  margin-bottom: 16px;
}

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

.rugby-match-card-win {
  border-left-color: #4CAF50;
}

.rugby-match-card-loss {
  border-left-color: #f44336;
}

.rugby-match-card-draw {
  border-left-color: #ff9800;
}

.rugby-match-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rugby-match-result-avatar {
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
  font-weight: bold;
}

.rugby-match-result-win {
  background-color: #4CAF50;
}

.rugby-match-result-loss {
  background-color: #f44336;
}

.rugby-match-result-draw {
  background-color: #ff9800;
}

.rugby-match-opponent {
  font-weight: bold;
  margin-bottom: 4px;
}

.rugby-match-details {
  display: flex;
  gap: 24px;
  color: #666666;
  flex-wrap: wrap;
}

.rugby-match-detail {
  display: flex;
  align-items: center;
  gap: 4px;
}

.rugby-match-score-section {
  text-align: right;
}

.rugby-match-score {
  font-size: 1.5rem;
  font-weight: bold;
  color: #8B4513;
  margin-bottom: 4px;
}

.rugby-match-venue {
  color: #666666;
  font-size: 0.875rem;
}

.rugby-no-matches {
  text-align: center;
  padding: 64px 16px;
  color: #666666;
}

.rugby-no-matches-icon {
  font-size: 4rem;
  color: #8B4513;
  margin-bottom: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .rugby-dashboard-container {
    padding: 0 8px;
  }
  
  .rugby-dashboard-header {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .rugby-tab-content {
    padding: 16px;
  }
  
  .rugby-match-card {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .rugby-match-details {
    justify-content: center;
  }
  
  .rugby-match-score-section {
    text-align: center;
  }
}

/* Tab styling enhancements */
.rugby-tabs-header .MuiTabs-root {
  background: rgba(139, 69, 19, 0.02);
  border-radius: 8px;
  padding: 4px;
}

/* Performance chart specific styling */
.rugby-chart-card .recharts-responsive-container {
  border-radius: 4px;
}

/* Stat card variations for different colors */
.rugby-stat-card[data-color="success"] {
  border-color: rgba(76, 175, 80, 0.2);
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.02) 0%, rgba(46, 125, 50, 0.02) 100%);
}

.rugby-stat-card[data-color="info"] {
  border-color: rgba(33, 150, 243, 0.2);
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.02) 0%, rgba(21, 101, 192, 0.02) 100%);
}

.rugby-stat-card[data-color="warning"] {
  border-color: rgba(255, 193, 7, 0.2);
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.02) 0%, rgba(255, 160, 0, 0.02) 100%);
}

.rugby-stat-card[data-color="error"] {
  border-color: rgba(244, 67, 54, 0.2);
  background: linear-gradient(135deg, rgba(244, 67, 54, 0.02) 0%, rgba(211, 47, 47, 0.02) 100%);
}

/* Additional Component Styling */

.rugby-stat-card-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: 100%;
}

.rugby-stat-card-icon {
  padding: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
}

.rugby-stat-card-icon:hover {
  transform: rotate(10deg);
}

.rugby-stat-card-icon-primary {
  background-color: rgba(139, 69, 19, 0.1);
}

.rugby-stat-card-icon-success {
  background-color: rgba(76, 175, 80, 0.1);
}

.rugby-stat-card-icon-info {
  background-color: rgba(33, 150, 243, 0.1);
}

.rugby-stat-card-icon-warning {
  background-color: rgba(255, 193, 7, 0.1);
}

.rugby-stat-card-icon-error {
  background-color: rgba(244, 67, 54, 0.1);
}

.rugby-stat-card-icon-element {
  font-size: 28px;
  color: #8B4513;
}

.rugby-stat-card-title {
  color: #666666;
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.rugby-stat-card-value {
  font-size: 1.25rem;
  font-weight: bold;
  color: #8B4513;
  margin-bottom: 4px;
}

.rugby-stat-card-helper {
  color: #999999;
  font-size: 0.75rem;
}

/* Match History Styling */
.rugby-match-history-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rugby-match-card-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1;
}

.rugby-match-avatar {
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
  font-weight: bold;
}

.rugby-match-avatar-w {
  background-color: #4CAF50;
}

.rugby-match-avatar-l {
  background-color: #f44336;
}

.rugby-match-avatar-draw {
  background-color: #ff9800;
}

.rugby-match-opponent {
  font-weight: bold;
  margin-bottom: 8px;
}

.rugby-match-details {
  display: flex;
  gap: 24px;
  color: #666666;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.rugby-match-detail {
  display: flex;
  align-items: center;
  gap: 4px;
}

.rugby-match-detail-icon {
  display: flex;
  align-items: center;
}

.rugby-match-detail-icon-element {
  font-size: 0.875rem;
}

.rugby-match-detail-text {
  font-size: 0.875rem;
}

.rugby-match-detail-text-colored {
  color: #2196F3;
}

.rugby-match-chips {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.rugby-match-score {
  text-align: right;
}

.rugby-match-score-value {
  font-weight: bold;
  color: #8B4513;
}

.rugby-match-score-label {
  color: #666666;
}

.rugby-no-matches {
  padding: 32px;
  text-align: center;
}

.rugby-no-matches-icon {
  font-size: 48px;
  color: #ccc;
  margin-bottom: 16px;
  display: block;
}

.rugby-no-matches-title {
  color: #666666;
  margin-bottom: 8px;
}

.rugby-no-matches-subtitle {
  color: #666666;
}

/* Performance Chart Styling */
.rugby-no-performance-data {
  padding: 32px;
  text-align: center;
}

.rugby-no-performance-data-title {
  color: #666666;
  margin-bottom: 8px;
}

.rugby-no-performance-data-subtitle {
  color: #666666;
}

.rugby-performance-chart-title {
  margin-bottom: 24px;
  color: #8B4513;
}

.rugby-performance-chart-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
}

.rugby-performance-chart-legend-chip {
  font-size: 0.75rem;
}

/* Attack & Defense Section */
.rugby-attack-defense-section {
  margin-bottom: 48px;
}

.rugby-attack-defense-header {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(76, 175, 80, 0.1);
  color: #4CAF50;
  padding: 16px;
  border-radius: 4px;
}

.rugby-attack-defense-icon {
  font-size: 1.5rem;
}

.rugby-attack-defense-title {
  font-weight: bold;
  color: #4CAF50;
}

.rugby-attacking-stats-title {
  margin-bottom: 16px;
  color: #4CAF50;
  font-weight: bold;
}

.rugby-defensive-stats-title {
  margin-bottom: 16px;
  color: #ff9800;
  font-weight: bold;
}

.rugby-attack-defense-stat-card {
  padding: 12px;
  text-align: center;
  border-radius: 4px;
}

.rugby-attack-defense-stat-value {
  font-weight: 600;
  margin-bottom: 4px;
}

.rugby-attacking-stat-value {
  color: #4CAF50;
}

.rugby-defensive-stat-value {
  color: #ff9800;
}

.rugby-attack-defense-stat-title {
  color: #666666;
}

/* Specialized Skills Section */
.rugby-specialized-section {
  margin-bottom: 48px;
}

.rugby-specialized-header {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(33, 150, 243, 0.1);
  color: #2196F3;
  padding: 16px;
  border-radius: 4px;
}

.rugby-specialized-icon {
  font-size: 1.5rem;
}

.rugby-specialized-title {
  font-weight: bold;
  color: #2196F3;
}

.rugby-set-piece-title {
  margin-bottom: 16px;
  color: #8B4513;
  font-weight: bold;
}

.rugby-kicking-title {
  margin-bottom: 16px;
  color: #ff9800;
  font-weight: bold;
}

.rugby-discipline-title {
  margin-bottom: 16px;
  color: #f44336;
  font-weight: bold;
}

.rugby-specialized-stat-card {
  padding: 12px;
  text-align: center;
  border-radius: 4px;
}

.rugby-specialized-stat-value {
  font-weight: 600;
  margin-bottom: 4px;
}

.rugby-set-piece-value {
  color: #8B4513;
}

.rugby-kicking-value {
  color: #ff9800;
}

.rugby-discipline-value {
  color: #f44336;
}

.rugby-specialized-stat-title {
  color: #666666;
}

/* Management Section */
.rugby-management-header {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(101, 67, 33, 0.1);
  color: #654321;
  padding: 16px;
  border-radius: 4px;
}

.rugby-management-icon {
  font-size: 1.5rem;
}

.rugby-management-title {
  font-weight: bold;
  color: #654321;
}

.rugby-key-management-stats {
  margin-bottom: 32px;
}

.rugby-key-management-card {
  padding: 24px;
  text-align: center;
  border-radius: 8px;
}

.rugby-key-management-card-winRate {
  background-color: rgba(76, 175, 80, 0.1);
}

.rugby-key-management-card-gamePlanExecution {
  background-color: rgba(33, 150, 243, 0.1);
}

.rugby-key-management-card-teamTalkEffectiveness {
  background-color: rgba(255, 193, 7, 0.1);
}

.rugby-key-management-card-matchesManaged {
  background-color: rgba(139, 69, 19, 0.1);
}

.rugby-key-management-value {
  font-weight: bold;
  margin-bottom: 8px;
}

.rugby-key-management-value-winRate {
  color: #4CAF50;
}

.rugby-key-management-value-gamePlanExecution {
  color: #2196F3;
}

.rugby-key-management-value-teamTalkEffectiveness {
  color: #ff9800;
}

.rugby-key-management-value-matchesManaged {
  color: #8B4513;
}

.rugby-key-management-title {
  color: #666666;
}

.rugby-strategy-title {
  margin-bottom: 16px;
  color: #8B4513;
  font-weight: bold;
}

.rugby-communication-title {
  margin-bottom: 16px;
  color: #654321;
  font-weight: bold;
}

.rugby-management-area-card {
  padding: 16px;
  text-align: center;
  border-radius: 4px;
}

.rugby-management-area-value {
  font-weight: 600;
  margin-bottom: 4px;
}

.rugby-strategy-value {
  color: #8B4513;
}

.rugby-communication-value {
  color: #654321;
}

.rugby-management-area-title {
  color: #666666;
}

/* Quick Stats Section */
.rugby-quick-stat-value-primary {
  color: #8B4513;
}

.rugby-quick-stat-value-success-main {
  color: #4CAF50;
}

.rugby-quick-stat-value-info-main {
  color: #2196F3;
}

.rugby-quick-stat-value-warning-main {
  color: #ff9800;
}

.rugby-quick-stat-title {
  color: #666666;
}

/* Performance and Match History sections */
.rugby-performance-chart-section {
  margin-bottom: 48px;
}

.rugby-match-history-section {
  margin-bottom: 32px;
}

.rugby-performance-badge {
  color: white;
}

/* Soccer Dashboard Component Styles */

/* Soccer Color Scheme: Primary #4CAF50 (Green), Secondary #2E7D32 (Dark Green), Accent #388E3C */

.soccer-dashboard-container {
  min-height: 100vh;
  padding-top: 24px;
  padding-bottom: 24px;
}

.soccer-dashboard-header {
  margin-bottom: 32px;
  text-align: center;
}

.soccer-dashboard-title {
  font-weight: 800;
  background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.soccer-dashboard-subtitle {
  color: rgba(0, 0, 0, 0.6);
}

.soccer-tabs {
  margin-bottom: 24px;
}

.soccer-tabs .MuiTab-root {
  font-weight: 600;
  font-size: 1rem;
}

.soccer-tabs .Mui-selected {
  color: #4CAF50 !important;
}

.soccer-tabs .MuiTabs-indicator {
  background-color: #4CAF50;
  height: 3px;
  border-radius: 2px;
}

.soccer-styled-card {
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid rgba(76, 175, 80, 0.1);
  transition: all 0.3s ease;
  box-shadow: 0px 4px 16px rgba(76, 175, 80, 0.08);
}

.soccer-styled-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 8px 24px rgba(76, 175, 80, 0.15);
}

.soccer-metric-card {
  background: linear-gradient(135deg, #E8F5E8 0%, #F1F8E9 100%);
  border: 1px solid rgba(76, 175, 80, 0.2);
  transition: all 0.3s ease;
  text-align: center;
  padding: 24px;
}

.soccer-metric-card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 12px 32px rgba(76, 175, 80, 0.2);
}

.soccer-metric-icon {
  color: #4CAF50;
  margin-bottom: 16px;
  opacity: 0.9;
}

.soccer-metric-value {
  color: #2E7D32;
  font-weight: 700;
  margin-bottom: 8px;
}

.soccer-metric-label {
  color: #388E3C;
  opacity: 0.9;
}

.soccer-stat-chip {
  background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
  color: white;
  font-weight: 600;
  border-radius: 16px;
  padding: 4px 12px;
}

.soccer-fab {
  background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
  color: white;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

.soccer-fab:hover {
  background: linear-gradient(135deg, #388E3C 0%, #1B5E20 100%);
  transform: scale(1.1);
}

.soccer-loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.soccer-loading-spinner {
  color: #4CAF50;
}

.soccer-error-alert {
  margin-bottom: 16px;
}

.soccer-chart-title {
  color: #2E7D32;
  font-weight: 600;
  margin-bottom: 16px;
}

.soccer-form-chip-win {
  background-color: #4CAF50;
  color: white;
  font-weight: 600;
}

.soccer-form-chip-loss {
  background-color: #f44336;
  color: white;
  font-weight: 600;
}

.soccer-form-chip-draw {
  background-color: #ff9800;
  color: white;
  font-weight: 600;
}

.soccer-recent-form-container {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.soccer-match-result-win {
  background-color: #4CAF50;
  color: white;
}

.soccer-match-result-loss {
  background-color: #f44336;
  color: white;
}

.soccer-match-result-draw {
  background-color: #ff9800;
  color: white;
}

/* Match History Styles - Rugby-style */
.soccer-loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.soccer-no-matches {
  text-align: center;
  padding: 64px 16px;
  color: #666666;
}

.soccer-no-matches-icon {
  font-size: 4rem;
  color: #4CAF50;
  margin-bottom: 16px;
  display: block;
}

.soccer-no-matches-title {
  color: #4CAF50;
  font-weight: 600;
  margin-bottom: 8px;
}

.soccer-no-matches-subtitle {
  color: #666666;
}

.soccer-match-history-title {
  margin-bottom: 24px;
  color: #4CAF50;
  font-weight: 600;
}

.soccer-match-history-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.soccer-match-card {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 6px solid;
  transition: all 0.2s ease-in-out;
  border-radius: 8px;
}

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

.soccer-match-card-win {
  border-left-color: #4CAF50;
}

.soccer-match-card-loss {
  border-left-color: #f44336;
}

.soccer-match-card-draw {
  border-left-color: #ff9800;
}

.soccer-match-card-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.soccer-match-avatar {
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
  font-weight: bold;
}

.soccer-match-avatar-win {
  background-color: #4CAF50;
}

.soccer-match-avatar-loss {
  background-color: #f44336;
}

.soccer-match-avatar-draw {
  background-color: #ff9800;
}

.soccer-match-opponent {
  font-weight: bold;
  margin-bottom: 8px;
  color: #2E7D32;
}

.soccer-match-details {
  display: flex;
  gap: 24px;
  color: #666666;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.soccer-match-detail {
  display: flex;
  align-items: center;
  gap: 4px;
}

.soccer-match-detail-icon {
  display: flex;
  align-items: center;
}

.soccer-match-detail-text {
  font-size: 0.875rem;
}

.soccer-match-detail-text-colored {
  color: inherit;
}

.soccer-match-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.soccer-match-score {
  text-align: right;
}

.soccer-match-score-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #4CAF50;
}

/* Responsive Design */
@media (max-width: 768px) {
  .soccer-match-card {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .soccer-match-details {
    justify-content: center;
  }
  
  .soccer-match-score {
    text-align: center;
  }
}

/* Hockey Dashboard Component Styles */

/* Hockey Color Scheme: Primary #1976d2 (Blue), Secondary #0d47a1 (Dark Blue), Accent #42a5f5 */

/* Layout Classes */
.hockey-main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

.hockey-header-container {
  background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(25, 118, 210, 0.3);
  color: white;
  padding: 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.hockey-header-flex {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hockey-tabs-paper {
  padding: 0;
  margin-bottom: 48px;
  border-radius: 16px;
  overflow: hidden;
}

.hockey-tabs-container {
  border-bottom: 1px solid;
  border-color: divider;
}

/* Material-UI Tab Overrides */
.hockey-tabs-container .MuiTab-root {
  min-width: 120px;
  text-transform: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.hockey-tabs-container .MuiTab-root.Mui-selected {
  font-weight: bold;
}

.hockey-tab-panel {
  padding: 32px;
}

/* Loading and Error States */
.hockey-loading-container {
  padding: 32px;
  text-align: center;
}

.hockey-error-alert {
  margin-bottom: 16px;
}

/* Stat Card Styling */
.hockey-stat-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid rgba(25, 118, 210, 0.12);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  height: 100%;
}

.hockey-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(25, 118, 210, 0.15);
  border-color: rgba(25, 118, 210, 0.3);
}

.hockey-stat-card-with-helper:hover {
  transform: translateY(-2px);
}

.hockey-stat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: 100%;
}

.hockey-stat-title-container {
  flex: 1 1;
}

.hockey-stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.hockey-stat-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

.hockey-stat-value.with-helper {
  font-size: 1.75rem;
}

.hockey-stat-helper {
  display: block;
  margin-top: 4px;
  font-style: italic;
}

.hockey-stat-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-left: 16px;
}

.hockey-stat-icon-container.primary {
  background-color: rgba(25, 118, 210, 0.12);
}

/* Section Headers */
.hockey-section-header-primary {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: rgba(25, 118, 210, 0.12);
  color: rgba(25, 118, 210, 1);
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.hockey-section-header-success {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: rgba(76, 175, 80, 0.12);
  color: rgba(27, 94, 32, 1);
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.golf-section-header-info {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: rgba(33, 150, 243, 0.12);
  color: rgba(13, 71, 161, 1);
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.hockey-section-header-secondary {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: rgba(156, 39, 176, 0.12);
  color: rgba(74, 20, 140, 1);
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* Box Layout Classes */
.hockey-box-mb-4 {
  margin-bottom: 32px;
}

.hockey-box-mb-6 {
  margin-bottom: 48px;
}

.hockey-loading-box {
  padding: 16px;
  display: flex;
  justify-content: center;
}

.hockey-no-data-box {
  padding: 32px;
  text-align: center;
}

.hockey-chart-title-box {
  margin-bottom: 24px;
}

.hockey-match-list-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hockey-match-card-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hockey-match-avatar {
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
  font-weight: bold;
}

.hockey-match-details-flex {
  display: flex;
  gap: 24px;
  color: #666666;
  flex-wrap: wrap;
}

.hockey-match-detail-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hockey-match-detail-icon-container {
  display: flex;
  align-items: center;
}

.hockey-match-chips-container {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.hockey-match-score-container {
  text-align: right;
}

.hockey-legend-container {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
}

/* Quick Stats Paper */
.hockey-quick-stats-paper {
  padding: 16px;
  text-align: center;
  border-radius: 16px;
}

/* Match Card Styles */
.hockey-match-card {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 6px solid;
  transition: all 0.2s ease-in-out;
}

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

.hockey-match-card-win {
  border-left-color: #4caf50;
}

.hockey-match-card-loss {
  border-left-color: #f44336;
}

.hockey-match-card-draw {
  border-left-color: #ff9800;
}

.hockey-match-avatar-win {
  background-color: #4caf50;
}

.hockey-match-avatar-loss {
  background-color: #f44336;
}

.hockey-match-avatar-draw {
  background-color: #ff9800;
}

/* Main Layout Classes */
.hockey-main-dashboard-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 24px;
}

.hockey-dashboard-header {
  margin-bottom: 32px;
  text-align: center;
}

.hockey-dashboard-title {
  font-weight: bold;
  color: #1976d2;
}

.hockey-filters-paper {
  padding: 24px;
  margin-bottom: 32px;
}

.hockey-tabs-main-paper {
  margin-bottom: 32px;
}

.hockey-tabs-main-container {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.hockey-tab-main {
  font-weight: normal;
}

.hockey-tab-main-active {
  font-weight: bold;
}

.hockey-stats-content {
  padding: 32px;
}

/* Specialized Paper Classes */
.hockey-specialized-small-paper {
  padding: 12px;
  text-align: center;
  border-radius: 8px;
}

/* Loading States */
.hockey-main-loading-container {
  padding: 32px;
  display: flex;
  justify-content: center;
}

.hockey-error-container {
  padding: 32px;
}

.hockey-error-alert-main {
  margin-bottom: 24px;
}

.hockey-section-subtitle {
  font-weight: bold;
}

/* Management Section Classes */
.hockey-management-key-metrics-grid {
  margin-bottom: 32px;
}

.hockey-management-key-paper {
  padding: 24px;
  text-align: center;
  border-radius: 16px;
}

.hockey-management-strategy-paper {
  padding: 16px;
  text-align: center;
  border-radius: 8px;
}

/* Icons */
.hockey-no-matches-icon {
  font-size: 48px;
  color: grey;
  margin-bottom: 16px;
  display: block;
}

.hockey-trophy-icon {
  font-size: 24px;
}

.hockey-clash-icon {
  font-size: 24px;
}

.hockey-target-icon {
  font-size: 24px;
}

.hockey-coaching-icon {
  font-size: 24px;
}

.hockey-performance-badge {
  color: white;
}

/* Dynamic colored text handled via inline style for conditional colors */

/* Cricket Dashboard Component Styles */

/* Cricket Color Scheme: Primary #FF6B35 (Orange), Secondary #D84315 (Dark Orange), Accent #F57C00 */

.cricket-dashboard-container {
  padding: 24px;
}

.cricket-dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.cricket-dashboard-title {
  font-weight: bold;
  color: #FF6B35;
}

.cricket-dashboard-avatar {
  background-color: #FF6B35;
  width: 56px;
  height: 56px;
}

.cricket-error-alert {
  margin-bottom: 24px;
}

.cricket-tabs-container {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  margin-bottom: 24px;
}

.cricket-tabs-container .MuiTab-root {
  color: #666666;
  font-weight: 500;
}

.cricket-tabs-container .MuiTab-root.Mui-selected {
  color: #FF6B35;
  font-weight: 600;
}

.cricket-tabs-container .MuiTabs-indicator {
  background-color: #FF6B35;
}

.cricket-stat-section {
  margin-bottom: 32px;
}

.cricket-stat-section-title {
  font-weight: bold;
  color: #FF6B35;
}

.cricket-metric-card {
  padding: 24px;
  border-radius: 8px;
  height: 100%;
  transition: all 0.2s ease-in-out;
  border: 1px solid rgba(255, 107, 53, 0.1);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.02) 0%, rgba(216, 67, 21, 0.02) 100%);
}

.cricket-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.15);
  border-color: rgba(255, 107, 53, 0.3);
}

.cricket-metric-card-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: 100%;
  flex-direction: column;
}

.cricket-metric-text {
  flex: 1 1;
}

.cricket-metric-value {
  font-weight: bold;
  color: #FF6B35;
  margin-bottom: 8px;
}

.cricket-metric-icon {
  min-width: auto;
}

.cricket-metric-icon .MuiChip-icon {
  margin-right: 0;
}

.cricket-chart-card {
  padding: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.02) 0%, rgba(216, 67, 21, 0.02) 100%);
  border: 1px solid rgba(255, 107, 53, 0.1);
}

.cricket-chart-container {
  margin-top: 32px;
}

.cricket-loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.cricket-empty-state {
  text-align: center;
  padding: 64px 0;
}

.cricket-empty-subtitle {
  margin-bottom: 24px;
}

.cricket-create-button {
  background: linear-gradient(135deg, #FF6B35 0%, #D84315 100%);
  color: white;
}

.cricket-create-button:hover {
  background: linear-gradient(135deg, #F57C00 0%, #BF360C 100%);
}

/* Responsive Design */
@media (max-width: 600px) {
  .cricket-dashboard-container {
    padding: 16px;
  }
  
  .cricket-dashboard-header {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .cricket-metric-card {
    padding: 16px;
  }
  
  .cricket-chart-card {
    padding: 16px;
  }
}

/* Golf Dashboard Component Styles */

/* Layout Classes */
.golf-main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

.golf-header-container {
  background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(76, 175, 80, 0.3);
  color: white;
  padding: 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.golf-header-flex {
  display: flex;
  align-items: center;
  gap: 16px;
}

.golf-tabs-paper {
  padding: 0;
  margin-bottom: 48px;
  border-radius: 16px;
  overflow: hidden;
}

.golf-tabs-container {
  border-bottom: 1px solid;
  border-color: divider;
}

.golf-tab {
  min-height: 64px;
  font-weight: 600;
  text-transform: none;
  font-size: 16px;
  transition: all 0.3s ease;
}

/* Material-UI Tab Overrides */
.golf-tabs-container .MuiTab-root {
  min-width: 120px;
  text-transform: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.golf-tabs-container .MuiTab-root.Mui-selected {
  font-weight: bold;
}

.golf-tab-panel {
  padding: 32px;
}

/* Stats Sections */
.golf-stats-section {
  margin-bottom: 48px;
}

.golf-stats-section-header {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: rgba(25, 118, 210, 0.12);
  color: rgba(25, 118, 210, 1);
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* Additional Box Layout Classes */
.golf-box-mb-4 {
  margin-bottom: 32px;
}

.golf-box-mb-6 {
  margin-bottom: 48px;
}

.golf-section-header-complex {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: rgba(25, 118, 210, 0.12);
  color: rgba(25, 118, 210, 1);
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.golf-section-header-success {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: rgba(76, 175, 80, 0.12);
  color: rgba(27, 94, 32, 1);
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.golf-section-header-info {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: rgba(33, 150, 243, 0.12);
  color: rgba(13, 71, 161, 1);
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* Quick Stats Grid */
.golf-quick-stats-paper {
  padding: 16px;
  text-align: center;
  border-radius: 16px;
}

/* Loading and Error States */
.golf-loading-container {
  padding: 32px;
  text-align: center;
}

.golf-error-alert {
  margin-bottom: 16px;
}

/* Section Containers */
.golf-section-container {
  margin-bottom: 32px;
}

.golf-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 0 8px;
}

.golf-stats-grid-container {
  margin-bottom: 48px;
}

.golf-chart-container {
  margin-bottom: 48px;
}

.golf-recent-matches-container {
  margin-bottom: 48px;
}

/* Icons */
.golf-no-matches-icon {
  font-size: 40px;
}

.golf-trophy-icon {
  font-size: 24px;
}

.golf-stats-icon {
  font-size: 24px;
}

.golf-world-icon {
  font-size: 24px;
}

/* Performance Badges */
.golf-performance-badge {
  color: white;
}

/* Dynamic colored text handled via inline style for conditional colors */

/* Netball Dashboard Component Styles */

.netball-dashboard-container {
  min-height: 100vh;
  padding-top: 24px;
  padding-bottom: 32px;
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.05) 0%, rgba(216, 67, 21, 0.05) 100%);
}

.netball-dashboard-card {
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.1) 0%, rgba(255, 112, 67, 0.1) 100%);
  border-left: 4px solid #f44336;
  transition: all 0.3s ease;
}

.netball-dashboard-card:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.15);
}

.netball-stats-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 87, 34, 0.05) 100%);
  border: 1px solid rgba(255, 87, 34, 0.2);
  transition: all 0.3s ease;
}

.netball-stats-card:hover {
  transform: translateY(-2px);
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1);
}

.netball-fab {
  background: linear-gradient(135deg, #FF5722 0%, #D84315 100%);
  color: white;
  position: fixed;
  bottom: 24px;
  right: 24px;
}

.netball-fab:hover {
  background: linear-gradient(135deg, #D84315 0%, #BF360C 100%);
}

.netball-header {
  text-align: center;
  margin-bottom: 32px;
}

.netball-title {
  color: #FF5722;
  font-weight: bold;
  margin-bottom: 8px;
}

.netball-subtitle {
  color: #666;
}

.netball-tabs {
  margin-bottom: 24px;
  border-bottom: 1px solid #e0e0e0;
}

.netball-tab {
  color: #666;
  font-weight: 600;
}

.netball-tab.selected {
  color: #FF5722;
}

.netball-tab-indicator {
  background-color: #FF5722;
}

.netball-loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.netball-loading-spinner {
  color: #FF5722;
}

.netball-matches-icon {
  margin-right: 8px;
  color: #FF5722;
}

.netball-error-alert {
  margin-bottom: 24px;
}

.netball-stats-container {
  margin-bottom: 32px;
}

.netball-stat-card {
  text-align: center;
  padding: 24px;
}

.netball-stat-icon {
  color: #FF5722;
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.netball-stat-value {
  color: #FF5722;
  font-weight: bold;
  font-size: 2rem;
  margin-bottom: 4px;
}

.netball-stat-label {
  color: #666;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.netball-charts-section {
  margin-bottom: 32px;
}

.netball-chart-container {
  height: 300px;
  padding: 16px;
}

.netball-chart-title {
  color: #FF5722;
  font-weight: bold;
  margin-bottom: 16px;
  text-align: center;
}

.netball-matches-section {
  margin-bottom: 32px;
}

.netball-matches-title {
  color: #FF5722;
  font-weight: bold;
  margin-bottom: 16px;
}

.netball-match-list {
  max-height: 400px;
  overflow-y: auto;
}

.netball-match-item {
  border-bottom: 1px solid #f0f0f0;
  padding: 16px;
  transition: background-color 0.2s;
  cursor: pointer;
}

.netball-match-item:hover {
  background-color: rgba(255, 87, 34, 0.05);
}

.netball-match-item:last-child {
  border-bottom: none;
}

.netball-match-teams {
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.netball-match-score {
  color: #FF5722;
  font-weight: bold;
  font-size: 1.1rem;
}

.netball-match-date {
  color: #666;
  font-size: 0.875rem;
}

.netball-match-venue {
  color: #888;
  font-size: 0.8rem;
  margin-top: 4px;
}

.netball-no-data {
  text-align: center;
  color: #666;
  padding: 32px;
  font-style: italic;
}

.netball-achievement-chip {
  background-color: #FF5722;
  color: white;
  margin: 4px;
}

.netball-recent-activities {
  margin-top: 16px;
}

.netball-activity-item {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.netball-activity-item:last-child {
  border-bottom: none;
}

.netball-activity-icon {
  color: #FF5722;
  margin-right: 8px;
}

.netball-activity-text {
  color: #333;
  font-size: 0.875rem;
}

/* Match History Styles - Rugby-style */
.netball-no-matches {
  text-align: center;
  padding: 64px 16px;
  color: #666666;
}

.netball-no-matches-icon {
  font-size: 4rem;
  color: #FF5722;
  margin-bottom: 16px;
  display: block;
}

.netball-no-matches-title {
  color: #FF5722;
  font-weight: 600;
  margin-bottom: 8px;
}

.netball-no-matches-subtitle {
  color: #666666;
}

.netball-match-history-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.netball-match-card {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 6px solid;
  transition: all 0.2s ease-in-out;
  border-radius: 8px;
}

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

.netball-match-card-won {
  border-left-color: #4CAF50;
}

.netball-match-card-lost {
  border-left-color: #f44336;
}

.netball-match-card-draw {
  border-left-color: #ff9800;
}

.netball-match-card-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.netball-match-avatar {
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
  font-weight: bold;
}

.netball-match-avatar-won {
  background-color: #4CAF50;
}

.netball-match-avatar-lost {
  background-color: #f44336;
}

.netball-match-avatar-draw {
  background-color: #ff9800;
}

.netball-match-opponent {
  font-weight: bold;
  margin-bottom: 8px;
  color: #D84315;
}

.netball-match-details {
  display: flex;
  gap: 24px;
  color: #666666;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.netball-match-detail {
  display: flex;
  align-items: center;
  gap: 4px;
}

.netball-match-detail-icon {
  display: flex;
  align-items: center;
}

.netball-match-detail-text {
  font-size: 0.875rem;
}

.netball-match-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.netball-match-score {
  text-align: right;
}

.netball-match-score-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FF5722;
}

/* Responsive Design */
@media (max-width: 768px) {
  .netball-match-card {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .netball-match-details {
    justify-content: center;
  }
  
  .netball-match-score {
    text-align: center;
  }
}

/* MyClubs Page Styles */

/* Main container styles */
.my-clubs-main-container {
  min-height: 100vh;
  background-color: #f5f7fa;
}

.my-clubs-styled-container {
  min-height: 100vh;
  padding-top: 96px; /* 12 * 8px theme spacing */
  padding-bottom: 32px; /* 4 * 8px theme spacing */
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Header section styles */
.my-clubs-header {
  text-align: center;
  margin-bottom: 32px; /* 4 * 8px theme spacing */
  padding: 24px; /* 3 * 8px theme spacing */
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.1) 0%, rgba(25, 118, 210, 0.05) 100%);
  border-radius: 16px; /* 2 * default border radius */
  border: 1px solid rgba(25, 118, 210, 0.1);
}

.my-clubs-header-icon {
  font-size: 48px;
  color: #1976d2;
  margin-bottom: 16px;
}

.my-clubs-header-title {
  font-weight: 700;
  color: #1976d2;
  margin-bottom: 8px;
  font-size: 3rem;
}

.my-clubs-header-subtitle {
  color: rgba(0, 0, 0, 0.6);
  font-size: 1.25rem;
}

/* Search box styles */
.my-clubs-search-box {
  margin-bottom: 24px; /* 3 * 8px theme spacing */
  padding: 16px; /* 2 * 8px theme spacing */
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.05) 0%, rgba(25, 118, 210, 0.02) 100%);
  border-radius: 16px; /* 2 * default border radius */
  border: 1px solid rgba(25, 118, 210, 0.1);
}

.my-clubs-search-field {
  width: 100%;
}

.my-clubs-search-field .MuiOutlinedInput-root {
  background-color: #ffffff;
  border-radius: 12px; /* 1.5 * default border radius */
  border: 1px solid rgba(25, 118, 210, 0.2);
  transition: all 0.3s ease;
}

.my-clubs-search-field .MuiOutlinedInput-root:hover {
  border-color: rgba(25, 118, 210, 0.4);
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.1);
}

.my-clubs-search-field .MuiOutlinedInput-root.Mui-focused {
  border-color: #1976d2;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.15);
}

.my-clubs-search-field .MuiInputBase-input {
  padding: 12px 16px; /* 1.5 * 8px and 2 * 8px theme spacing */
  font-size: 1rem;
}

.my-clubs-search-results-text {
  margin-top: 8px;
  color: rgba(0, 0, 0, 0.6);
}

.my-clubs-search-icon {
  color: #1976d2;
}

.my-clubs-clear-icon {
  color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.my-clubs-clear-icon:hover {
  color: #1976d2;
}

/* Loading state styles */
.my-clubs-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 0; /* 6 * 8px theme spacing */
}

/* Error alert styles */
.my-clubs-error-alert {
  margin-bottom: 24px; /* 3 * 8px theme spacing */
  border-radius: 8px;
  border: 1px solid rgba(211, 47, 47, 0.2);
}

/* Empty state styles */
.my-clubs-empty-state {
  text-align: center;
  padding: 48px; /* 6 * 8px theme spacing */
  background-color: rgba(25, 118, 210, 0.02);
  border-radius: 16px; /* 2 * default border radius */
  border: 1px dashed rgba(25, 118, 210, 0.2);
}

.my-clubs-empty-icon {
  font-size: 64px;
  color: #1976d2;
  margin-bottom: 16px;
  opacity: 0.6;
}

.my-clubs-empty-title {
  font-weight: 600;
  color: #1976d2;
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.my-clubs-empty-subtitle {
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 16px;
}

/* Club card styles - CONSISTENT SIZING */
.my-clubs-card {
  height: 340px; /* Fixed height for consistent sizing */
  width: 280px; /* Fixed width for consistent sizing */
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  border-radius: 16px; /* 2 * default border radius */
  border: 1px solid rgba(25, 118, 210, 0.1);
  box-shadow: 0 4px 20px rgba(25, 118, 210, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
}

.my-clubs-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1976d2, #42a5f5);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.my-clubs-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(25, 118, 210, 0.2);
  border-color: rgba(25, 118, 210, 0.3);
}

.my-clubs-card:hover::before {
  transform: scaleX(1);
}

/* Card content styles */
.my-clubs-card-content {
  text-align: center;
  padding: 20px; /* 2.5 * 8px theme spacing */
  padding-bottom: 20px; /* Same padding all around */
  display: grid;
  grid-template-rows: auto auto auto auto auto 1fr; /* Avatar, Name, Sport, Metrics, Location, Description */
  grid-gap: 6px;
  gap: 6px; /* Smaller gap to reduce white space */
  height: 100%;
  align-content: start;
}

/* Avatar styles - CONSISTENT SIZING */
.my-clubs-avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto;
  margin-bottom: 0; /* Remove margin since we're using grid gap */
  border: 3px solid rgba(25, 118, 210, 0.15);
  background-color: rgba(25, 118, 210, 0.1);
  color: #1976d2;
  font-size: 2.2rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(25, 118, 210, 0.15);
  transition: all 0.3s ease;
}

.my-clubs-card:hover .my-clubs-avatar {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(25, 118, 210, 0.25);
}

/* Club name styles - CONSISTENT HEIGHT */
.my-clubs-club-name {
  font-weight: 700;
  margin-bottom: 0; /* Remove margin since we're using grid gap */
  color: rgba(0, 0, 0, 0.87);
  font-size: 1.1rem;
  line-height: 1.3;
  min-height: 2.6rem; /* Consistent height for all club names */
  max-height: 2.6rem; /* Prevent names from taking more space */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Sport chip styles */
.my-clubs-sport-chip-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 36px; /* Ensure consistent height (28px chip + 8px padding) */
}

.my-clubs-sport-chip {
  background-color: rgba(25, 118, 210, 0.12);
  color: #1976d2;
  border: 1px solid rgba(25, 118, 210, 0.3);
  font-weight: 600;
  font-size: 0.75rem;
  height: 28px;
  border-radius: 14px;
  transition: all 0.3s ease;
}

/* Sport chip container for consistent spacing */
.my-clubs-card-content > div:has(.my-clubs-sport-chip) {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 28px; /* Ensure consistent height even if chip is missing */
}

.my-clubs-sport-chip:hover {
  background-color: rgba(25, 118, 210, 0.2);
  transform: scale(1.05);
}

/* Fallback style for clubs without sport */
.my-clubs-sport-chip-fallback {
  background-color: rgba(158, 158, 158, 0.12) !important;
  color: rgba(0, 0, 0, 0.6) !important;
  border: 1px solid rgba(158, 158, 158, 0.3) !important;
  font-style: italic;
}

.my-clubs-sport-chip-fallback:hover {
  background-color: rgba(158, 158, 158, 0.2) !important;
}

/* Metrics box styles */
.my-clubs-metrics-container {
  margin-bottom: 0; /* Remove margin since we're using grid gap */
}

.my-clubs-metrics-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px; /* 0.5 * 8px theme spacing */
  padding: 8px 12px; /* 1 * 8px and 1.5 * 8px theme spacing */
  background-color: rgba(25, 118, 210, 0.05);
  border-radius: 8px; /* default border radius */
  border: 1px solid rgba(25, 118, 210, 0.1);
  transition: all 0.3s ease;
}

.my-clubs-metrics-box:hover {
  background-color: rgba(25, 118, 210, 0.1);
  transform: translateY(-2px);
}

.my-clubs-metrics-icon {
  font-size: 18px;
  color: #1976d2;
}

.my-clubs-metrics-count {
  font-weight: 600;
  color: #1976d2;
}

.my-clubs-metrics-label {
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.75rem;
}

/* Location styles */
.my-clubs-location-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px; /* 0.5 * 8px theme spacing */
  margin-bottom: 0; /* Remove margin since we're using grid gap */
  color: rgba(0, 0, 0, 0.6);
  min-height: 1.2rem; /* Consistent height even when no location */
}

.my-clubs-location-text {
  font-size: 0.75rem;
}

/* Description styles - CONSISTENT HEIGHT */
.my-clubs-description-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 3.0rem; /* Reduced height to minimize white space */
  max-height: 3.0rem;
  overflow: hidden;
  align-self: end; /* Push to bottom of grid cell */
}

.my-clubs-description {
  color: rgba(0, 0, 0, 0.6);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 1.4;
  font-size: 0.875rem;
  padding: 0 8px;
  width: 100%;
}

/* Grid container styles - CONSISTENT CARD WIDTHS */
.my-clubs-grid-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px; /* 3 * 8px theme spacing */
  justify-content: flex-start;
  align-items: flex-start;
}

/* Override Material-UI Grid item styles */
.my-clubs-grid-container .MuiGrid-item {
  padding: 0 !important;
  flex: none !important;
  max-width: none !important;
  flex-basis: auto !important;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .my-clubs-styled-container {
    padding-top: 80px;
  }
  
  .my-clubs-header-title {
    font-size: 2rem;
  }
  
  .my-clubs-card {
    height: 320px; /* Slightly smaller on mobile but same width */
    width: 280px; /* Keep same width for consistency */
  }
  
  .my-clubs-grid-container {
    justify-content: center; /* Center cards on mobile */
    gap: 16px; /* Smaller gap on mobile */
  }
  
  .my-clubs-card-content {
    padding: 16px;
    grid-template-rows: auto auto auto auto auto 1fr; /* Same grid structure */
  }
  
  .my-clubs-avatar {
    width: 76px;
    height: 76px;
    font-size: 1.9rem;
  }
  
  .my-clubs-club-name {
    font-size: 1rem;
    min-height: 2.4rem;
    max-height: 2.4rem;
  }
  
  .my-clubs-sport-chip-container {
    min-height: 32px; /* Slightly smaller on mobile */
  }
  
  .my-clubs-location-container {
    min-height: 1rem;
  }
  
  .my-clubs-description-container {
    min-height: 2.8rem;
    max-height: 2.8rem;
  }
}

@media (min-width: 601px) and (max-width: 960px) {
  .my-clubs-card {
    height: 330px;
    width: 280px; /* Keep same width for consistency */
  }
  
  .my-clubs-grid-container {
    gap: 20px; /* Medium gap for tablets */
  }
}

@media (min-width: 961px) {
  .my-clubs-card {
    height: 340px;
    width: 280px; /* Keep same width for consistency */
  }
}

/* Modernized Club Page Styles */

.club-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px 48px 16px;
  background: #f7f9fb;
  background: var(--club-bg, #f7f9fb);
  min-height: 100vh;
}

/* Enhanced club page background when colors are available */
.club-themed-page .club-page {
  background: linear-gradient(135deg, 
    color-mix(in srgb, #1976d2 2%, white 98%) 0%, 
    color-mix(in srgb, #dc004e 2%, white 98%) 100%);
  background: linear-gradient(135deg, 
    color-mix(in srgb, var(--club-primary-color, #1976d2) 2%, white 98%) 0%, 
    color-mix(in srgb, var(--club-secondary-color, #dc004e) 2%, white 98%) 100%);
}

/* Dynamic color utilities */
.club-page--with-colors {
  --club-primary-color: var(--club-primary-color, #1976d2);
  --club-secondary-color: var(--club-secondary-color, #dc004e);
  --club-primary-overlay: var(--club-primary-overlay, rgba(25,118,210,0.92));
}

/* Dynamic background utilities */
.club-page__bg-primary {
  background-color: #1976d2;
  background-color: var(--club-primary-color, #1976d2);
}

.club-page__bg-secondary {
  background-color: #dc004e;
  background-color: var(--club-secondary-color, #dc004e);
}

.club-page__bg-primary-light {
  background-color: color-mix(in srgb, #1976d2 10%, white 90%);
  background-color: color-mix(in srgb, var(--club-primary-color, #1976d2) 10%, white 90%);
}

.club-page__bg-secondary-light {
  background-color: color-mix(in srgb, #dc004e 10%, white 90%);
  background-color: color-mix(in srgb, var(--club-secondary-color, #dc004e) 10%, white 90%);
}

/* Dynamic text color utilities */
.club-page__text-primary {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
}

.club-page__text-secondary {
  color: #dc004e;
  color: var(--club-secondary-color, #dc004e);
}

/* Dynamic border utilities */
.club-page__border-primary {
  border-color: #1976d2;
  border-color: var(--club-primary-color, #1976d2);
}

.club-page__border-secondary {
  border-color: #dc004e;
  border-color: var(--club-secondary-color, #dc004e);
}

/* Enhanced gradient backgrounds */
.club-page__gradient-primary {
  background: linear-gradient(135deg, #1976d2 0%, #dc004e 100%);
  background: linear-gradient(135deg, var(--club-primary-color, #1976d2) 0%, var(--club-secondary-color, #dc004e) 100%);
}

.club-page__gradient-primary-light {
  background: linear-gradient(135deg, 
    color-mix(in srgb, #1976d2 15%, white 85%) 0%, 
    color-mix(in srgb, #dc004e 15%, white 85%) 100%);
  background: linear-gradient(135deg, 
    color-mix(in srgb, var(--club-primary-color, #1976d2) 15%, white 85%) 0%, 
    color-mix(in srgb, var(--club-secondary-color, #dc004e) 15%, white 85%) 100%);
}

.club-page__header {
  margin-bottom: 32px;
}

.club-page__title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 2.2rem;
  font-weight: 700;
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
}

.club-page__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}

.club-page__cover {
  height: 320px;
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
  background: #1976d2;
  background: var(--club-primary-color, #1976d2);
  background: linear-gradient(135deg, #1976d2 0%, #dc004e 100%);
  background: linear-gradient(135deg, var(--club-primary-color, #1976d2) 0%, var(--club-secondary-color, #dc004e) 100%);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  position: relative;
  overflow: hidden;
}

.club-page__cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1976d2 0%, #dc004e 100%);
  background: linear-gradient(135deg, var(--club-primary-color, #1976d2) 0%, var(--club-secondary-color, #dc004e) 100%);
}

.club-page__cover-placeholder h2 {
  color: #fff;
  font-weight: 800;
  font-size: 3rem;
  opacity: 0.85;
}

.club-page__edit-cover-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #f5f5f5 65%, #ececec 100%) !important;
  color: #1976d2 !important;
  color: var(--club-primary-color, #1976d2) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.28), 0 0 0 3px rgba(255,255,255,0.85) !important;
  border: 2px solid rgba(255,255,255,0.95) !important;
  transition: all 0.3s;
  z-index: 10000; /* elevated above overlays */
  width: 56px;
  height: 56px;
  backdrop-filter: blur(4px) saturate(160%);
  -webkit-backdrop-filter: blur(4px) saturate(160%);
  pointer-events: auto;
}
.club-page__edit-cover-btn:hover {
  background: linear-gradient(135deg, #ffffff 0%, #fdfdfd 40%, #fafafa 100%) !important;
  color: #dc004e !important;
  color: var(--club-secondary-color, #dc004e) !important;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 8px 22px rgba(0,0,0,0.35), 0 0 0 3px rgba(255,255,255,0.95) !important;
}

.club-page__edit-cover-btn .MuiSvgIcon-root {
  font-size: 24px;
}

.club-page__club-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 32px 24px 32px;
  color: #fff;
  background: linear-gradient(180deg, 
    transparent 20%, 
    rgba(25,118,210,0.92) 60%,
    color-mix(in srgb, #1976d2 95%, #dc004e 5%) 100%);
  background: linear-gradient(180deg, 
    transparent 20%, 
    var(--club-primary-overlay, rgba(25,118,210,0.92)) 60%,
    color-mix(in srgb, var(--club-primary-color, #1976d2) 95%, var(--club-secondary-color, #dc004e) 5%) 100%);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

.club-page__logo-container {
  position: relative;
}

.club-page__logo {
  width: 90px;
  height: 90px;
  border: 4px solid #1976d2;
  border: 4px solid var(--club-primary-color, #1976d2);
  box-shadow: 0 6px 24px rgba(25,118,210,0.25),
              0 0 0 2px white,
              0 0 0 6px #dc004e;
  box-shadow: 0 6px 24px var(--club-primary-shadow, rgba(25,118,210,0.25)),
              0 0 0 2px white,
              0 0 0 6px var(--club-secondary-color, #dc004e);
  transition: all 0.3s ease;
  border-radius: 50%;
}

.club-page__logo:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(25,118,210,0.35),
              0 0 0 3px white,
              0 0 0 8px #dc004e;
  box-shadow: 0 8px 32px var(--club-primary-shadow, rgba(25,118,210,0.35)),
              0 0 0 3px white,
              0 0 0 8px var(--club-secondary-color, #dc004e);
}

.club-page__edit-logo-btn {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  background: linear-gradient(145deg, #ffffff 0%, #f3f3f3 100%);
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  box-shadow: 0 3px 10px rgba(0,0,0,0.18), 0 0 0 2px rgba(255,255,255,0.95);
  border: 2px solid rgba(255,255,255,0.95);
  transition: all 0.28s ease;
  backdrop-filter: blur(3px) saturate(160%);
  -webkit-backdrop-filter: blur(3px) saturate(160%);
  z-index: 3;
}
.club-page__edit-logo-btn:hover {
  background: #ffffff;
  color: #dc004e;
  color: var(--club-secondary-color, #dc004e);
  transform: translateY(-2px) scale(1.12);
  box-shadow: 0 6px 16px rgba(0,0,0,0.28), 0 0 0 2px rgba(255,255,255,0.95);
}

/* High-contrast focus ring for accessibility */
.club-page__edit-cover-btn:focus-visible,
.club-page__edit-logo-btn:focus-visible {
  outline: 3px solid #dc004e;
  outline: 3px solid var(--club-secondary-color, #dc004e);
  outline-offset: 3px;
}

/* Mobile adjustments: make cover button smaller but still visible */
@media (max-width: 640px) {
  .club-page__edit-cover-btn {
    width: 48px;
    height: 48px;
    top: 12px;
    right: 12px;
  }
  .club-page__edit-cover-btn .MuiSvgIcon-root {
    font-size: 22px;
  }
}

/* Ensure buttons stand out over dark and light covers */
.club-page__cover img + .club-page__edit-cover-btn,
.club-page__cover .club-page__edit-cover-btn {
  mix-blend-mode: normal;
}

.club-page__club-name {
  font-weight: 800;
  font-size: 2.1rem;
  color: #fff;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, white 0%, #f0f8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.club-page__club-stats {
  opacity: 0.92;
  color: #fff;
  font-size: 1.1rem;
}

.club-page__location-info {
  display: flex;
  align-items: center;
  margin-top: 10px;
  color: #fff;
  font-size: 1rem;
}

.club-page__location-icon {
  margin-right: 8px;
  font-size: 18px;
}

.club-page__action-buttons {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.club-page__action-button {
  color: #fff;
  border-radius: 48px;
  text-transform: none;
  font-weight: 700;
  padding: 10px 24px;
  font-size: 1.1rem;
  background: #1976d2;
  background: var(--club-primary-color, #1976d2);
  border: none;
  box-shadow: 0 2px 8px color-mix(in srgb, #1976d2 10%, transparent 90%);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--club-primary-color, #1976d2) 10%, transparent 90%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.club-page__action-button--outlined {
  background: transparent;
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  border: 2px solid #1976d2;
  border: 2px solid var(--club-primary-color, #1976d2);
}
.club-page__action-button:hover {
  background: #dc004e;
  background: var(--club-secondary-color, #dc004e);
  color: #fff;
  box-shadow: 0 4px 16px color-mix(in srgb, #dc004e 12%, transparent 88%);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--club-secondary-color, #dc004e) 12%, transparent 88%);
  transform: translateY(-2px);
}

/* Info Paper Modernized */
.club-page__info-paper {
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px;
  margin-bottom: 28px;
  box-shadow: 0 2px 16px color-mix(in srgb, #1976d2 6%, transparent 94%);
  box-shadow: 0 2px 16px color-mix(in srgb, var(--club-primary-color, #1976d2) 6%, transparent 94%);
  border: 1.5px solid color-mix(in srgb, #1976d2 7%, transparent 93%);
  border: 1.5px solid color-mix(in srgb, var(--club-primary-color, #1976d2) 7%, transparent 93%);
}

.club-page__section-title {
  font-weight: 700;
  font-size: 1.3rem;
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  margin-bottom: 18px;
}

.club-page__centered-content {
  text-align: center;
  padding: 24px 0;
}

/* Tab Modernization */
.club-page__tab-paper {
  margin-bottom: 20px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(25,118,210,0.05);
}

.club-page__tabs {
  margin-bottom: 24px;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 2px 8px rgba(25,118,210,0.04);
}

.club-page__tab {
  text-transform: none;
  font-weight: 700;
  font-size: 1.1rem;
  min-height: 56px;
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  border-radius: 12px 12px 0 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.club-page__tab.Mui-selected {
  color: #fff;
  background: #1976d2;
  background: var(--club-primary-color, #1976d2);
}
.club-page__tab:hover {
  background: #dc004e;
  background: var(--club-secondary-color, #dc004e);
  color: #fff;
}

/* Card Modernization */
.club-page__team-card {
  border-radius: 16px;
  border: 1.5px solid color-mix(in srgb, #1976d2 10%, transparent 90%);
  border: 1.5px solid color-mix(in srgb, var(--club-primary-color, #1976d2) 10%, transparent 90%);
  background: #fff;
  box-shadow: 0 2px 12px color-mix(in srgb, #1976d2 6%, transparent 94%);
  box-shadow: 0 2px 12px color-mix(in srgb, var(--club-primary-color, #1976d2) 6%, transparent 94%);
  transition: all 0.3s;
}
.club-page__team-card:hover {
  border: 1.5px solid #1976d2;
  border: 1.5px solid var(--club-primary-color, #1976d2);
  box-shadow: 0 6px 24px color-mix(in srgb, #1976d2 13%, transparent 87%);
  box-shadow: 0 6px 24px color-mix(in srgb, var(--club-primary-color, #1976d2) 13%, transparent 87%);
  transform: translateY(-4px);
}

/* Enhanced Team Card Styles */
.club-page__team-card-enhanced {
  border-radius: 16px;
  border: 1.5px solid color-mix(in srgb, #1976d2 10%, transparent 90%);
  border: 1.5px solid color-mix(in srgb, var(--club-primary-color, #1976d2) 10%, transparent 90%);
  background: #fff;
  box-shadow: 0 2px 12px color-mix(in srgb, #1976d2 6%, transparent 94%);
  box-shadow: 0 2px 12px color-mix(in srgb, var(--club-primary-color, #1976d2) 6%, transparent 94%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.club-page__team-card-enhanced:hover {
  border: 1.5px solid #1976d2;
  border: 1.5px solid var(--club-primary-color, #1976d2);
  box-shadow: 0 6px 24px color-mix(in srgb, #1976d2 13%, transparent 87%);
  box-shadow: 0 6px 24px color-mix(in srgb, var(--club-primary-color, #1976d2) 13%, transparent 87%);
  transform: translateY(-4px);
}

.club-page__team-card-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1976d2 0%, #dc004e 100%);
  background: linear-gradient(90deg, var(--club-primary-color, #1976d2) 0%, var(--club-secondary-color, #dc004e) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.club-page__team-card-enhanced:hover::before {
  opacity: 1;
}

/* Team designation badge */
.club-page__team-designation-badge {
  background: #1976d2;
  background: var(--club-primary-color, #1976d2);
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 8px;
  min-width: 24px;
  text-align: center;
  box-shadow: 0 2px 4px color-mix(in srgb, #1976d2 20%, transparent 80%);
  box-shadow: 0 2px 4px color-mix(in srgb, var(--club-primary-color, #1976d2) 20%, transparent 80%);
}

/* Age group header styling */
.club-page__age-group-header {
  background: linear-gradient(135deg, 
    color-mix(in srgb, #1976d2 8%, white 92%) 0%, 
    color-mix(in srgb, #dc004e 8%, white 92%) 100%);
  background: linear-gradient(135deg, 
    color-mix(in srgb, var(--club-primary-color, #1976d2) 8%, white 92%) 0%, 
    color-mix(in srgb, var(--club-secondary-color, #dc004e) 8%, white 92%) 100%);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid color-mix(in srgb, #1976d2 10%, transparent 90%);
  border: 1px solid color-mix(in srgb, var(--club-primary-color, #1976d2) 10%, transparent 90%);
}

.club-page__age-group-title {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  font-weight: 700;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Team count badge */
.club-page__team-count-badge {
  background: #dc004e;
  background: var(--club-secondary-color, #dc004e);
  color: white;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 12px;
  margin-left: 8px;
}

/* Team info paper with gradient */
.club-page__team-info-paper-enhanced {
  background: linear-gradient(135deg, 
    color-mix(in srgb, #1976d2 3%, white 97%) 0%, 
    color-mix(in srgb, #dc004e 3%, white 97%) 100%);
  background: linear-gradient(135deg, 
    color-mix(in srgb, var(--club-primary-color, #1976d2) 3%, white 97%) 0%, 
    color-mix(in srgb, var(--club-secondary-color, #dc004e) 3%, white 97%) 100%);
  border: 2px solid color-mix(in srgb, #1976d2 10%, transparent 90%);
  border: 2px solid color-mix(in srgb, var(--club-primary-color, #1976d2) 10%, transparent 90%);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px color-mix(in srgb, #1976d2 8%, transparent 92%);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--club-primary-color, #1976d2) 8%, transparent 92%);
  transition: all 0.3s ease;
}

.club-page__team-info-paper-enhanced:hover {
  box-shadow: 0 6px 24px color-mix(in srgb, #1976d2 12%, transparent 88%);
  box-shadow: 0 6px 24px color-mix(in srgb, var(--club-primary-color, #1976d2) 12%, transparent 88%);
  transform: translateY(-2px);
}

/* Team name with designation layout */
.club-page__team-name-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 4px;
}

.club-page__team-name-text {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  font-weight: 700;
  margin-bottom: 0;
  text-align: center;
  line-height: 1.2;
}

/* Sports Tabs Styles */
.club-page__sports-tabs {
  background: white;
  border-radius: 12px;
}

.club-page__sports-tabs .MuiTabs-flexContainer {
  gap: 8px;
  padding: 8px 16px;
}

.club-page__sport-tab {
  min-height: 64px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-transform: none;
  padding: 8px 16px;
  margin: 0 4px;
}

.club-page__sport-tab:hover {
  background-color: #1976d2;
  background-color: var(--club-primary-color, #1976d2);
  color: white;
}

.club-page__sport-tab.Mui-selected {
  background: linear-gradient(135deg, #1976d2, color-mix(in srgb, #1976d2 80%, white 20%));
  background: linear-gradient(135deg, var(--club-primary-color, #1976d2), color-mix(in srgb, var(--club-primary-color, #1976d2) 80%, white 20%));
  color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.club-page__sport-tab-chip {
  background: rgba(255,255,255,0.2);
  color: inherit;
  font-weight: 600;
  min-width: 24px;
  height: 20px;
}

.club-page__sport-tab-chip .MuiChip-label {
  padding: 0 6px;
  font-size: 0.75rem;
}

.club-page__sport-tab.Mui-selected .club-page__sport-tab-chip {
  background: rgba(255,255,255,0.3);
  color: white;
}

.club-page__sport-tab:hover .club-page__sport-tab-chip {
  background: rgba(255,255,255,0.3);
  color: white;
}

/* Sports content transition */
.club-page__sports-content {
  animation: clubPageFadeIn 0.3s ease-in-out;
}

@keyframes clubPageFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Global Club-Themed Overrides for Material-UI Components */
.club-themed-page {
  /* Override Material-UI Button colors */
  --mui-primary-color: var(--club-primary-color, #1976d2);
  --mui-secondary-color: var(--club-secondary-color, #dc004e);
}

/* Button Overrides */
.club-themed-page .MuiButton-root {
  border-radius: 12px;
  font-weight: 600;
  text-transform: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.club-themed-page .MuiButton-contained {
  background: #1976d2;
  background: var(--club-primary-color, #1976d2);
  color: white;
  box-shadow: 0 2px 8px rgba(25,118,210,0.25);
  box-shadow: 0 2px 8px var(--club-primary-shadow, rgba(25,118,210,0.25));
}

.club-themed-page .MuiButton-contained:hover {
  background: #dc004e;
  background: var(--club-secondary-color, #dc004e);
  box-shadow: 0 4px 16px rgba(220,0,78,0.25);
  box-shadow: 0 4px 16px var(--club-secondary-shadow, rgba(220,0,78,0.25));
  transform: translateY(-1px);
}

.club-themed-page .MuiButton-outlined {
  border-color: #1976d2;
  border-color: var(--club-primary-color, #1976d2);
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  border-width: 2px;
}

.club-themed-page .MuiButton-outlined:hover {
  background: rgba(25,118,210,0.1);
  background: var(--club-primary-light, rgba(25,118,210,0.1));
  border-color: #dc004e;
  border-color: var(--club-secondary-color, #dc004e);
  color: #dc004e;
  color: var(--club-secondary-color, #dc004e);
}

.club-themed-page .MuiButton-text {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
}

.club-themed-page .MuiButton-text:hover {
  background: rgba(25,118,210,0.1);
  background: var(--club-primary-light, rgba(25,118,210,0.1));
  color: #dc004e;
  color: var(--club-secondary-color, #dc004e);
}

/* Tab Overrides */
.club-themed-page .MuiTabs-root {
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

.club-themed-page .MuiTab-root {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  font-weight: 600;
  text-transform: none;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 4px;
}

.club-themed-page .MuiTab-root:hover {
  background: rgba(25,118,210,0.1);
  background: var(--club-primary-light, rgba(25,118,210,0.1));
  color: #dc004e;
  color: var(--club-secondary-color, #dc004e);
}

.club-themed-page .MuiTab-root.Mui-selected {
  background: linear-gradient(135deg, #1976d2, #dc004e);
  background: linear-gradient(135deg, var(--club-primary-color, #1976d2), var(--club-secondary-color, #dc004e));
  color: white;
  box-shadow: 0 2px 8px rgba(25,118,210,0.25);
  box-shadow: 0 2px 8px var(--club-primary-shadow, rgba(25,118,210,0.25));
}

.club-themed-page .MuiTabs-indicator {
  display: none; /* Hide default indicator since we're using background */
}

/* ToggleButton Overrides */
.club-themed-page .MuiToggleButtonGroup-root {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #1976d2;
  border: 2px solid var(--club-primary-color, #1976d2);
}

.club-themed-page .MuiToggleButton-root {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  border-color: #1976d2;
  border-color: var(--club-primary-color, #1976d2);
  font-weight: 600;
  text-transform: none;
  transition: all 0.3s ease;
}

.club-themed-page .MuiToggleButton-root:hover {
  background: rgba(25,118,210,0.1);
  background: var(--club-primary-light, rgba(25,118,210,0.1));
  color: #dc004e;
  color: var(--club-secondary-color, #dc004e);
}

.club-themed-page .MuiToggleButton-root.Mui-selected {
  background: #1976d2;
  background: var(--club-primary-color, #1976d2);
  color: white;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.club-themed-page .MuiToggleButton-root.Mui-selected:hover {
  background: #dc004e;
  background: var(--club-secondary-color, #dc004e);
}

/* Chip Overrides */
.club-themed-page .MuiChip-root {
  background: rgba(25,118,210,0.1);
  background: var(--club-primary-light, rgba(25,118,210,0.1));
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  border: 1px solid rgba(25,118,210,0.2);
  border: 1px solid var(--club-primary-medium, rgba(25,118,210,0.2));
  font-weight: 600;
  transition: all 0.3s ease;
}

.club-themed-page .MuiChip-root:hover {
  background: #1976d2;
  background: var(--club-primary-color, #1976d2);
  color: white;
  transform: scale(1.05);
}

.club-themed-page .MuiChip-filled {
  background: #1976d2;
  background: var(--club-primary-color, #1976d2);
  color: white;
}

.club-themed-page .MuiChip-filled:hover {
  background: #dc004e;
  background: var(--club-secondary-color, #dc004e);
}

/* IconButton Overrides */
.club-themed-page .MuiIconButton-root {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  transition: all 0.3s ease;
}

.club-themed-page .MuiIconButton-root:hover {
  background: rgba(25,118,210,0.1);
  background: var(--club-primary-light, rgba(25,118,210,0.1));
  color: #dc004e;
  color: var(--club-secondary-color, #dc004e);
  transform: scale(1.1);
}

/* Paper and Card Overrides */
.club-themed-page .MuiPaper-root {
  border: 1px solid rgba(25,118,210,0.2);
  border: 1px solid var(--club-primary-medium, rgba(25,118,210,0.2));
  box-shadow: 0 2px 12px rgba(25,118,210,0.1);
  box-shadow: 0 2px 12px var(--club-primary-light, rgba(25,118,210,0.1));
  transition: all 0.3s ease;
}

.club-themed-page .MuiPaper-root:hover {
  border-color: #1976d2;
  border-color: var(--club-primary-color, #1976d2);
  box-shadow: 0 4px 20px rgba(25,118,210,0.25);
  box-shadow: 0 4px 20px var(--club-primary-shadow, rgba(25,118,210,0.25));
  transform: translateY(-2px);
}

/* Card Content Enhancements */
.club-themed-page .MuiCard-root {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.club-themed-page .MuiCard-root::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1976d2 0%, #dc004e 100%);
  background: linear-gradient(90deg, var(--club-primary-color, #1976d2) 0%, var(--club-secondary-color, #dc004e) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.club-themed-page .MuiCard-root:hover::before {
  opacity: 1;
}

/* Typography Enhancements */
.club-themed-page .MuiTypography-h6 {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  font-weight: 700;
}

.club-themed-page .MuiTypography-h5 {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  font-weight: 700;
}

.club-themed-page .MuiTypography-h4 {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  font-weight: 800;
}

/* Avatar Enhancements */
.club-themed-page .MuiAvatar-root {
  border: 2px solid #1976d2;
  border: 2px solid var(--club-primary-color, #1976d2);
  box-shadow: 0 2px 8px rgba(25,118,210,0.25);
  box-shadow: 0 2px 8px var(--club-primary-shadow, rgba(25,118,210,0.25));
}

/* TextField and Input Overrides */
.club-themed-page .MuiTextField-root .MuiOutlinedInput-root {
  border-radius: 12px;
}

.club-themed-page .MuiTextField-root .MuiOutlinedInput-root .MuiOutlinedInput-notchedOutline {
  border-color: rgba(25,118,210,0.2);
  border-color: var(--club-primary-medium, rgba(25,118,210,0.2));
}

.club-themed-page .MuiTextField-root .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline {
  border-color: #1976d2;
  border-color: var(--club-primary-color, #1976d2);
}

.club-themed-page .MuiTextField-root .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
  border-color: #dc004e;
  border-color: var(--club-secondary-color, #dc004e);
  border-width: 2px;
}

.club-themed-page .MuiTextField-root .MuiInputLabel-root.Mui-focused {
  color: #dc004e;
  color: var(--club-secondary-color, #dc004e);
}

/* Dialog Overrides */
.club-themed-page .MuiDialog-paper {
  border-radius: 16px;
  border: 2px solid rgba(25,118,210,0.2);
  border: 2px solid var(--club-primary-medium, rgba(25,118,210,0.2));
}

.club-themed-page .MuiDialogTitle-root {
  background: linear-gradient(135deg, 
    rgba(25,118,210,0.1) 0%, 
    rgba(220,0,78,0.1) 100%);
  background: linear-gradient(135deg, 
    var(--club-primary-light, rgba(25,118,210,0.1)) 0%, 
    var(--club-secondary-light, rgba(220,0,78,0.1)) 100%);
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  font-weight: 700;
}

/* Alert Overrides */
.club-themed-page .MuiAlert-root {
  border-radius: 12px;
  border: 1px solid rgba(25,118,210,0.2);
  border: 1px solid var(--club-primary-medium, rgba(25,118,210,0.2));
}

.club-themed-page .MuiAlert-standardInfo {
  background: rgba(25,118,210,0.1);
  background: var(--club-primary-light, rgba(25,118,210,0.1));
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
}

/* Grid Item Enhancements */
.club-themed-page .MuiGrid-item {
  transition: transform 0.3s ease;
}

.club-themed-page .MuiGrid-item:hover {
  transform: translateY(-2px);
}

/* Custom utility classes for enhanced theming */
.club-themed-page .club-page__prominent-button {
  background: linear-gradient(135deg, #1976d2 0%, #dc004e 100%);
  background: linear-gradient(135deg, var(--club-primary-color, #1976d2) 0%, var(--club-secondary-color, #dc004e) 100%);
  color: white;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 25px;
  box-shadow: 0 4px 16px rgba(25,118,210,0.25);
  box-shadow: 0 4px 16px var(--club-primary-shadow, rgba(25,118,210,0.25));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: none;
  border: none;
}

.club-themed-page .club-page__prominent-button:hover {
  box-shadow: 0 6px 24px rgba(220,0,78,0.25);
  box-shadow: 0 6px 24px var(--club-secondary-shadow, rgba(220,0,78,0.25));
  transform: translateY(-3px) scale(1.02);
}

.club-themed-page .club-page__accent-chip {
  background: #dc004e;
  background: var(--club-secondary-color, #dc004e);
  color: white;
  font-weight: 600;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(220,0,78,0.25);
  box-shadow: 0 2px 8px var(--club-secondary-shadow, rgba(220,0,78,0.25));
}

.club-themed-page .club-page__gradient-border {
  position: relative;
  border-radius: 16px;
  background: white;
  padding: 2px;
}

.club-themed-page .club-page__gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(135deg, #1976d2, #dc004e);
  background: linear-gradient(135deg, var(--club-primary-color, #1976d2), var(--club-secondary-color, #dc004e));
  border-radius: inherit;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask-composite: xor;
}

/* Enhanced hover effects for interactive elements */
.club-themed-page [role="button"]:not(.MuiButton-root):not(.MuiIconButton-root) {
  transition: all 0.3s ease;
}

.club-themed-page [role="button"]:not(.MuiButton-root):not(.MuiIconButton-root):hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(25,118,210,0.25);
  box-shadow: 0 4px 12px var(--club-primary-shadow, rgba(25,118,210,0.25));
}

/* Enhanced year chip styling */
.club-themed-page .club-page__year-chip {
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 20px;
}

.club-themed-page .club-page__year-chip:not(.club-page__year-chip--selected) {
  border-color: rgba(25,118,210,0.2);
  border-color: var(--club-primary-medium, rgba(25,118,210,0.2));
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
}

.club-themed-page .club-page__year-chip:not(.club-page__year-chip--selected):hover {
  background: rgba(25,118,210,0.1);
  background: var(--club-primary-light, rgba(25,118,210,0.1));
  border-color: #1976d2;
  border-color: var(--club-primary-color, #1976d2);
  transform: scale(1.05);
}

.club-themed-page .club-page__year-chip--selected {
  background: linear-gradient(135deg, #1976d2, #dc004e);
  background: linear-gradient(135deg, var(--club-primary-color, #1976d2), var(--club-secondary-color, #dc004e));
  color: white;
  box-shadow: 0 2px 8px rgba(25,118,210,0.25);
  box-shadow: 0 2px 8px var(--club-primary-shadow, rgba(25,118,210,0.25));
}

/* Enhanced facility chip styling */
.club-themed-page .club-page__facility-chip {
  border-radius: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.club-themed-page .club-page__facility-chip:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(220,0,78,0.25);
  box-shadow: 0 4px 12px var(--club-secondary-shadow, rgba(220,0,78,0.25));
}

/* Enhanced sport tab chip styling */
.club-themed-page .club-page__sport-tab-chip {
  font-weight: 700;
  transition: all 0.3s ease;
  min-width: 28px;
}

.club-themed-page .club-page__sport-tab-chip:hover {
  transform: scale(1.1);
}

/* Team card enhanced hover effects */
.club-themed-page .club-page__team-card-enhanced {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.club-themed-page .club-page__team-card-enhanced:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(25,118,210,0.25);
  box-shadow: 0 8px 32px var(--club-primary-shadow, rgba(25,118,210,0.25));
}

/* Enhanced toggle button group styling */
.club-themed-page .club-page__toggle-button-group .MuiToggleButtonGroup-root {
  box-shadow: 0 4px 16px rgba(25,118,210,0.25);
  box-shadow: 0 4px 16px var(--club-primary-shadow, rgba(25,118,210,0.25));
  border-radius: 16px;
  overflow: hidden;
}

/* Enhanced paper elevation and theming */
.club-themed-page .club-page__info-paper {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.club-themed-page .club-page__info-paper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1976d2 0%, #dc004e 100%);
  background: linear-gradient(90deg, var(--club-primary-color, #1976d2) 0%, var(--club-secondary-color, #dc004e) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.club-themed-page .club-page__info-paper:hover::before {
  opacity: 1;
}

.club-themed-page .club-page__info-paper:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(25,118,210,0.25);
  box-shadow: 0 6px 24px var(--club-primary-shadow, rgba(25,118,210,0.25));
}

/* Enhanced section title styling */
.club-themed-page .club-page__section-title {
  position: relative;
  padding-bottom: 8px;
}

.club-themed-page .club-page__section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #1976d2, #dc004e);
  background: linear-gradient(90deg, var(--club-primary-color, #1976d2), var(--club-secondary-color, #dc004e));
  border-radius: 2px;
}

/* Enhanced action button styling */
.club-themed-page .club-page__action-button {
  border-radius: 25px;
  font-weight: 700;
  text-transform: none;
  padding: 12px 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.club-themed-page .club-page__action-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.club-themed-page .club-page__action-button:hover::before {
  left: 100%;
}

/* Responsive enhancements */
@media (max-width: 768px) {
  .club-themed-page .club-page__prominent-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .club-themed-page .club-page__accent-chip {
    font-size: 0.75rem;
  }
  
  .club-themed-page .club-page__year-chip {
    font-size: 0.8rem;
    padding: 4px 8px;
  }
}

/* Dark mode support for club theming */
@media (prefers-color-scheme: dark) {
  .club-themed-page {
    --club-bg: #121212;
  }
  
  .club-themed-page .MuiPaper-root {
    background: #1e1e1e;
    border-color: rgba(25,118,210,0.2);
    border-color: var(--club-primary-medium, rgba(25,118,210,0.2));
  }
  
  .club-themed-page .club-page__info-paper {
    background: #1e1e1e;
  }
}

/* Accessibility enhancements */
.club-themed-page .club-page__prominent-button:focus,
.club-themed-page .club-page__accent-chip:focus,
.club-themed-page .club-page__year-chip:focus {
  outline: 2px solid #dc004e;
  outline: 2px solid var(--club-secondary-color, #dc004e);
  outline-offset: 2px;
}

/* Animation for loading states */
@keyframes clubPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(25,118,210,0.25);
    box-shadow: 0 0 0 0 var(--club-primary-shadow, rgba(25,118,210,0.25));
  }
  70% {
    box-shadow: 0 0 0 10px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

.club-themed-page .club-page__loading-pulse {
  animation: clubPulse 2s infinite;
}

/* Stat Card Styles - Ensuring consistent sizing */
.club-page__stat-card-green,
.club-page__stat-card-blue,
.club-page__stat-card-orange,
.club-page__stat-card-primary {
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.club-page__stat-card-green {
  background: linear-gradient(135deg, #e8f5e8 0%, #f1f8e9 100%);
  border: 2px solid #4caf50;
  box-shadow: 0 4px 16px rgba(76, 175, 80, 0.15);
}

.club-page__stat-card-green:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(76, 175, 80, 0.25);
  border-color: #388e3c;
}

.club-page__stat-card-blue {
  background: linear-gradient(135deg, #e3f2fd 0%, #f1f8ff 100%);
  border: 2px solid #2196f3;
  box-shadow: 0 4px 16px rgba(33, 150, 243, 0.15);
}

.club-page__stat-card-blue:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(33, 150, 243, 0.25);
  border-color: #1976d2;
}

.club-page__stat-card-orange {
  background: linear-gradient(135deg, #fff3e0 0%, #fef7ef 100%);
  border: 2px solid #ff9800;
  box-shadow: 0 4px 16px rgba(255, 152, 0, 0.15);
}

.club-page__stat-card-orange:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(255, 152, 0, 0.25);
  border-color: #f57c00;
}

.club-page__stat-card-primary {
  background: linear-gradient(135deg, 
    color-mix(in srgb, #1976d2 8%, white 92%) 0%, 
    color-mix(in srgb, #dc004e 8%, white 92%) 100%);
  background: linear-gradient(135deg, 
    color-mix(in srgb, var(--club-primary-color, #1976d2) 8%, white 92%) 0%, 
    color-mix(in srgb, var(--club-secondary-color, #dc004e) 8%, white 92%) 100%);
  border: 2px solid #1976d2;
  border: 2px solid var(--club-primary-color, #1976d2);
  box-shadow: 0 4px 16px color-mix(in srgb, #1976d2 15%, transparent 85%);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--club-primary-color, #1976d2) 15%, transparent 85%);
}

.club-page__stat-card-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px color-mix(in srgb, #1976d2 25%, transparent 75%);
  box-shadow: 0 8px 32px color-mix(in srgb, var(--club-primary-color, #1976d2) 25%, transparent 75%);
  border-color: #dc004e;
  border-color: var(--club-secondary-color, #dc004e);
}

/* Gender Card Styles */
.club-page__gender-card-interactive {
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  background: linear-gradient(135deg, 
    color-mix(in srgb, #1976d2 5%, white 95%) 0%, 
    color-mix(in srgb, #dc004e 5%, white 95%) 100%);
  background: linear-gradient(135deg, 
    color-mix(in srgb, var(--club-primary-color, #1976d2) 5%, white 95%) 0%, 
    color-mix(in srgb, var(--club-secondary-color, #dc004e) 5%, white 95%) 100%);
  border: 2px solid color-mix(in srgb, #1976d2 20%, transparent 80%);
  border: 2px solid color-mix(in srgb, var(--club-primary-color, #1976d2) 20%, transparent 80%);
  box-shadow: 0 4px 16px color-mix(in srgb, #1976d2 10%, transparent 90%);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--club-primary-color, #1976d2) 10%, transparent 90%);
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.club-page__gender-card-interactive:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px color-mix(in srgb, #1976d2 20%, transparent 80%);
  box-shadow: 0 8px 32px color-mix(in srgb, var(--club-primary-color, #1976d2) 20%, transparent 80%);
  border-color: #1976d2;
  border-color: var(--club-primary-color, #1976d2);
}

/* Match Card Styles - Consistent sizing */
.club-page__group-match-card,
.club-page__match-results-card,
.club-page__match-results-fixtures-card {
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid color-mix(in srgb, #1976d2 10%, transparent 90%);
  border: 1px solid color-mix(in srgb, var(--club-primary-color, #1976d2) 10%, transparent 90%);
  min-height: 120px;
}

.club-page__group-match-card:hover,
.club-page__match-results-card:hover,
.club-page__match-results-fixtures-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px color-mix(in srgb, #1976d2 12%, transparent 88%);
  box-shadow: 0 6px 24px color-mix(in srgb, var(--club-primary-color, #1976d2) 12%, transparent 88%);
  border-color: #1976d2;
  border-color: var(--club-primary-color, #1976d2);
}

.club-page__group-match-card-content,
.club-page__match-card-content {
  padding: 16px !important;
}

/* Info Card Styles */
.club-page__info-card {
  border-radius: 12px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, #1976d2 15%, transparent 85%);
  border: 1px solid color-mix(in srgb, var(--club-primary-color, #1976d2) 15%, transparent 85%);
  background: color-mix(in srgb, #1976d2 3%, white 97%);
  background: color-mix(in srgb, var(--club-primary-color, #1976d2) 3%, white 97%);
  transition: all 0.3s ease;
}

.club-page__info-card:hover {
  box-shadow: 0 4px 16px color-mix(in srgb, #1976d2 10%, transparent 90%);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--club-primary-color, #1976d2) 10%, transparent 90%);
  transform: translateY(-1px);
}

.club-page__info-card-title {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  font-weight: 600;
}

/* Membership Card Styles */
.club-page__membership-card--annual,
.club-page__membership-card--monthly {
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, 
    color-mix(in srgb, #1976d2 8%, white 92%) 0%, 
    color-mix(in srgb, #dc004e 8%, white 92%) 100%);
  background: linear-gradient(135deg, 
    color-mix(in srgb, var(--club-primary-color, #1976d2) 8%, white 92%) 0%, 
    color-mix(in srgb, var(--club-secondary-color, #dc004e) 8%, white 92%) 100%);
  border: 2px solid #1976d2;
  border: 2px solid var(--club-primary-color, #1976d2);
  box-shadow: 0 4px 16px color-mix(in srgb, #1976d2 12%, transparent 88%);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--club-primary-color, #1976d2) 12%, transparent 88%);
  transition: all 0.3s ease;
  text-align: center;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.club-page__membership-card--annual:hover,
.club-page__membership-card--monthly:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px color-mix(in srgb, #1976d2 20%, transparent 80%);
  box-shadow: 0 8px 32px color-mix(in srgb, var(--club-primary-color, #1976d2) 20%, transparent 80%);
  border-color: #dc004e;
  border-color: var(--club-secondary-color, #dc004e);
}

/* Empty State Paper Styles */
.club-page__empty-paper,
.club-page__empty-paper-info {
  padding: 48px 24px;
  text-align: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 2px dashed #e0e0e0;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.club-page__empty-paper-info {
  background: linear-gradient(135deg, 
    color-mix(in srgb, #1976d2 3%, white 97%) 0%, 
    color-mix(in srgb, #dc004e 3%, white 97%) 100%);
  background: linear-gradient(135deg, 
    color-mix(in srgb, var(--club-primary-color, #1976d2) 3%, white 97%) 0%, 
    color-mix(in srgb, var(--club-secondary-color, #dc004e) 3%, white 97%) 100%);
  border-color: color-mix(in srgb, #1976d2 20%, transparent 80%);
  border-color: color-mix(in srgb, var(--club-primary-color, #1976d2) 20%, transparent 80%);
}

/* Ensure all cards in grid containers have consistent height */
.club-page .MuiGrid-item > .MuiPaper-root,
.club-page .MuiGrid-item > .MuiCard-root,
.club-page .MuiGrid-item > .MuiBox-root[class*="stat-card"] {
  height: 100%;
  min-height: 120px;
}

/* Team card consistent sizing */
.club-page__team-card-enhanced {
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .club-page__stat-card-green,
  .club-page__stat-card-blue,
  .club-page__stat-card-orange,
  .club-page__stat-card-primary,
  .club-page__membership-card--annual,
  .club-page__membership-card--monthly {
    min-height: 100px;
    padding: 16px;
  }
  
  .club-page__team-card-enhanced {
    min-height: 120px;
  }
}

/* Posts Section Styling */
.club-page__posts-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(25,118,210,0.08);
  border: 1px solid rgba(25,118,210,0.1);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.club-page__posts-section:hover {
  box-shadow: 0 8px 32px rgba(25,118,210,0.12);
  transform: translateY(-2px);
}

.club-page__posts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #1976d2;
  border-bottom: 2px solid var(--club-primary-color, #1976d2);
}

.club-page__posts-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.club-page__posts-icon {
  font-size: 1.8rem;
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
}

.club-page__posts-count {
  background: #dc004e;
  background: var(--club-secondary-color, #dc004e);
  color: white;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin-left: 8px;
}

.club-page__posts-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.club-page__post-item {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid rgba(25,118,210,0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.club-page__post-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1976d2 0%, #dc004e 100%);
  background: linear-gradient(90deg, var(--club-primary-color, #1976d2) 0%, var(--club-secondary-color, #dc004e) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.club-page__post-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(25,118,210,0.15);
  border-color: #1976d2;
  border-color: var(--club-primary-color, #1976d2);
}

.club-page__post-item:hover::before {
  opacity: 1;
}

.club-page__post-item:nth-child(even) {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.club-page__post-item:nth-child(odd) {
  background: linear-gradient(135deg, #ffffff 0%, #fff8f9 100%);
}

/* Enhanced Post Content Styling */
.club-page__post-content {
  margin-bottom: 16px;
}

.club-page__post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.875rem;
  color: #666;
}

.club-page__post-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
}

.club-page__post-avatar {
  width: 32px;
  height: 32px;
  border: 2px solid #1976d2;
  border: 2px solid var(--club-primary-color, #1976d2);
  box-shadow: 0 2px 8px rgba(25,118,210,0.2);
}

.club-page__post-date {
  color: #888;
  font-size: 0.8rem;
}

.club-page__post-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 16px;
}

.club-page__post-media {
  margin: 16px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.club-page__post-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.club-page__post-image:hover {
  transform: scale(1.02);
}

.club-page__post-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
}

.club-page__post-stats {
  display: flex;
  gap: 16px;
  font-size: 0.875rem;
  color: #666;
}

.club-page__post-stat {
  display: flex;
  align-items: center;
  gap: 4px;
}

.club-page__post-stat-icon {
  font-size: 1rem;
}

.club-page__post-interactions {
  display: flex;
  gap: 8px;
}

.club-page__post-button {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  font-weight: 600;
  text-transform: none;
  padding: 6px 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.club-page__post-button:hover {
  background: rgba(25,118,210,0.1);
  background: var(--club-primary-light, rgba(25,118,210,0.1));
  color: #dc004e;
  color: var(--club-secondary-color, #dc004e);
}

/* Empty Posts State */
.club-page__posts-empty {
  text-align: center;
  padding: 64px 32px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 16px;
  border: 2px dashed #e0e0e0;
  margin: 32px 0;
}

.club-page__posts-empty-icon {
  font-size: 4rem;
  color: #ccc;
  margin-bottom: 16px;
}

.club-page__posts-empty-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 8px;
}

.club-page__posts-empty-subtitle {
  color: #888;
  margin-bottom: 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.club-page__posts-empty-action {
  background: linear-gradient(135deg, #1976d2, #dc004e);
  background: linear-gradient(135deg, var(--club-primary-color, #1976d2), var(--club-secondary-color, #dc004e));
  color: white;
  font-weight: 600;
  text-transform: none;
  padding: 12px 24px;
  border-radius: 25px;
  box-shadow: 0 4px 16px rgba(25,118,210,0.25);
  transition: all 0.3s ease;
}

.club-page__posts-empty-action:hover {
  box-shadow: 0 6px 24px rgba(25,118,210,0.35);
  transform: translateY(-2px);
}

/* Loading State */
.club-page__posts-loading {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.club-page__post-skeleton {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid rgba(25,118,210,0.08);
}

.club-page__post-skeleton-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.club-page__post-skeleton-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

.club-page__post-skeleton-text {
  height: 16px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 4px;
}

.club-page__post-skeleton-text:nth-child(1) {
  width: 120px;
}

.club-page__post-skeleton-text:nth-child(2) {
  width: 80px;
  margin-top: 8px;
}

.club-page__post-skeleton-content {
  height: 60px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 16px;
}

@keyframes loading {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Ensure posts take full width and are stacked vertically */
.club-page__posts-section,
.club-page__posts-section > div,
.club-page__posts-container,
.club-page__post-item {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
  box-sizing: border-box !important;
}

/* Override any grid layouts that might constrain posts */
.club-page__posts-section .MuiGrid-item,
.club-page__posts-container .MuiGrid-item,
.club-page__post-item .MuiGrid-item {
  width: 100% !important;
  max-width: 100% !important;
  flex-basis: 100% !important;
}

/* Ensure posts are stacked vertically */
.club-page__posts-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  width: 100% !important;
  align-items: stretch !important;
}

@media (max-width: 480px) {
  .club-page__posts-section {
    padding: 16px;
    margin: 8px;
  }

  .club-page__post-item {
    padding: 12px;
  }

  .club-page__posts-empty {
    padding: 32px 16px;
  }

  .club-page__posts-empty-icon {
    font-size: 3rem;
  }
}

@media (max-width: 840px) {
  .club-page__posts-section {
    max-width: 100%;
    padding: 20px 16px;
    margin: 0 8px;
  }

  .club-page__post-item {
    padding: 16px;
  }
}

/* Additional Layout Classes */
.club-page__flex {
  display: flex;
}

.club-page__flex-col {
  flex-direction: column;
}

.club-page__gap-2 {
  gap: 16px;
}

.club-page__no-content {
  text-align: center;
  padding: 32px;
  color: #666;
  font-style: italic;
}

/* Border utilities */
.club-page__border-bottom-1 {
  border-bottom: 1px solid #e0e0e0;
}

.club-page__border-color-divider {
  border-color: #e0e0e0;
}

/* Toggle group utilities */
.club-page__toggle-button-group {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #1976d2;
  border: 2px solid var(--club-primary-color, #1976d2);
}

.club-page__toggle-button-custom {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  border-color: #1976d2;
  border-color: var(--club-primary-color, #1976d2);
  font-weight: 600;
  text-transform: none;
  transition: all 0.3s ease;
}

.club-page__toggle-button-custom:hover {
  background: rgba(25,118,210,0.1);
  background: var(--club-primary-light, rgba(25,118,210,0.1));
  color: #dc004e;
  color: var(--club-secondary-color, #dc004e);
}

.club-page__toggle-button-custom.Mui-selected {
  background: #1976d2;
  background: var(--club-primary-color, #1976d2);
  color: white;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.club-page__toggle-group-center {
  display: flex;
  justify-content: center;
  margin: 16px 0;
}

.club-page__toggle-group {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #1976d2;
  border: 2px solid var(--club-primary-color, #1976d2);
}

/* Sport tab custom styles */
.club-page__sport-tab-custom {
  min-height: 64px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-transform: none;
  padding: 8px 16px;
  margin: 0 4px;
}

.club-page__sport-tab-custom:hover {
  background-color: #1976d2;
  background-color: var(--club-primary-color, #1976d2);
  color: white;
}

.club-page__sport-tab-custom.Mui-selected {
  background: linear-gradient(135deg, #1976d2, color-mix(in srgb, #1976d2 80%, white 20%));
  background: linear-gradient(135deg, var(--club-primary-color, #1976d2), color-mix(in srgb, var(--club-primary-color, #1976d2) 80%, white 20%));
  color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Group match styles */
.club-page__group-match-count {
  font-size: 0.875rem;
  color: #666;
  font-weight: 500;
}

/* Contact and social styles */
.club-page__contact-grid {
  margin-top: 16px;
}

.club-page__contact-subtitle {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  font-weight: 600;
  margin-bottom: 16px;
}

.club-page__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.club-page__contact-icon-primary {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  font-size: 1.2rem;
}

.club-page__contact-link {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.club-page__contact-link:hover {
  color: #dc004e;
  color: var(--club-secondary-color, #dc004e);
  text-decoration: underline;
}

.club-page__contact-name {
  font-weight: 600;
  color: #333;
}

.club-page__contact-position {
  color: #666;
  font-size: 0.8rem;
}

.club-page__contact-icon--primary {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  font-size: 1.2rem;
}

.club-page__contact-icon--disabled {
  color: #ccc;
  font-size: 1.2rem;
}

.club-page__contact-icon--location {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  font-size: 1.2rem;
}

.club-page__contact-icon--location-disabled {
  color: #ccc;
  font-size: 1.2rem;
}

.club-page__contact-icon-large {
  font-size: 1.5rem;
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
}

.club-page__contact-icon--primary-large {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  font-size: 1.5rem;
}

.club-page__contact-icon--primary-medium {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  font-size: 1.2rem;
}

.club-page__contact-card {
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(25,118,210,0.1);
  background: white;
  box-shadow: 0 2px 12px rgba(25,118,210,0.05);
}

.club-page__contact-card-title {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  font-weight: 600;
  margin-bottom: 16px;
}

.club-page__subtitle-primary {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  font-weight: 600;
  margin-bottom: 16px;
}

.club-page__social-icon {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.club-page__social-icon:hover {
  color: #dc004e;
  color: var(--club-secondary-color, #dc004e);
  transform: scale(1.1);
  border-color: #dc004e;
  border-color: var(--club-secondary-color, #dc004e);
}

.club-page__social-icon--facebook:hover {
  color: #1877f2;
  border-color: #1877f2;
}

.club-page__social-icon--instagram:hover {
  color: #e4405f;
  border-color: #e4405f;
}

.club-page__social-icon--twitter:hover {
  color: #1da1f2;
  border-color: #1da1f2;
}

.club-page__social-icon--youtube:hover {
  color: #ff0000;
  border-color: #ff0000;
}

.club-page__social-icon--linkedin:hover {
  color: #0077b5;
  border-color: #0077b5;
}

.club-page__social-icon--tiktok:hover {
  color: #000000;
  border-color: #000000;
}

.club-page__social-icon--whatsapp:hover {
  color: #25d366;
  border-color: #25d366;
}

/* Info row styles */
.club-page__info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.club-page__info-row:last-child {
  border-bottom: none;
}

.club-page__info-row-label {
  color: #666;
  font-weight: 500;
}

.club-page__info-row-value {
  color: #333;
  font-weight: 600;
}

.club-page__info-row-value-capitalize {
  text-transform: capitalize;
}

/* Admin card styles */
.club-page__admin-card {
  padding: 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 1px solid rgba(25,118,210,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.club-page__admin-card:hover {
  background: rgba(25,118,210,0.1);
  background: var(--club-primary-light, rgba(25,118,210,0.1));
  border-color: #1976d2;
  border-color: var(--club-primary-color, #1976d2);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(25,118,210,0.1);
}

.club-page__admin-avatar {
  width: 40px;
  height: 40px;
  margin-right: 12px;
  border: 2px solid #1976d2;
  border: 2px solid var(--club-primary-color, #1976d2);
  box-shadow: 0 2px 8px rgba(25,118,210,0.2);
}

/* Membership fee styles */
.club-page__membership-fee--annual,
.club-page__membership-fee--monthly {
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Padding utilities */
.club-page__p-3 {
  padding: 24px;
}

.club-page__py-4 {
  padding-top: 32px;
  padding-bottom: 32px;
}

/* Text transform utilities */
.club-page__text-transform-capitalize {
  text-transform: capitalize;
}

/* Spacing Utility Classes */
.club-page__mb-3 {
  margin-bottom: 24px !important;
}

.club-page__mb-2 {
  margin-bottom: 16px !important;
}

.club-page__mb-1 {
  margin-bottom: 8px !important;
}

.club-page__gap-1 {
  gap: 8px;
}

.club-page__gap-2 {
  gap: 16px;
}

/* Flexbox alignment utilities */
.club-page__align-items-center {
  align-items: center;
}

.club-page__justify-content-center {
  justify-content: center;
}

.club-page__justify-content-between {
  justify-content: space-between;
}

.club-page__flex-direction-column {
  flex-direction: column;
}

.club-page__flex-wrap {
  flex-wrap: wrap;
}

.club-page__flex-grow-1 {
  flex-grow: 1;
}

/* Additional Utility Classes */
.club-page__mr-2 {
  margin-right: 16px !important;
}

.club-page__cursor-pointer {
  cursor: pointer;
}

.club-page__transition-all {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Color Utility Classes with High Contrast */
.club-page__color-primary {
  color: #1976d2 !important;
  color: var(--club-primary-color, #1976d2) !important;
}

.club-page__color-secondary {
  color: #dc004e !important;
  color: var(--club-secondary-color, #dc004e) !important;
}

.club-page__color-success {
  color: #2e7d32 !important; /* Darker green for better contrast */
}

.club-page__color-info {
  color: #1565c0 !important; /* Darker blue for better contrast */
}

.club-page__color-warning {
  color: #ef6c00 !important; /* Darker orange for better contrast */
}

.club-page__color-error {
  color: #c62828 !important; /* Darker red for better contrast */
}

/* High contrast text for dynamic club colors */
.club-page__color-primary-contrast {
  color: white !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.club-page__color-secondary-contrast {
  color: white !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Fix stat card text contrast issues */
.club-page__stat-card-green .club-page__color-success,
.club-page__stat-card-green .MuiTypography-h3 {
  color: #1b5e20 !important; /* Very dark green for light green background */
}

.club-page__stat-card-blue .club-page__color-info,
.club-page__stat-card-blue .MuiTypography-h3 {
  color: #0d47a1 !important; /* Very dark blue for light blue background */
}

.club-page__stat-card-orange .club-page__color-warning,
.club-page__stat-card-orange .MuiTypography-h3 {
  color: #e65100 !important; /* Very dark orange for light orange background */
}

.club-page__stat-card-primary .MuiTypography-h3,
.club-page__stat-card-primary .MuiTypography-h6 {
  color: #1976d2 !important;
  color: var(--club-primary-color, #1976d2) !important;
  font-weight: 700 !important;
}

/* Enhanced contrast for card content */
.club-page__stat-card-green [color="text.secondary"],
.club-page__stat-card-blue [color="text.secondary"],
.club-page__stat-card-orange [color="text.secondary"],
.club-page__stat-card-primary [color="text.secondary"] {
  color: #424242 !important; /* Darker gray for better readability */
}

.club-page__stat-card-green [color="text.primary"],
.club-page__stat-card-blue [color="text.primary"],
.club-page__stat-card-orange [color="text.primary"],
.club-page__stat-card-primary [color="text.primary"] {
  color: #212121 !important; /* Very dark gray for maximum contrast */
  font-weight: 600 !important;
}

/* Fix team designation badge contrast */
.club-page__team-designation-badge {
  background: #1976d2;
  background: var(--club-primary-color, #1976d2);
  color: white !important;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 8px;
  min-width: 24px;
  text-align: center;
  box-shadow: 0 2px 4px color-mix(in srgb, #1976d2 20%, transparent 80%);
  box-shadow: 0 2px 4px color-mix(in srgb, var(--club-primary-color, #1976d2) 20%, transparent 80%);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Fix team count badge contrast */
.club-page__team-count-badge {
  background: #dc004e;
  background: var(--club-secondary-color, #dc004e);
  color: white !important;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 12px;
  margin-left: 8px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Dynamic color contrast fixes for club themes */
.club-themed-page .club-page__team-name-text {
  color: #1976d2 !important;
  color: var(--club-primary-color, #1976d2) !important;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8); /* White text shadow for dark club colors */
}

.club-themed-page .club-page__age-group-title {
  color: #1976d2 !important;
  color: var(--club-primary-color, #1976d2) !important;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

/* Ensure readability on light gradient backgrounds */
.club-page__team-info-paper-enhanced .MuiTypography-root[color="text.secondary"] {
  color: #616161 !important; /* Darker secondary text */
}

.club-page__age-group-header .MuiTypography-root[color="text.secondary"] {
  color: #616161 !important;
}

/* Override Material-UI theme colors for better contrast */
.club-page .MuiTypography-root[color="text.secondary"] {
  color: #666666 !important; /* Darker than default Material-UI secondary text */
}

.club-page .MuiTypography-root[color="text.primary"] {
  color: #212121 !important; /* Darker primary text */
}

/* Gender card text contrast */
.club-page__gender-card-interactive .MuiTypography-h5 {
  color: #1976d2 !important;
  color: var(--club-primary-color, #1976d2) !important;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.club-page__gender-card-interactive .club-page__color-primary {
  color: #1976d2 !important;
  color: var(--club-primary-color, #1976d2) !important;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

/* Missing Typography Utility Classes */
.club-page__font-weight-bold {
  font-weight: 700 !important;
}

.club-page__font-weight-600 {
  font-weight: 600 !important;
}

.club-page__font-weight-500 {
  font-weight: 500 !important;
}

.club-page__section-title {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  font-weight: 600;
  display: flex;
  align-items: center;
}

.club-page__text-center {
  text-align: center !important;
}

.club-page__font-style-italic {
  font-style: italic !important;
}

/* Additional Spacing Classes */
.club-page__mt-1 {
  margin-top: 8px !important;
}

.club-page__mt-2 {
  margin-top: 16px !important;
}

.club-page__py-4 {
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}

.club-page__p-2 {
  padding: 16px !important;
}

/* Layout Classes */
.club-page__flex {
  display: flex;
}

.club-page__height-100 {
  height: 100%;
}

/* Font Size Utilities */
.club-page__font-size-2rem {
  font-size: 2rem !important;
}

.club-page__font-size-3rem {
  font-size: 3rem !important;
}

/* Post Enhanced Component Styles */

.post-enhanced {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-1);
  margin-bottom: 16px;
  overflow: hidden;
}

.post-enhanced__header {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.post-enhanced__content {
  padding: 16px;
}

.post-enhanced__media {
  position: relative;
  overflow: hidden;
}

.post-enhanced__media-image {
  width: 100%;
  height: auto;
  display: block;
}

.post-enhanced__media-video {
  width: 100%;
  height: auto;
  display: block;
}

.post-enhanced__actions {
  padding: 12px 16px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-enhanced__action-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  color: var(--text-secondary);
}

.post-enhanced__action-button:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.post-enhanced__action-button--active {
  color: var(--primary-main);
}

.post-enhanced__comments {
  border-top: 1px solid #f0f0f0;
  padding: 16px;
}

.post-enhanced__comment-count {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.post-enhanced__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.post-enhanced__overlay:hover {
  opacity: 1;
}

.post-enhanced__overlay-text {
  color: white;
  font-size: 1.2rem;
  font-weight: 500;
}

/* Reaction colors */
.post-enhanced__reaction--like {
  color: #4267b2;
}

.post-enhanced__reaction--love {
  color: #f63459;
}

.post-enhanced__reaction--haha,
.post-enhanced__reaction--sad,
.post-enhanced__reaction--wow {
  color: #f7b125;
}

.post-enhanced__reaction--angry {
  color: #e4605a;
}

/* AdminDashboard Component Styles */

.admin-dashboard__color-input {
  width: 60px;
  height: 40px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* Team Stats Component Styles */

.team-stats {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
}

.team-stats__title {
  font-weight: 700;
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  margin-bottom: 8px;
}

.team-stats__stat-card {
  height: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.team-stats__stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.team-stats__stat-card--primary {
  background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
  color: white;
}

.team-stats__stat-card--success {
  background: linear-gradient(135deg, #2e7d32 0%, #66bb6a 100%);
  color: white;
}

.team-stats__stat-card--info {
  background: linear-gradient(135deg, #0288d1 0%, #29b6f6 100%);
  color: white;
}

.team-stats__stat-card--warning {
  background: linear-gradient(135deg, #f57c00 0%, #ffb74d 100%);
  color: white;
}

.team-stats__stat-card--error {
  background: linear-gradient(135deg, #d32f2f 0%, #f44336 100%);
  color: white;
}

.team-stats__stat-value {
  font-weight: 800;
  font-size: 2.5rem;
  margin: 8px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.team-stats__paper {
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
}

.team-stats__section-title {
  font-weight: 700;
  margin-bottom: 16px;
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-stats__home-away-card {
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f5f5f5 0%, #e3f2fd 100%);
  border: 1px solid rgba(25, 118, 210, 0.12);
  transition: all 0.3s;
}

.team-stats__home-away-card:hover {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  transform: translateY(-2px);
}

/* Win Percentage Progress Bar */
.team-stats__progress-container {
  margin: 16px 0;
}

.team-stats__progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

/* Performance Cards */
.team-stats__performance-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.team-stats__performance-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.team-stats__metric-value {
  font-size: 2rem;
  font-weight: 700;
  margin: 8px 0;
  line-height: 1.2;
}

.team-stats__metric-label {
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.team-stats__comparison-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.team-stats__comparison-item {
  text-align: center;
  flex: 1 1;
}

.team-stats__vs-separator {
  margin: 0 16px;
  color: rgba(0, 0, 0, 0.4);
  font-weight: 600;
}

/* Form visualization */
.team-stats__form-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
  justify-content: center;
}

.team-stats__form-chip {
  min-width: 40px;
  height: 32px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.team-stats__form-chip:hover {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .team-stats {
    padding: 16px 8px;
  }
  
  .team-stats__stat-value {
    font-size: 2rem;
  }
  
  .team-stats__metric-value {
    font-size: 1.5rem;
  }
  
  .team-stats__comparison-container {
    flex-direction: column;
    gap: 16px;
  }
  
  .team-stats__vs-separator {
    margin: 8px 0;
  }
}

/* Table enhancements */
.team-stats__table-container {
  max-height: 400px;
  overflow-y: auto;
}

.team-stats__table-row:hover {
  background-color: rgba(25, 118, 210, 0.04);
}

.team-stats__player-avatar {
  width: 32px;
  height: 32px;
  margin-right: 8px;
  font-size: 0.875rem;
  font-weight: 600;
}

.team-stats__player-name {
  font-weight: 500;
  color: rgba(0, 0, 0, 0.87);
}

.team-stats__stat-positive {
  color: #2e7d32;
  font-weight: 600;
}

.team-stats__stat-negative {
  color: #d32f2f;
  font-weight: 600;
}

.team-stats__stat-neutral {
  color: rgba(0, 0, 0, 0.6);
  font-weight: 500;
}

/* Loading and error states */
.team-stats__loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  flex-direction: column;
  gap: 16px;
}

.team-stats__error {
  margin: 16px 0;
  border-radius: 8px;
}

.team-stats__empty-state {
  text-align: center;
  padding: 40px 20px;
  color: rgba(0, 0, 0, 0.6);
}

.team-stats__empty-state-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .team-stats__performance-card {
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  .team-stats__metric-label {
    color: rgba(255, 255, 255, 0.7);
  }
  
  .team-stats__comparison-container {
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  .team-stats__vs-separator {
    color: rgba(255, 255, 255, 0.5);
  }
}

/* Table Styles */
.team-stats .MuiTableContainer-root {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.team-stats .MuiTableHead-root {
  background: #1976d2;
  background: var(--club-primary-color, #1976d2);
}

.team-stats .MuiTableHead-root .MuiTableCell-root {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

.team-stats .MuiTableRow-root:nth-of-type(even) {
  background-color: #f8fafc;
}

.team-stats .MuiTableRow-root:hover {
  background-color: #e3f2fd;
}

/* Chip Enhancements */
.team-stats .MuiChip-root {
  font-weight: 600;
  border-radius: 12px;
}

.team-stats .MuiChip-colorSuccess {
  background-color: #2e7d32;
  color: white;
}

.team-stats .MuiChip-colorError {
  background-color: #d32f2f;
  color: white;
}

.team-stats .MuiChip-colorWarning {
  background-color: #f57c00;
  color: white;
}

/* Avatar Styles */
.team-stats .MuiAvatar-root {
  background: #1976d2;
  background: var(--club-primary-color, #1976d2);
  font-weight: 600;
  font-size: 0.875rem;
}

/* Tab Styles */
.team-stats .MuiTabs-root {
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 24px;
}

.team-stats .MuiTab-root {
  font-weight: 600;
  text-transform: none;
  font-size: 1rem;
  min-height: 48px;
}

.team-stats .MuiTab-root.Mui-selected {
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
}

.team-stats .MuiTabs-indicator {
  background-color: #1976d2;
  background-color: var(--club-primary-color, #1976d2);
  height: 3px;
  border-radius: 2px;
}

/* Alert Styles */
.team-stats .MuiAlert-root {
  border-radius: 12px;
  font-weight: 500;
}

/* Loading State */
.team-stats__loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .team-stats {
    padding: 16px 8px;
  }
  
  .team-stats__stat-value {
    font-size: 2rem;
  }
  
  .team-stats__paper {
    padding: 16px;
    margin-bottom: 16px;
  }
  
  .team-stats .MuiTableContainer-root {
    font-size: 0.75rem;
  }
}

/* Performance Indicators */
.team-stats__performance-indicator {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

.team-stats__performance-indicator--positive {
  background-color: #e8f5e8;
  color: #2e7d32;
}

.team-stats__performance-indicator--negative {
  background-color: #ffebee;
  color: #d32f2f;
}

.team-stats__performance-indicator--neutral {
  background-color: #fff3e0;
  color: #f57c00;
}

/* Form Display */
.team-stats__form-display {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.team-stats__form-chip {
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.75rem;
}

/* Top Scorers Table */
.team-stats__top-scorers-table .MuiTableCell-root {
  padding: 12px 16px;
}

.team-stats__top-scorers-table .MuiTableRow-root:first-of-type {
  background: linear-gradient(90deg, #fff3e0 0%, transparent 100%);
}

.team-stats__top-scorers-table .MuiTableRow-root:nth-of-type(2) {
  background: linear-gradient(90deg, #f3e5f5 0%, transparent 100%);
}

.team-stats__top-scorers-table .MuiTableRow-root:nth-of-type(3) {
  background: linear-gradient(90deg, #fff8e1 0%, transparent 100%);
}

/* Gradient Text */
.team-stats__gradient-text {
  background: linear-gradient(135deg, #1976d2 0%, #dc004e 100%);
  background: linear-gradient(135deg, var(--club-primary-color, #1976d2) 0%, var(--club-secondary-color, #dc004e) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Animation for stats cards */
@keyframes statsCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-stats__stat-card {
  animation: statsCardFadeIn 0.5s ease-out;
}

.team-stats__stat-card:nth-child(1) { animation-delay: 0.1s; }
.team-stats__stat-card:nth-child(2) { animation-delay: 0.2s; }
.team-stats__stat-card:nth-child(3) { animation-delay: 0.3s; }
.team-stats__stat-card:nth-child(4) { animation-delay: 0.4s; }

/* Rugby Player Stats Styles */
.team-stats__rugby-stats {
  padding: 16px;
}

.team-stats__subsection-title {
  font-weight: 600;
  color: #1976d2;
  color: var(--club-primary-color, #1976d2);
  margin-bottom: 16px;
  padding: 16px 24px 0;
}

.team-stats__stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 16px;
  gap: 16px;
  padding: 16px 24px 24px;
}

.team-stats__stat-item {
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  text-align: center;
}

.team-stats__stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-color: #1976d2;
  border-color: var(--club-primary-color, #1976d2);
}

.team-stats__stat-item .MuiTypography-h6 {
  font-weight: 700;
  margin: 8px 0;
}

.team-stats__stat-item .MuiTypography-body1 {
  margin-bottom: 4px;
}

.team-stats__stat-item .MuiTypography-body2 {
  margin-top: 4px;
}

/* Responsive adjustments for rugby stats */
@media (max-width: 768px) {
  .team-stats__stat-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 16px 16px;
  }
  
  .team-stats__subsection-title {
    padding: 12px 16px 0;
    font-size: 1.1rem;
  }
}

/* Sport Specific Stats Component Styles */

.sport-specific-stats {
  padding: 24px;
  background: #f8f9fa;
  min-height: 100vh;
}

.sport-stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  color: white;
}

.sport-stats-title-section {
  flex: 1 1;
}

.sport-stats-title {
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
}

.sport-stats-subtitle {
  opacity: 0.9;
  color: white;
}

.sport-stats-refresh-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.sport-stats-refresh-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Performance Summary */
.sport-performance-summary {
  padding: 24px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sport-performance-title {
  margin-bottom: 16px;
  font-weight: 600;
  color: #2c3e50;
}

.sport-performance-metric {
  text-align: center;
  padding: 16px;
  border-radius: 8px;
  background: #f8f9fa;
}

.sport-win-percentage {
  margin-top: 20px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
}

.sport-win-percentage-bar {
  height: 8px;
  border-radius: 4px;
  margin-top: 8px;
}

/* Tabs */
.sport-stats-tabs {
  background: white;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sport-stats-tab {
  font-weight: 600;
  text-transform: none;
  min-height: 48px;
}

.sport-stats-tab-content {
  background: white;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sport-stats-tab-panel {
  padding: 24px;
}

/* Stat Categories */
.sport-stat-category {
  margin-bottom: 32px;
}

.sport-stat-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e3f2fd;
}

.sport-stat-category-title {
  font-weight: 600;
  color: #1976d2;
}

.sport-stat-category-grid {
  margin-top: 16px;
}

/* Stat Cards */
.sport-stat-card {
  height: 120px;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.sport-stat-card.has-value {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  border-color: #4caf50;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.2);
}

.sport-stat-card.no-value {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  opacity: 0.7;
}

.sport-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.sport-stat-card-content {
  padding: 16px !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sport-stat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.sport-stat-icon {
  width: 40px !important;
  height: 40px !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  font-size: 18px;
  flex-shrink: 0;
}

.sport-stat-info {
  flex: 1 1;
  min-width: 0;
}

.sport-stat-value {
  font-weight: 700 !important;
  color: #2c3e50 !important;
  line-height: 1.2 !important;
  margin-bottom: 4px !important;
  font-size: 1.5rem !important;
}

.sport-stat-title {
  color: #546e7a !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  line-height: 1.2 !important;
}

.sport-stat-description {
  color: #78909c !important;
  font-style: italic !important;
  margin-top: 4px !important;
}

/* Loading and Error States */
.sport-stats-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sport-stats-error {
  margin-bottom: 24px;
  border-radius: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .sport-specific-stats {
    padding: 16px;
  }
  
  .sport-stats-header {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .sport-stats-refresh-btn {
    width: 100%;
  }
  
  .sport-performance-summary {
    padding: 16px;
  }
  
  .sport-stats-tab-panel {
    padding: 16px;
  }
  
  .sport-stat-category-header {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .sport-stat-card {
    height: 100px;
  }
  
  .sport-stat-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 16px;
  }
  
  .sport-stat-value {
    font-size: 1.25rem !important;
  }
  
  .sport-stat-title {
    font-size: 0.75rem !important;
  }
}

/* Animation for value changes */
.sport-stat-value {
  transition: all 0.3s ease;
}

.sport-stat-card.has-value .sport-stat-value {
  animation: valueHighlight 0.6s ease-in-out;
}

@keyframes valueHighlight {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Custom scrollbar for tabs */
.sport-stats-tabs .MuiTabs-scrollButtons {
  color: #1976d2;
}

.sport-stats-tabs .MuiTabs-indicator {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  height: 3px;
}

/* Enhanced visual hierarchy */
.sport-stat-category:last-child {
  margin-bottom: 0;
}

.sport-performance-metric h4 {
  margin-bottom: 4px;
}

.sport-performance-metric .MuiTypography-body2 {
  font-weight: 500;
  color: #546e7a;
}

/* ImageCropper Component Styles */

.image-cropper-dialog .MuiDialog-paper {
  border-radius: 16px;
  overflow: hidden;
}

.image-cropper-container {
  position: relative;
  width: 100%;
  height: 400px;
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
}

.image-cropper-slider-container {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 0 16px;
}

.image-cropper-zoom-button {
  background-color: rgba(12, 189, 99, 0.1);
  color: #0CBD63;
  transition: all 0.2s ease;
}

.image-cropper-zoom-button:hover {
  background-color: rgba(12, 189, 99, 0.2);
  transform: scale(1.05);
}

.image-cropper-slider {
  flex: 1 1;
  height: 4px;
  background-color: #ced0d4;
  border-radius: 2px;
  outline: none;
  border: none;
  -webkit-appearance: none;
  appearance: none;
}

.image-cropper-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #0CBD63;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.image-cropper-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.image-cropper-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #0CBD63;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.image-cropper-slider::-moz-range-thumb:hover {
  transform: scale(1.1);
}

.image-cropper-action-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  padding: 0 16px;
}

.image-cropper-crop-button {
  background-color: rgba(108, 117, 125, 0.1);
  color: #6c757d;
  border: 1px solid rgba(108, 117, 125, 0.3);
  transition: all 0.2s ease;
}

.image-cropper-crop-button:hover {
  background-color: rgba(108, 117, 125, 0.2);
  border-color: #6c757d;
}

.image-cropper-public-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6c757d;
  font-size: 0.875rem;
}

.image-cropper-save-button {
  background-color: #0CBD63;
  color: white;
  border: none;
  transition: all 0.2s ease;
}

.image-cropper-save-button:hover {
  background-color: #0ba355;
  transform: translateY(-1px);
}

.image-cropper-save-button:disabled {
  background-color: #cccccc;
  color: #666666;
  transform: none;
}

.image-cropper-cancel-button {
  border: 1px solid #dee2e6;
  color: #6c757d;
  transition: all 0.2s ease;
}

.image-cropper-cancel-button:hover {
  border-color: #adb5bd;
  color: #495057;
}

/* Loading state */
.image-cropper-loading .image-cropper-container {
  opacity: 0.7;
}

.image-cropper-loading .image-cropper-slider,
.image-cropper-loading .image-cropper-zoom-button {
  pointer-events: none;
  opacity: 0.5;
}

/* Responsive design */
@media (max-width: 768px) {
  .image-cropper-container {
    height: 300px;
  }
  
  .image-cropper-slider-container {
    padding: 0 12px;
    gap: 12px;
  }
  
  .image-cropper-action-bar {
    flex-direction: column;
    gap: 12px;
    padding: 0 12px;
  }
  
  .image-cropper-public-notice {
    order: -1;
  }
}

@media (max-width: 480px) {
  .image-cropper-container {
    height: 250px;
  }
  
  .image-cropper-dialog .MuiDialog-paper {
    margin: 16px;
    width: calc(100% - 32px);
  }
}

/* Focus states for accessibility */
.image-cropper-slider:focus {
  outline: 2px solid #0CBD63;
  outline-offset: 2px;
}

.image-cropper-zoom-button:focus {
  outline: 2px solid #0CBD63;
  outline-offset: 2px;
}

/* Animation for smooth transitions */
.image-cropper-container .reactEasyCrop_Container {
  transition: opacity 0.2s ease;
}

.image-cropper-loading .reactEasyCrop_Container {
  opacity: 0.5;
}

/* Tournament Page Styles */

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

.tournament-page__header {
  margin-bottom: 24px;
}

.tournament-page__title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.tournament-page__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tournament-page__media {
  max-width: 200px;
  max-height: 200px;
  border-radius: 8px;
  overflow: hidden;
}

.tournament-page__content {
  display: grid;
  grid-template-columns: 1fr 300px;
  grid-gap: 24px;
  gap: 24px;
}

.tournament-page__main {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-1);
}

.tournament-page__sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Styled components converted to CSS */

/* Cover section */
.tournament-page__cover {
  position: relative;
  height: 300px;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(25, 118, 210, 0.1);
  box-shadow: 0 8px 32px rgba(25, 118, 210, 0.15);
}

/* Tabs section */
.tournament-page__tabs {
  margin-bottom: 24px;
}

.tournament-page__tabs .MuiTab-root {
  text-transform: none;
  font-weight: 600;
  font-size: 1rem;
  min-height: 60px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tournament-page__tabs .MuiTab-root:hover {
  color: #1976d2;
  transform: translateY(-2px);
}

.tournament-page__tabs .MuiTab-root.Mui-selected {
  color: #1976d2;
  font-weight: 700;
}

.tournament-page__tabs .MuiTabs-indicator {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(45deg, #1976d2, #1565c0);
}

/* Info paper */
.tournament-page__info-paper {
  margin-bottom: 16px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(25, 118, 210, 0.1);
  box-shadow: 0 4px 20px rgba(25, 118, 210, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tournament-page__info-paper:hover {
  box-shadow: 0 8px 24px rgba(25, 118, 210, 0.1);
  transform: translateY(-2px);
}

/* Tabs paper */
.tournament-page__tabs-paper {
  margin-bottom: 16px;
  border-radius: 16px;
  border: 1px solid rgba(25, 118, 210, 0.1);
  box-shadow: 0 4px 20px rgba(25, 118, 210, 0.05);
  overflow: hidden;
}

/* Content paper */
.tournament-page__content-paper {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(25, 118, 210, 0.1);
  box-shadow: 0 4px 20px rgba(25, 118, 210, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tournament-page__content-paper:hover {
  box-shadow: 0 8px 24px rgba(25, 118, 210, 0.1);
  transform: translateY(-2px);
}

/* Cover gradient overlay */
.tournament-page__cover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: 24px;
  color: white;
}

/* Cover placeholder */
.tournament-page__cover-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tournament avatar */
.tournament-page__avatar {
  width: 80px;
  height: 80px;
  border: 3px solid white;
  background-color: #1976d2;
}

/* Tournament description */
.tournament-page__description {
  opacity: 0.9;
}

/* White buttons for overlay */
.tournament-page__white-button {
  color: white !important;
  border-color: white !important;
}

/* Primary color text */
.tournament-page__primary-text {
  color: #1976d2;
  font-weight: bold;
}

/* Primary color icon */
.tournament-page__primary-icon {
  color: #1976d2;
  margin-right: 8px;
}

/* Location and date info */
.tournament-page__info-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.tournament-page__info-item svg {
  margin-right: 8px;
  font-size: 16px;
}

/* Match card hover effects */
.tournament-page__match-card {
  border: 1px solid rgba(25, 118, 210, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.tournament-page__match-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(25, 118, 210, 0.15);
  border-color: rgba(25, 118, 210, 0.3);
}

.tournament-page__info-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow-1);
}

@media (max-width: 768px) {
  .tournament-page__content {
    grid-template-columns: 1fr;
  }
  
  .tournament-page__sidebar {
    order: -1;
  }
}

.tournament-error-alert {
  margin-top: 32px;
}
.tournament-error-btn {
  margin-top: 16px;
}
.tournament-container-padding {
  padding-top: 64px !important;
}

/* Search Page Styles */
.search-page {
  min-height: calc(100vh - 64px);
  background-color: var(--bg-primary);
}

.search-result-card {
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.search-result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
}

.search-result-avatar {
  width: 48px;
  height: 48px;
}

.search-result-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.search-result-info {
  flex: 1 1;
  min-width: 0;
}

.search-result-title {
  font-weight: 600;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-subtitle {
  color: var(--text-secondary);
  font-size: 0.875rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-tabs {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.search-empty-state {
  text-align: center;
  padding: 48px 16px;
  color: var(--text-secondary);
}

.search-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px;
}

.search-error {
  margin: 16px 0;
}

.search-input {
  margin-bottom: 16px;
}

.search-field {
  background-color: var(--bg-secondary);
  border-radius: 8px;
}

.search-field .MuiOutlinedInput-root {
  background-color: var(--bg-secondary);
}

.search-field .MuiOutlinedInput-notchedOutline {
  border-color: var(--border-color);
}

.search-field:hover .MuiOutlinedInput-notchedOutline {
  border-color: var(--color-primary);
}

.search-field.Mui-focused .MuiOutlinedInput-notchedOutline {
  border-color: var(--color-primary);
  border-width: 2px;
}

.search-chip {
  margin-top: 8px;
  margin-right: 8px;
}

.search-type-chip {
  font-size: 0.75rem;
  height: 20px;
}

@media (max-width: 768px) {
  .search-result-title {
    font-size: 1rem;
  }
  
  .search-result-subtitle {
    font-size: 0.75rem;
  }
  
  .search-result-avatar {
    width: 40px;
    height: 40px;
  }
}

/* ArticlePage Styles */

.article-page__author-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.article-page__edit-button {
  padding: 6px 16px !important;
  border-radius: 20px !important;
  text-transform: none !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  min-width: auto !important;
  background-color: rgba(25, 118, 210, 0.08) !important;
  color: #1976d2 !important;
  border: 1px solid rgba(25, 118, 210, 0.2) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.article-page__edit-button:hover {
  background-color: rgba(25, 118, 210, 0.12) !important;
  border-color: rgba(25, 118, 210, 0.3) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(25, 118, 210, 0.2) !important;
}

.article-page__delete-button {
  padding: 6px 16px !important;
  border-radius: 20px !important;
  text-transform: none !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  min-width: auto !important;
  background-color: rgba(211, 47, 47, 0.08) !important;
  color: #d32f2f !important;
  border: 1px solid rgba(211, 47, 47, 0.2) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.article-page__delete-button:hover {
  background-color: rgba(211, 47, 47, 0.12) !important;
  border-color: rgba(211, 47, 47, 0.3) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(211, 47, 47, 0.2) !important;
}

.article-page__delete-dialog {
  border-radius: 16px !important;
}

.article-page__delete-dialog-title {
  background: linear-gradient(135deg, #ffebee 0%, #fce4ec 100%);
  border-bottom: 1px solid rgba(211, 47, 47, 0.1);
  color: #d32f2f !important;
  font-weight: 600 !important;
}

.article-page__delete-dialog-content {
  padding: 24px !important;
}

.article-page__delete-dialog-actions {
  padding: 16px 24px !important;
  background: #fafafa;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.article-page__delete-confirm-button {
  background-color: #d32f2f !important;
  color: white !important;
  border-radius: 8px !important;
  text-transform: none !important;
  font-weight: 600 !important;
  padding: 10px 24px !important;
}

.article-page__delete-confirm-button:hover {
  background-color: #b71c1c !important;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3) !important;
}

.article-page__delete-cancel-button {
  border-radius: 8px !important;
  text-transform: none !important;
  font-weight: 600 !important;
  padding: 10px 24px !important;
  color: #666666 !important;
}

.article-page__delete-cancel-button:hover {
  background-color: rgba(0, 0, 0, 0.04) !important;
}

/* Loading states */
.article-page__loading-button {
  opacity: 0.7;
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .article-page__author-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .article-page__edit-button,
  .article-page__delete-button {
    width: 100%;
    justify-content: center;
  }
  
  .article-page__delete-dialog-content {
    padding: 16px !important;
  }
  
  .article-page__delete-dialog-actions {
    padding: 12px 16px !important;
    flex-direction: column;
    gap: 8px;
  }
  
  .article-page__delete-confirm-button,
  .article-page__delete-cancel-button {
    width: 100%;
  }
}

/* SuperAdminTest Component Styles */

.super-admin-test__response-pre {
  background: #f5f5f5;
  padding: 16px;
  border-radius: 4px;
}

/* App Component Styles */

.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.app-main-content {
  flex-grow: 1;
  padding-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
}

/* Dark theme styles are handled by MUI theme provider */

/* Global app styles */
.app-root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ensure proper layout for Material-UI components */
.MuiCssBaseline-root {
  height: 100%;
}

/* Custom scrollbar styles moved to index.css to avoid duplication */

