/* Fight Club Gym - Admin Panel Styles */
/* Yellow, White, Red Theme */

:root {
    /* Colors */
    --primary-gold: #FFD700;
    --primary-yellow: #FFC700;
    --accent-red: #FF3B3B;
    --accent-dark-red: #E63946;
    --white: #FFFFFF;
    --off-white: #F5F5F5;
    --bg-dark: #1A1A1A;
    --bg-secondary: #252525;
    --bg-card: #2C2C2C;
    --text-gray: #9E9E9E;
    --border-gray: #616161;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    --shadow-yellow: 0 4px 12px rgba(255, 215, 0, 0.3);
    --shadow-red: 0 4px 12px rgba(255, 59, 59, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--white);
    line-height: 1.6;
}

/* Login Page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-container {
    position: relative;
    z-index: 1;
}

.login-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    width: 400px;
    max-width: 90vw;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.logo-section {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.logo-image {
    width: 150px;
    height: auto;
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.logo-subtitle {
    color: var(--accent-red);
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Form Styles */
.login-form {
    margin-top: var(--spacing-xl);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.form-group input {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-yellow);
}

.form-group input::placeholder {
    color: var(--text-gray);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    font-size: 14px;
}

.checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--text-gray);
}

.checkbox input {
    margin-right: var(--spacing-sm);
    width: auto;
}

.forgot-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: var(--primary-yellow);
}

/* Buttons */
.btn-primary {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-yellow));
    border: none;
    border-radius: var(--radius-md);
    color: var(--bg-dark);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-yellow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-red);
    color: var(--accent-red);
}

.btn-secondary:hover {
    background: var(--accent-red);
    color: var(--white);
}

/* Background Elements */
.bg-glove {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1), transparent);
    border-radius: 50%;
    pointer-events: none;
}

/* Dashboard Layout */
.dashboard {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: var(--bg-secondary);
    padding: var(--spacing-lg);
    border-right: 1px solid var(--border-gray);
}

.sidebar-logo {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-gray);
}

.nav-menu {
    list-style: none;
}

.nav-item {
    margin-bottom: var(--spacing-sm);
}

.nav-link {
    display: flex;
    align-items: center;
    padding: var(--spacing-md);
    color: var(--text-gray);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: var(--bg-card);
    color: var(--primary-gold);
}

.nav-icon {
    margin-right: var(--spacing-md);
    font-size: 20px;
}

.main-content {
    flex: 1;
    padding: var(--spacing-xl);
    background: var(--bg-dark);
}

/* Cards */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-lg);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-gray);
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    border-left: 4px solid var(--primary-gold);
    box-shadow: var(--shadow-md);
}

.stat-card.red {
    border-left-color: var(--accent-red);
}

.stat-value {
    font-size: 36px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: var(--text-gray);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table thead {
    background: var(--bg-secondary);
}

.table th,
.table td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--border-gray);
    white-space: nowrap; /* Prevent wrapping in cells */
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table th {
    color: var(--primary-gold);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.table tbody tr:hover {
    background: var(--bg-secondary);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-success {
    background: #4CAF50;
    color: var(--white);
}

.badge-warning {
    background: var(--primary-yellow);
    color: var(--bg-dark);
}

.badge-danger {
    background: var(--accent-red);
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-gray);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}