/**
 * Team Management System - Main Stylesheet
 * 
 * This file contains the main CSS styles for the Team Registration
 * & Payment Management System.
 * 
 * @author Senior PHP Developer
 * @version 1.0.0
 * @since 2024-01-15
 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.main-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-top: 20px;
}

/* Header Styles */
.header {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.header h1 {
    font-size: 1.8rem;
    font-weight: 300;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logout-btn {
    background: #e74c3c;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.logout-btn:hover {
    background: #c0392b;
}

/* Navigation Styles */
.sidebar {
    background: #34495e;
    min-height: calc(100vh - 80px);
    width: 250px;
    position: fixed;
    left: 0;
    top: 80px;
    padding: 20px 0;
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 5px;
}

.nav-menu a {
    display: block;
    color: #000;
    text-decoration: none;
    padding: 12px 20px;
    transition: background-color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: #3498db;
}

/* Responsive Navigation Enhancements */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}
.mobile-nav-overlay.active { display: block; }

.mobile-nav {
    position: fixed;
    right: -320px;
    top: 0;
    bottom: 0;
    width: 280px;
    background: #ffffff;
    box-shadow: -4px 0 16px rgba(0,0,0,0.1);
    transition: right 0.25s ease;
    z-index: 1001;
}
.mobile-nav.open { right: 0; }
.mobile-nav-header { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; border-bottom:1px solid #eee; }
.mobile-nav-content { padding: 12px 16px; overflow:auto; height: calc(100% - 110px); }
.mobile-nav-footer { padding: 12px 16px; border-top:1px solid #eee; }
.mobile-nav-link { display:flex; align-items:center; gap:10px; padding:10px 0; color:#333; text-decoration:none; }

/* Sidebar collapse / mobile hidden */
.sidebar { transition: width 0.2s ease, transform 0.2s ease; }
.sidebar.collapsed { width: 64px; }
body.sidebar-collapsed .content, body.sidebar-collapsed .main-content { margin-left: 64px; }

@media (max-width: 768px) {
  .sidebar { transform: translateX(0); }
  .sidebar.mobile-hidden { transform: translateX(-100%); }
  .content, .main-content { margin-left: 0; }
}

/* Content Area */
.content {
    margin-left: 250px;
    padding: 20px;
    min-height: calc(100vh - 80px);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #2c3e50;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.form-control.error {
    border-color: #e74c3c;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn:hover {
    background: #2980b9;
}

.btn-success {
    background: #27ae60;
}

.btn-success:hover {
    background: #229954;
}

.btn-danger {
    background: #e74c3c;
}

.btn-danger:hover {
    background: #c0392b;
}

.btn-warning {
    background: #f39c12;
}

.btn-warning:hover {
    background: #e67e22;
}

/* Table Styles */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table th,
.table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.table tbody tr:hover {
    background: #f8f9fa;
}

/* Alert Styles */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.alert-success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-warning {
    background: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

.alert-info {
    background: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* Login Form Styles */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
}

.login-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .content {
        margin-left: 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.hidden {
    display: none;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Layout Components */
.main-container {
    display: flex;
    min-height: calc(100vh - 80px);
    background: #f8f9fa;
}

/* Header Styles */
.header {
    background: #2c3e50;
    color: white;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 120px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    max-width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 1.8rem;
    color: #3498db;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.user-info:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-avatar i {
    font-size: 2rem;
    color: #3498db;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.username {
    font-weight: 600;
    font-size: 0.9rem;
}

.user-role {
    font-size: 0.8rem;
    opacity: 0.8;
}

.user-actions {
    position: relative;
}

.user-menu-toggle {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.user-menu-toggle:hover,
.user-menu-toggle.active {
    background: rgba(255, 255, 255, 0.1);
}

.user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.user-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu .menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s;
}

.user-menu .menu-item:hover {
    background: #f8f9fa;
}

.user-menu .menu-item.logout {
    color: #e74c3c;
}

.user-menu .menu-item.logout:hover {
    background: #fdf2f2;
}

.menu-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 8px 0;
}

.auth-actions .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Sidebar Styles */
.sidebar {
    width: 280px;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 100;
}

.sidebar.collapsed {
    width: 70px;
}

.sidebar.mobile-hidden {
    display: none;
}

.sidebar-nav {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.nav-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo i {
    font-size: 1.5rem;
    color: #3498db;
}

.nav-title {
    font-weight: 600;
    color: #2c3e50;
}

.sidebar.collapsed .nav-title {
    display: none;
}

.nav-toggle {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-toggle:hover {
    background: #f0f0f0;
}

.nav-menu {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 30px;
}

.nav-section-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 20px 10px;
    margin-bottom: 10px;
}

.sidebar.collapsed .nav-section-title {
    display: none;
}

.nav-list {
    list-style: none;
}

.nav-item {
    margin-bottom: 2px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: #f8f9fa;
    color: #2c3e50;
}

.nav-link.active {
    background: #e3f2fd;
    color: #1976d2;
    border-right: 3px solid #1976d2;
}

.nav-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.nav-text {
    font-weight: 500;
}

.sidebar.collapsed .nav-text {
    display: none;
}

.nav-indicator {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #1976d2;
    border-radius: 50%;
}

.sidebar.collapsed .nav-indicator {
    display: none;
}

.nav-link.nav-action {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin: 10px 20px;
    border-radius: 8px;
}

.nav-link.nav-action:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-1px);
}

.nav-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.nav-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.nav-user-avatar i {
    font-size: 1.5rem;
    color: #3498db;
}

.nav-user-details {
    display: flex;
    flex-direction: column;
}

.nav-username {
    font-weight: 600;
    font-size: 0.9rem;
    color: #2c3e50;
}

.nav-user-role {
    font-size: 0.8rem;
    color: #666;
}

.sidebar.collapsed .nav-user-details {
    display: none;
}

.nav-actions {
    display: flex;
    justify-content: center;
}

.nav-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s;
    font-size: 0.9rem;
}

.nav-logout:hover {
    background: #c0392b;
}

.sidebar.collapsed .nav-logout .nav-text {
    display: none;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 0;
    background: #f8f9fa;
    overflow-y: auto;
}

/* Breadcrumb */
.breadcrumb {
    background: white;
    padding: 15px 30px;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-item a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: #2980b9;
}

.breadcrumb-item .current {
    color: #666;
    font-weight: 500;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    color: #ccc;
    margin-left: 8px;
}

/* Page Content */
.page-content {
    padding: 30px;
    min-height: calc(100vh - 200px);
}

/* Flash Messages */
.flash-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid transparent;
    animation: slideIn 0.3s ease;
}

.flash-message.success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.flash-message.error {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.flash-message.info {
    background: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.flash-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flash-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.flash-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
    transition: left 0.3s ease;
    z-index: 1002;
    overflow-y: auto;
}

.mobile-nav.open {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #2c3e50;
    color: white;
}

.mobile-nav-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-content {
    padding: 20px 0;
}

.mobile-nav-section {
    margin-bottom: 30px;
}

.mobile-nav-section h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 20px 10px;
    margin-bottom: 10px;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-item {
    margin-bottom: 2px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: #f8f9fa;
    color: #2c3e50;
}

.mobile-nav-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.mobile-nav-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.mobile-nav-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px;
    background: white;
    border-radius: 8px;
}

.mobile-nav-user i {
    font-size: 1.5rem;
    color: #3498db;
}

.mobile-nav-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.mobile-nav-logout:hover {
    background: #c0392b;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 20px 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-version {
    font-size: 0.9rem;
    color: #95a5a6;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Body States */
body.mobile-menu-open {
    overflow: hidden;
}

body.sidebar-collapsed .main-content {
    margin-left: 0;
}

/* Team Registration Form Styles */
.registration-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.registration-header {
    text-align: center;
    margin-bottom: 30px;
}

.registration-header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.registration-header p {
    color: #666;
    font-size: 1.1rem;
}

.required {
    color: #e74c3c;
    font-weight: bold;
}

.registration-form {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-section {
    padding: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h2 i {
    color: #3498db;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-control {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-control:invalid {
    border-color: #e74c3c;
}

.form-control:valid {
    border-color: #27ae60;
}

.form-control.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-help {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

.form-error {
    font-size: 0.85rem;
    color: #e74c3c;
    margin-top: 5px;
    display: none;
}

.form-error.show {
    display: block;
}

.alert {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert i {
    font-size: 1.2rem;
    margin-top: 2px;
}

.alert-content h4 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.alert-content p {
    margin: 0 0 10px 0;
}

.error-list {
    margin: 0;
    padding-left: 20px;
}

.error-list li {
    margin-bottom: 5px;
}

.form-actions {
    padding: 30px;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.form-actions .btn {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Print Styles */
@media print {
    .sidebar,
    .header,
    .footer,
    .btn,
    .mobile-nav {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .page-content {
        padding: 20px;
    }
}

/* Charges Management Styles */
.charges-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.charges-section h2 {
    background: #f8f9fa;
    color: #2c3e50;
    font-size: 1.3rem;
    margin: 0;
    padding: 20px 30px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.charges-section h2 i {
    color: #3498db;
}

.charges-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 30px;
}

.charge-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.charge-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.charge-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.charges-form {
    padding: 30px;
}

.charges-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.charges-form .form-group {
    margin-bottom: 0;
}

.charges-form .form-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    background: transparent;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c3e50;
}

/* No Data State */
.no-data {
    text-align: center;
    padding: 60px 30px;
    color: #666;
}

.no-data i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-data p {
    font-size: 1.1rem;
    margin: 0;
}

/* Data Table */
.table-container {
    overflow-x: auto;
    padding: 0 30px 30px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.data-table th,
.data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.data-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tbody tr:hover {
    background: #f8f9fa;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* Payment Processing Styles */
.payment-stats {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.payment-stats h2 {
    background: #f8f9fa;
    color: #2c3e50;
    font-size: 1.3rem;
    margin: 0;
    padding: 20px 30px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-stats h2 i {
    color: #3498db;
}

.payment-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.payment-section h2 {
    background: #f8f9fa;
    color: #2c3e50;
    font-size: 1.3rem;
    margin: 0;
    padding: 20px 30px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-section h2 i {
    color: #3498db;
}

.payment-form {
    padding: 30px;
}

.payment-form .form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.payment-form .form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.payment-form .form-section h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-form .form-section h3 i {
    color: #3498db;
    font-size: 1rem;
}

/* Team Information Display */
.team-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
    border: 1px solid #e0e0e0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.info-item span {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

/* Payment Calculation Display */
.calculation-display {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e0e0e0;
}

.calc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.calc-item:last-child {
    border-bottom: none;
}

.calc-item.total {
    font-weight: bold;
    font-size: 1.1rem;
    color: #2c3e50;
    background: #e8f4fd;
    margin: 10px -20px -20px -20px;
    padding: 15px 20px;
    border-radius: 0 0 8px 8px;
}

.calc-item label {
    color: #666;
    font-weight: 500;
}

.calc-item span {
    color: #2c3e50;
    font-weight: 600;
}

/* Payment Summary */
.payment-summary {
    background: #e8f5e8;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #c3e6c3;
}

.payment-summary h4 {
    color: #2c3e50;
    margin: 0 0 15px 0;
    font-size: 1.1rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.summary-item label {
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
}

.summary-item span {
    color: #2c3e50;
    font-weight: 600;
}

/* Form Row Adjustments for Payment */
.payment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.payment-form .form-group {
    margin-bottom: 0;
}

.payment-form .form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    background: transparent;
}

/* Responsive Adjustments for Payment */
@media (max-width: 768px) {
    .payment-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .calc-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Payment Reports Styles */
.report-filters {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.report-filters h2 {
    background: #f8f9fa;
    color: #2c3e50;
    font-size: 1.3rem;
    margin: 0;
    padding: 20px 30px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.report-filters h2 i {
    color: #3498db;
}

.filter-form {
    padding: 30px;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.filter-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.report-summary {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.report-summary h2 {
    background: #f8f9fa;
    color: #2c3e50;
    font-size: 1.3rem;
    margin: 0;
    padding: 20px 30px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.report-summary h2 i {
    color: #3498db;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 30px;
}

.summary-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.summary-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.summary-content {
    flex: 1;
}

.summary-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.summary-value {
    font-size: 1.4rem;
    font-weight: bold;
    color: #2c3e50;
}

.export-actions {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.export-actions h2 {
    background: #f8f9fa;
    color: #2c3e50;
    font-size: 1.3rem;
    margin: 0;
    padding: 20px 30px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.export-actions h2 i {
    color: #3498db;
}

.export-actions form {
    padding: 30px;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.analytics-export {
    display: flex;
    gap: 10px;
    align-items: center;
}

.report-table {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.report-table h2 {
    background: #f8f9fa;
    color: #2c3e50;
    font-size: 1.3rem;
    margin: 0;
    padding: 20px 30px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.report-table h2 i {
    color: #3498db;
}

.table-container {
    overflow-x: auto;
    padding: 0;
}

.report-table .data-table {
    margin: 0;
    border-radius: 0;
}

.report-table .data-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    padding: 15px 12px;
    border-bottom: 2px solid #e0e0e0;
    white-space: nowrap;
}

.report-table .data-table td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
}

.report-table .data-table tbody tr:hover {
    background: #f8f9fa;
}

/* Badge Styles */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-cash {
    background: #d4edda;
    color: #155724;
}

.badge-online {
    background: #cce5ff;
    color: #004085;
}

.badge-mixed {
    background: #fff3cd;
    color: #856404;
}

.badge-completed {
    background: #d4edda;
    color: #155724;
}

.badge-pending {
    background: #fff3cd;
    color: #856404;
}

.badge-failed {
    background: #f8d7da;
    color: #721c24;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.pagination-info {
    color: #666;
    font-size: 0.9rem;
}

.pagination-links {
    display: flex;
    gap: 5px;
    align-items: center;
}

.pagination-links .btn {
    min-width: 40px;
    text-align: center;
}

/* No Data Styles */
.no-data {
    text-align: center;
    padding: 60px 30px;
    color: #666;
}

.no-data i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-data h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.no-data p {
    color: #666;
    font-size: 1rem;
}

/* Field Error Styles */
.field-error {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
}

.form-control.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}

/* Responsive Adjustments for Reports */
@media (max-width: 768px) {
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .export-actions form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .analytics-export {
        flex-direction: column;
        align-items: stretch;
    }
    
    .pagination {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .pagination-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .table-container {
        font-size: 0.875rem;
    }
    
    .report-table .data-table th,
    .report-table .data-table td {
        padding: 8px 6px;
    }
}

@media (max-width: 480px) {
    .filter-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .summary-card {
        flex-direction: column;
        text-align: center;
    }
    
    .summary-icon {
        align-self: center;
    }
}
