/* Redesigned Add Client Form Layout */
.add-client-form {
    width: 100%;
    margin: 0 0 2rem 0;
    padding: 2rem 2rem;
    background: rgba(26,26,26,0.97);
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0,212,255,0.07);
}
.add-client-form .form-section {
    margin-bottom: 1.5rem;
}
.add-client-form .form-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #00f5a0;
    margin-bottom: 0.7rem;
}
.add-client-form .form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.7rem;
}
.add-client-form .form-row.grid-2 > * {
    flex: 1 1 0;
    min-width: 0;
}
.add-client-form .form-row.grid-3 > * {
    flex: 1 1 0;
    min-width: 0;
}
.add-client-form .form-row.grid-4 > * {
    flex: 1 1 0;
    min-width: 0;
}
.add-client-form input,
.add-client-form select {
    background: #181818;
    border: 1px solid rgba(0,212,255,0.18);
    color: #e0e0e0;
    border-radius: 0.5rem;
    padding: 0.7rem 1rem;
    font-size: 1rem;
    width: 100%;
    transition: border 0.2s;
}
.add-client-form input:focus,
.add-client-form select:focus {
    border: 1.5px solid #00f5a0;
    outline: none;
}
.add-client-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #00f5a0 0%, #00d4ff 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 0.7rem;
    margin-top: 1.2rem;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 4px 16px rgba(0,212,255,0.08);
}
.add-client-btn:hover {
    background: linear-gradient(135deg, #00d4ff 0%, #00f5a0 100%);
    box-shadow: 0 8px 32px rgba(0,212,255,0.18);
    transform: translateY(-2px) scale(1.03);
}

@media (max-width: 600px) {
    .add-client-form {
        padding: 1rem 0.2rem;
    }
}
/* Add New Client Button Styles */
.collapsible-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #00f5a0 0%, #00d4ff 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.7rem;
    padding: 0.85rem 2.2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(0,212,255,0.08);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    outline: none;
}
.collapsible-toggle:hover, .collapsible-toggle:focus {
    background: linear-gradient(135deg, #00d4ff 0%, #00f5a0 100%);
    box-shadow: 0 8px 32px rgba(0,212,255,0.18);
    transform: translateY(-2px) scale(1.03);
}
#toggle-icon {
    font-size: 1.3rem;
    margin-right: 0.5rem;
}
/* ============================================
   ADMIN PANEL STYLES - REWARD FITNESS
   ============================================ */

/* ============================================
   BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #e0e0e0;
}

/* ============================================
   LOGIN & CREATE ACCOUNT PAGE STYLES
   ============================================ */

.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.auth-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 245, 160, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.login-container,
.create-container {
    position: relative;
    z-index: 1;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 450px;
    width: 100%;
}

.create-container {
    max-width: 500px;
}

.login-header,
.create-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.create-header {
    margin-bottom: 2rem;
}

.login-logo,
.create-logo {
    width: 150px;
    height: auto;
    margin-bottom: 1.5rem;
}

.create-logo {
    width: 120px;
    margin-bottom: 1rem;
}

.login-title,
.create-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #00f5a0 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.create-title {
    font-size: 1.75rem;
}

.login-subtitle,
.create-subtitle {
    color: #a0a0a0;
    font-size: 0.95rem;
}

.create-subtitle {
    font-size: 0.9rem;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.alert i {
    font-size: 1.2rem;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    color: #10b981;
}

.form-group {
    margin-bottom: 1.5rem;
}

.create-container .form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    color: #e0e0e0;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.create-container .form-label {
    font-size: 0.85rem;
}

.required {
    color: #ef4444;
}

.form-input-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: #0a0a0a;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.create-container .form-input {
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    font-size: 0.95rem;
}

.form-input:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-input::placeholder {
    color: #666;
}

.form-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #00d4ff;
    font-size: 1.1rem;
}

.create-container .form-icon {
    font-size: 1rem;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a0a0a0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #00d4ff;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e0e0e0;
    font-size: 0.9rem;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #00d4ff;
}

.forgot-password {
    color: #00d4ff;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #00f5a0;
}

 .login-btn,
.create-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #00f5a0 0%, #00d4ff 100%);
    border: none;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
/* Removed stray margin-top and extra closing brace */
}

.login-btn:hover,
.create-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.login-btn:active,
.create-btn:active {
    transform: translateY(0);
}

.back-home,
.back-login {
    text-align: center;
    margin-top: 2rem;
}

.back-login {
    margin-top: 1.5rem;
}

.back-home a,
.back-login a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-home a:hover,
.back-login a:hover {
    color: #00d4ff;
}

.password-strength {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #a0a0a0;
}

/* ============================================
   DASHBOARD STYLES
   ============================================ */

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.dashboard-title {
    font-size: 2rem;
    background: linear-gradient(135deg, #00f5a0 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info {
    text-align: right;
}

.user-name {
    font-weight: 600;
    color: #ffffff;
}

.logout-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #00f5a0 0%, #00d4ff 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.dashboard-card {
    background: rgba(26, 26, 26, 0.95);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00f5a0 0%, #00d4ff 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.card-description {
    color: #a0a0a0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.welcome-message {
    background: linear-gradient(135deg, rgba(0, 245, 160, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
    margin-bottom: 3rem;
}

.welcome-message h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.welcome-message p {
    color: #a0a0a0;
    line-height: 1.8;
}

/* ============================================
   SIDEBAR NAVIGATION
   ============================================ */

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    border-right: 1px solid rgba(0, 245, 160, 0.1);
    display: flex;
    flex-direction: column;
    z-index: 2000;
    box-shadow: 2px 0 16px 0 rgba(0,0,0,0.25);
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 1rem !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(0, 245, 160, 0.1);
    text-align: center;
}

.sidebar-logo {
    width: 100px !important;
    height: 100px !important;
    object-fit: contain;
    margin: 0 auto !important;
    display: block;
}

.sidebar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00f5a0 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(0, 245, 160, 0.3);
    border-radius: 3px;
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item i {
    font-size: 1.1rem;
    width: 28px;
    margin-right: 0.75rem;
}

.nav-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-item:hover {
    background: rgba(0, 245, 160, 0.05);
    color: #00f5a0;
}

.nav-item.active {
    background: rgba(0, 245, 160, 0.1);
    color: #00f5a0;
    border-left: 3px solid #00f5a0;
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 245, 160, 0.1) 0%, transparent 100%);
}

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid rgba(0, 245, 160, 0.1);
}

.user-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0.7rem;
    padding: 0.4rem 0.7rem;
    background: rgba(0, 245, 160, 0.08);
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0,245,160,0.03);
    border: 1px solid rgba(0,245,160,0.10);
    min-height: 48px;
    max-height: 56px;
}

.user-info:hover {
    box-shadow: 0 4px 24px rgba(0,245,160,0.10);
}


.user-avatar {
    font-size: 1.7rem;
    color: #fff;
    background: linear-gradient(135deg, #00f5a0 0%, #00d4ff 100%);
    border-radius: 50%;
    padding: 0.25rem;
    margin-right: 0.7rem;
    box-shadow: 0 1px 4px rgba(0,212,255,0.08);
    border: 1.5px solid #fff;
    flex-shrink: 0;
}

.user-details {
    text-align: left;
}

.user-name {
    font-size: 0.98rem;
    font-weight: 700;
    color: #00f5a0;
    margin-bottom: 0.05rem;
    letter-spacing: 0.3px;
}

.user-role {
    font-size: 0.75rem;
    color: #a0a0a0;
    font-weight: 500;
    letter-spacing: 0.1px;
}

.user-avatar {
    font-size: 2rem;
    color: #00f5a0;
    margin-right: 0.6rem;
}

.user-details {
    flex: 1;
}

.user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 0.2rem;
}

.user-role {
    font-size: 0.72rem;
    color: #999;
}

.logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.6rem;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, rgba(255, 100, 100, 0.1) 100%);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 8px;
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.3s ease;
}

.logout-btn i {
    margin-right: 0.5rem;
}

.logout-btn:hover {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2) 0%, rgba(255, 100, 100, 0.2) 100%);
    border-color: rgba(255, 0, 0, 0.5);
    transform: translateY(-2px);
}

/* Main Content Area */
.main-content {
    min-height: 100vh;
    padding-top: 3.5rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
    padding-left: 295px;
    transition: padding-left 0.3s ease;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    z-index: 1;
}

.content-wrapper {
    max-width: 1400px;
    margin: 0;
}

/* Dashboard Styles */
.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-title {
    font-size: 2rem;
    background: linear-gradient(135deg, #00f5a0 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.welcome-message {
    background: linear-gradient(135deg, rgba(0, 245, 160, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
    margin-bottom: 2rem;
}

.welcome-message h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.welcome-message p {
    color: #a0a0a0;
    line-height: 1.8;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.dashboard-card {
    background: rgba(26, 26, 26, 0.95);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00f5a0 0%, #00d4ff 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #0a0a0a;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.card-description {
    color: #a0a0a0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */

.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    border-top: 1px solid rgba(0, 245, 160, 0.1);
    padding: 0.75rem;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.mobile-nav-item {
    flex: 1;
    width: 70%;
    max-width: 600px;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: #999;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-nav-item i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.mobile-nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
}

.mobile-nav-item.active {
    color: #00f5a0;
}

.mobile-nav-item:hover {
    color: #00f5a0;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 80vh;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu {
    transform: translateY(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 245, 160, 0.1);
}

.mobile-menu-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.close-menu-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 50%;
    color: #ff6b6b;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-menu-btn:hover {
    background: rgba(255, 0, 0, 0.2);
    transform: rotate(90deg);
}

.mobile-menu-content {
    padding: 1rem 0;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-menu-item i {
    font-size: 1.25rem;
    width: 30px;
    margin-right: 1rem;
    color: #fff;
}

.mobile-menu-item span {
    font-size: 0.95rem;
    font-weight: 500;
}

.mobile-menu-item:hover {
    background: rgba(0, 245, 160, 0.05);
}

.mobile-menu-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 245, 160, 0.1);
}

.user-info-mobile {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(0, 245, 160, 0.05);
    border-radius: 10px;
}

.user-avatar-mobile {
    font-size: 2.5rem;
    color: #00f5a0;
    margin-right: 0.75rem;
}

.user-name-mobile {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 0.25rem;
}

.user-role-mobile {
    font-size: 0.75rem;
    color: #999;
}

.logout-btn-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, rgba(255, 100, 100, 0.1) 100%);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.logout-btn-mobile i {
    margin-right: 0.5rem;
}

.logout-btn-mobile:hover {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2) 0%, rgba(255, 100, 100, 0.2) 100%);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media screen and (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .main-content {
        margin-left: 0;
        padding: 1.5rem;
        padding-bottom: 5rem;
    }
    
    .mobile-nav {
        display: flex;
    }
}

@media screen and (max-width: 480px) {
    .login-container,
    .create-container {
        padding: 2rem;
    }
    
    .login-title {
        font-size: 1.5rem;
    }
    
    .create-title {
        font-size: 1.5rem;
    }
    
    .main-content {
        padding: 1rem;
        padding-bottom: 5rem;
    }
}

/* Action Buttons for Exercises Table */
.action-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
.action-btn:hover {
    transform: translateY(-1px);
}
.view-btn {
    background: #00d4ff;
    color: #000;
}
.view-btn:hover {
    background: #00b8e6;
}
.edit-btn {
    background: #ffa500;
    color: #000;
}
.edit-btn:hover {
    background: #e69500;
}
.delete-btn {
    background: #ff4444;
    color: #fff;
}
.delete-btn:hover {
    background: #cc0000;
}

/* Exercise Cards Layout */
.category-section {
    margin-bottom: 2rem;
}
.category-section h3 {
    border-bottom: 2px solid #00d4ff;
    padding-bottom: 0.5rem;
}
.exercise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.exercise-card {
    background: rgba(26,26,26,0.97);
    border: 1px solid rgba(0,212,255,0.18);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,212,255,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}
.exercise-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,212,255,0.2);
}
.card-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
    flex-wrap: wrap;
}
.no-video {
    color: #666;
    font-style: italic;
    flex: 1;
    text-align: center;
}

/* Progress Analytics Styles */
.progress-analytics {
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
}

.analytics-header {
    margin-bottom: 2rem;
}

.analytics-title {
    color: #00f5a0;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.analytics-title i {
    color: #00d4ff;
}

.progress-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.progress-stat-card {
    background: linear-gradient(145deg, rgba(18,18,18,0.95) 0%, rgba(26,26,26,0.95) 100%);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.progress-stat-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.15);
}

.progress-stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00f5a0 0%, #00d4ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.25rem;
}

.progress-stat-content h4 {
    color: #00f5a0;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
}

.progress-stat-label {
    color: #e0e0e0;
    font-size: 0.9rem;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.progress-stat-trend {
    color: #00d4ff;
    font-size: 0.8rem;
    font-weight: 600;
}

.analytics-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.chart-container {
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.chart-container h3 {
    color: #00f5a0;
    font-size: 1.1rem;
    margin: 0 0 1rem 0;
    text-align: center;
}

@media (max-width: 768px) {
    .progress-analytics {
        padding: 1rem;
    }
    
    .progress-stats {
        grid-template-columns: 1fr;
    }
    
    .analytics-charts {
        grid-template-columns: 1fr;
    }
}
