/* Cricket Academy Frontend Styles - Enhanced Version */

.cricket-academy-frontend {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Dashboard Styles */
.cricket-dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cricket-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
}

.cricket-dashboard-header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.cricket-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cricket-role-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.cricket-role-badge.admin {
    background: rgba(255, 255, 255, 0.2);
}

.cricket-role-badge.coach {
    background: rgba(255, 193, 7, 0.3);
}

.cricket-role-badge.player {
    background: rgba(40, 167, 69, 0.3);
}

.cricket-user-name {
    font-weight: 600;
}

/* Stats Grid */
.cricket-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.cricket-stat-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cricket-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.cricket-stat-card.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cricket-stat-card.success {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    color: white;
}

.cricket-stat-card.warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.cricket-stat-card.info {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.cricket-stat-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    opacity: 0.3;
}

.cricket-stat-content h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
}

.cricket-stat-number {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    margin: 0;
}

/* Dashboard Widgets */
.cricket-dashboard-widgets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.cricket-widget {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cricket-widget h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 10px;
}

/* Quick Actions */
.cricket-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.cricket-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    color: white;
}

.cricket-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
}

.cricket-action-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cricket-action-btn.success {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
}

.cricket-action-btn.warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.cricket-action-btn.info {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.cricket-action-btn.secondary {
    background: linear-gradient(135deg, #bdc3c7 0%, #2c3e50 100%);
}

.cricket-btn-icon {
    font-size: 18px;
}

/* Activity Feed */
.cricket-activity-feed {
    max-height: 300px;
    overflow-y: auto;
}

.cricket-activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #ecf0f1;
}

.cricket-activity-item:last-child {
    border-bottom: none;
}

.cricket-activity-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.cricket-activity-icon.present {
    background: #d4edda;
}

.cricket-activity-icon.late {
    background: #fff3cd;
}

.cricket-activity-icon.absent {
    background: #f8d7da;
}

.cricket-activity-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cricket-activity-player {
    font-weight: 600;
    color: #2c3e50;
}

.cricket-activity-action {
    font-size: 12px;
    color: #6c757d;
}

.cricket-activity-date {
    font-size: 11px;
    color: #adb5bd;
}

/* Chart Container */
.cricket-chart-container {
    position: relative;
    height: 300px;
    margin-top: 20px;
}

/* Player Search Styles */
.cricket-player-search-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.cricket-search-header {
    text-align: center;
    margin-bottom: 30px;
}

.cricket-search-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
}

.cricket-search-form {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.cricket-search-input-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.cricket-search-input-group input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.cricket-search-input-group input:focus {
    outline: none;
    border-color: #667eea;
}

.cricket-search-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    align-items: end;
}

.cricket-filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cricket-filter-group label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.cricket-filter-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

/* Search Results */
.cricket-search-results {
    min-height: 200px;
}

.cricket-search-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.cricket-placeholder-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.cricket-players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.cricket-player-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.cricket-player-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cricket-player-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.cricket-player-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.cricket-player-info {
    flex: 1;
}

.cricket-player-name {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.cricket-player-id {
    font-size: 12px;
    color: #6c757d;
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 12px;
}

.cricket-player-details {
    margin-bottom: 15px;
}

.cricket-detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.cricket-detail-label {
    font-weight: 600;
    color: #495057;
}

.cricket-detail-value {
    color: #6c757d;
}

.cricket-player-actions {
    text-align: center;
}

/* Export Options */
.cricket-export-options {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.cricket-export-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Button Styles */
.cricket-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: white;
}

.cricket-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
}

.cricket-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cricket-btn.success {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
}

.cricket-btn.danger {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
}

.cricket-btn.warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.cricket-btn.info {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.cricket-btn.secondary {
    background: linear-gradient(135deg, #bdc3c7 0%, #2c3e50 100%);
}

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

.cricket-btn.large {
    padding: 15px 30px;
    font-size: 16px;
}

/* Modal Styles */
.cricket-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.cricket-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.cricket-modal-content.large {
    max-width: 900px;
}

.cricket-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
    transition: color 0.3s ease;
}

.cricket-modal-close:hover {
    color: #000;
}

/* Form Styles */
.cricket-form {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cricket-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.cricket-form-header h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

.cricket-form-section {
    margin-bottom: 30px;
}

.cricket-form-section h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.cricket-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.cricket-form-group {
    margin-bottom: 20px;
}

.cricket-form-group.full-width {
    grid-column: 1 / -1;
}

.cricket-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.cricket-form-group input,
.cricket-form-group select,
.cricket-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
}

.cricket-form-group input:focus,
.cricket-form-group select:focus,
.cricket-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.cricket-form-group.error input,
.cricket-form-group.error select,
.cricket-form-group.error textarea {
    border-color: #dc3545;
}

.cricket-field-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

.cricket-form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* Attendance Styles */
.cricket-attendance-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cricket-attendance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    border-radius: 12px;
    color: white;
}

.cricket-attendance-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.cricket-current-date {
    font-size: 14px;
    opacity: 0.9;
}

.cricket-attendance-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.cricket-quick-search {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.cricket-quick-search input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 15px;
}

.cricket-search-results {
    max-height: 200px;
    overflow-y: auto;
}

.cricket-search-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cricket-search-result-item:hover {
    background-color: #f8f9fa;
}

.cricket-attendance-summary {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.cricket-summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.cricket-stat-item {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
}

.cricket-stat-item.present {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.cricket-stat-item.late {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
}

.cricket-stat-item.absent {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

.cricket-stat-item.total {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
}

.cricket-stat-number {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.cricket-stat-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.cricket-bulk-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.cricket-players-attendance {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.cricket-attendance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.cricket-player-attendance-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.cricket-player-attendance-card.highlight {
    border-color: #667eea;
    background: #e3f2fd;
}

.cricket-player-attendance-card .cricket-player-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.cricket-player-attendance-card .cricket-player-details h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.cricket-player-attendance-card .cricket-player-id,
.cricket-player-attendance-card .cricket-player-role {
    font-size: 12px;
    color: #6c757d;
    margin-right: 10px;
}

.cricket-attendance-options {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.cricket-attendance-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
}

.cricket-attendance-label.present {
    background: #d4edda;
    color: #155724;
}

.cricket-attendance-label.late {
    background: #fff3cd;
    color: #856404;
}

.cricket-attendance-label.absent {
    background: #f8d7da;
    color: #721c24;
}

.cricket-attendance-label:hover {
    transform: scale(1.05);
}

.cricket-attendance-label input[type="radio"] {
    width: auto;
    margin: 0;
}

.cricket-punctuality-section,
.cricket-notes-section {
    margin-top: 10px;
}

.cricket-punctuality-input,
.cricket-notes-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 12px;
}

.cricket-notes-input {
    resize: vertical;
    min-height: 60px;
}

.cricket-save-section {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cricket-holiday-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.cricket-holiday-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
}

/* Net Session Styles */
.cricket-net-session-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cricket-session-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 12px;
    color: white;
}

.cricket-session-actions {
    display: flex;
    gap: 15px;
}

.cricket-active-session {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.cricket-session-info h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

.cricket-session-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.cricket-session-meta span {
    padding: 4px 12px;
    background: #e9ecef;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
}

.cricket-session-players h4,
.cricket-performance-tracking h4 {
    margin: 20px 0 15px 0;
    font-size: 18px;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
}

.cricket-session-players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.cricket-session-player-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cricket-session-player-card .cricket-player-info {
    flex: 1;
}

.cricket-session-player-card .cricket-player-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.cricket-session-player-card .cricket-player-role {
    font-size: 12px;
    color: #6c757d;
}

.cricket-player-selection {
    margin-top: 20px;
}

.cricket-player-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.cricket-player-filters button {
    padding: 6px 12px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cricket-player-filters button.active,
.cricket-player-filters button:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.cricket-available-players {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
}

.cricket-player-select-card {
    margin-bottom: 10px;
}

.cricket-player-checkbox {
    display: none;
}

.cricket-player-label {
    display: block;
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cricket-player-checkbox:checked + .cricket-player-label {
    border-color: #667eea;
    background: #e3f2fd;
}

.cricket-player-label .cricket-player-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cricket-player-label .cricket-player-name {
    font-weight: 600;
    color: #2c3e50;
}

.cricket-player-label .cricket-player-role {
    font-size: 12px;
    color: #6c757d;
}

/* Performance Tracking */
.cricket-performance-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.cricket-tab-btn {
    padding: 10px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    color: #6c757d;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.cricket-tab-btn.active,
.cricket-tab-btn:hover {
    color: #667eea;
    border-bottom-color: #667eea;
}

.cricket-performance-tab {
    display: none;
}

.cricket-performance-tab.active {
    display: block;
}

.cricket-performance-content h4 {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
    color: #495057;
}

/* Player Detail Modal */
.cricket-player-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.cricket-player-detail-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

.cricket-player-id-badge {
    padding: 6px 12px;
    background: #667eea;
    color: white;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.cricket-player-detail-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.cricket-tab-content {
    min-height: 300px;
}

.cricket-tab-panel {
    display: none;
}

.cricket-tab-panel.active {
    display: block;
}

.cricket-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.cricket-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cricket-info-item.full-width {
    grid-column: 1 / -1;
}

.cricket-info-item label {
    font-weight: 600;
    color: #495057;
    font-size: 12px;
    text-transform: uppercase;
}

.cricket-info-item span {
    color: #2c3e50;
    font-size: 14px;
}

.cricket-attendance-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.cricket-attendance-stat {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.cricket-performance-summary h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #495057;
}

.cricket-performance-list {
    max-height: 250px;
    overflow-y: auto;
}

.cricket-performance-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

.cricket-performance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cricket-session-name {
    font-weight: 600;
    color: #2c3e50;
}

.cricket-session-date {
    font-size: 12px;
    color: #6c757d;
}

.cricket-performance-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cricket-performance-type {
    font-size: 12px;
    padding: 2px 8px;
    background: #e9ecef;
    border-radius: 12px;
    color: #495057;
    text-transform: capitalize;
}

.cricket-performance-rating {
    font-size: 12px;
    font-weight: 600;
    color: #667eea;
}

.cricket-performance-comments {
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
}

.cricket-fee-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.cricket-fee-status h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #495057;
}

.cricket-fee-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.cricket-fee-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cricket-fee-item label {
    font-weight: 600;
    color: #495057;
    font-size: 12px;
    text-transform: uppercase;
}

.cricket-fee-item span {
    color: #2c3e50;
    font-size: 14px;
}

.cricket-status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.cricket-status-badge.active {
    background: #d4edda;
    color: #155724;
}

.cricket-status-badge.expired {
    background: #f8d7da;
    color: #721c24;
}

/* Loading and Message Styles */
.cricket-loading {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.cricket-loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: cricket-spin 1s linear infinite;
}

@keyframes cricket-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cricket-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 15px 0;
    font-weight: 600;
}

.cricket-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.cricket-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.cricket-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.cricket-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.cricket-empty-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.cricket-no-results,
.cricket-error {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cricket-dashboard-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .cricket-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cricket-dashboard-widgets {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cricket-quick-actions {
        grid-template-columns: 1fr;
    }

    .cricket-search-input-group {
        flex-direction: column;
    }

    .cricket-search-filters {
        grid-template-columns: 1fr;
    }

    .cricket-players-grid {
        grid-template-columns: 1fr;
    }

    .cricket-form-grid {
        grid-template-columns: 1fr;
    }

    .cricket-attendance-filters {
        grid-template-columns: 1fr;
    }

    .cricket-attendance-grid {
        grid-template-columns: 1fr;
    }

    .cricket-bulk-actions {
        flex-direction: column;
    }

    .cricket-session-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .cricket-session-actions {
        justify-content: center;
    }

    .cricket-session-players-grid {
        grid-template-columns: 1fr;
    }

    .cricket-player-filters {
        justify-content: center;
    }

    .cricket-performance-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cricket-modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 20px;
    }

    .cricket-export-buttons {
        flex-direction: column;
    }

    .cricket-form-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .cricket-dashboard-container,
    .cricket-player-search-container,
    .cricket-attendance-container,
    .cricket-net-session-container {
        padding: 10px;
    }

    .cricket-stat-number {
        font-size: 24px;
    }

    .cricket-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .cricket-btn.large {
        padding: 12px 24px;
        font-size: 14px;
    }

    .cricket-modal-content {
        margin: 5% auto;
        padding: 15px;
    }

    .cricket-attendance-options {
        flex-direction: column;
        gap: 8px;
    }

    .cricket-summary-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Print Styles */
@media print {
    .cricket-modal,
    .cricket-btn,
    .cricket-form-actions,
    .cricket-export-options {
        display: none !important;
    }

    .cricket-dashboard-container,
    .cricket-player-search-container {
        max-width: none;
        padding: 0;
    }

    .cricket-widget,
    .cricket-player-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}