/* fitSuite Subdomain Landing Page Styles */

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #6b7280;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --background: #f9fafb;
    --card-bg: #ffffff;
    --text: #1f2937;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --border: #e5e7eb;
    --input-border: #d1d5db;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.site-header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
}

.site-logo img {
    height: 40px;
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.site-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

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

.btn-secondary {
    background: var(--card-bg);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--background);
}

.btn-large {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-small {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--card-bg);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text);
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-muted);
}

.section-content p {
    margin-bottom: 1rem;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--text);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.service-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.section-alt .service-card {
    background: var(--background);
}

.service-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.service-content {
    padding: 1.25rem;
}

.service-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-content p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.service-sessions {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact-item a {
    color: var(--text);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary);
}

.hours-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.hour-row .day {
    font-weight: 500;
}

.hour-row .time {
    color: var(--text-muted);
}

/* Footer */
.site-footer {
    background: #1f2937;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.site-footer p {
    margin: 0.5rem 0;
}

.powered-by {
    font-size: 0.875rem;
    opacity: 0.7;
}

.powered-by a {
    color: white;
}

/* Auth Pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, var(--background) 0%, #e5e7eb 100%);
}

.auth-container {
    width: 100%;
    max-width: 520px;
}

.auth-container.wide {
    max-width: 600px;
}

.auth-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-logo {
    display: inline-block;
    margin-bottom: 1rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.25rem;
}

.auth-logo img {
    height: 50px;
    width: auto;
}

.auth-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-muted);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Dashboard */
.dashboard-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.dashboard-header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
}

.dashboard-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all 0.15s ease;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}

.nav-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.nav-divider {
    width: 1px;
    height: 24px;
    background: var(--border);
    margin: 0 0.5rem;
}

.member-name {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-muted);
    padding: 0 0.5rem;
}

@media (max-width: 1024px) {
    .dashboard-nav {
        gap: 0.125rem;
    }
    .nav-link {
        padding: 0.5rem;
    }
    .nav-link span {
        display: none;
    }
    .nav-link svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 640px) {
    .dashboard-nav {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .nav-divider {
        display: none;
    }
}

.dashboard-main {
    flex: 1;
    padding: 2rem 0;
}

.dashboard-welcome {
    margin-bottom: 2rem;
}

.dashboard-welcome h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.dashboard-welcome p {
    color: var(--text-muted);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.dashboard-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.dashboard-card.wide {
    grid-column: 1 / -1;
}

.dashboard-card h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.packages-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.package-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--background);
    border-radius: var(--radius);
}

.package-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.package-date {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.package-status {
    text-align: right;
}

.sessions-remaining {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sessions-remaining .number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.sessions-remaining .label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.expires {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.expiring-soon {
    color: var(--warning);
    font-weight: 500;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-item .label {
    color: var(--text-muted);
}

.info-item .value {
    font-weight: 500;
}

.dashboard-footer {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

/* Forms */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--input-border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-hint {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Alerts */
.alert {
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.empty-state svg {
    opacity: 0.5;
    margin-bottom: 1rem;
}

.empty-state p {
    margin-bottom: 1rem;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-active {
    background: #dcfce7;
    color: #16a34a;
}

.status-inactive {
    background: #f3f4f6;
    color: #6b7280;
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.data-table th,
.data-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    font-weight: 600;
    color: var(--text-muted);
}

.data-table tbody tr:hover {
    background: var(--background);
}

/* Progress Bars */
.progress-bar {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-fill.success {
    background: var(--success);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-primary {
    background: #dbeafe;
    color: #1e40af;
}

.badge-success {
    background: #dcfce7;
    color: #166534;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

.badge-secondary {
    background: #f1f5f9;
    color: #64748b;
}

/* Expandable Sections */
.expandable-section {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.expandable-header {
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--background);
    border-radius: var(--radius);
}

.expandable-header:hover {
    background: #f1f5f9;
}

.expandable-content {
    padding: 1rem;
    border-top: 1px solid var(--border);
    display: none;
}

.expandable-content.expanded {
    display: block;
}

/* Tag Inputs */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.75rem;
}

.tag-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0;
    line-height: 1;
}

.tag-remove:hover {
    color: var(--danger);
}

/* Chart Containers */
.chart-container {
    position: relative;
    width: 100%;
    height: 250px;
}

/* Fitness Stats Grid */
.fitness-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.fitness-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--background);
    border-radius: var(--radius);
}

.fitness-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fitness-stat-icon.blue { background: #dbeafe; color: #2563eb; }
.fitness-stat-icon.green { background: #dcfce7; color: #16a34a; }
.fitness-stat-icon.purple { background: #f3e8ff; color: #9333ea; }
.fitness-stat-icon.orange { background: #ffedd5; color: #ea580c; }

.fitness-stat-info {
    display: flex;
    flex-direction: column;
}

.fitness-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.fitness-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(-20px);
    transition: transform 0.2s;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
}

.modal-close:hover {
    color: var(--text);
}

.modal-body {
    padding: 1.25rem;
}

.modal-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Cards with Icons */
.icon-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}

.icon-card .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-card .icon svg {
    width: 32px;
    height: 32px;
}

.icon-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
}

.icon-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Loading States */
.loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Unit Toggle */
.unit-toggle {
    display: flex;
    gap: 0.25rem;
    background: var(--background);
    border-radius: var(--radius);
    padding: 0.25rem;
}

.unit-toggle button {
    flex: 1;
    padding: 0.375rem 0.75rem;
    border: none;
    background: transparent;
    border-radius: calc(var(--radius) - 2px);
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: all 0.2s;
}

.unit-toggle button.active {
    background: var(--primary);
    color: white;
}

/* Workout Plan Styles */
.workout-plan-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.workout-plan-header {
    padding: 1rem 1.25rem;
    background: var(--background);
    border-bottom: 1px solid var(--border);
}

.workout-plan-header h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
}

.workout-plan-header p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.workout-day-card {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.workout-day-card:last-child {
    border-bottom: none;
}

.workout-day-card.today {
    background: #eff6ff;
    border-left: 3px solid var(--primary);
}

.workout-day-card.completed {
    background: #f0fdf4;
    border-left: 3px solid var(--success);
}

.workout-day-card.rest-day {
    background: var(--background);
    opacity: 0.7;
}

.exercise-list-compact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.exercise-item-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: var(--background);
    border-radius: var(--radius);
    font-size: 0.875rem;
}

.exercise-item-compact .exercise-name {
    font-weight: 500;
}

.exercise-item-compact .exercise-meta {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.plan-progress-bar {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.plan-progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.plan-stats-row {
    display: flex;
    justify-content: space-around;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.plan-stat {
    display: flex;
    flex-direction: column;
}

.plan-stat-value {
    font-weight: 600;
    color: var(--primary);
}

.plan-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Wizard 6-step specific */
.wizard-progress-6 {
    gap: 0.25rem;
}

.wizard-progress-6::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 2px;
    background: var(--border);
    transform: translateY(-50%);
    z-index: 0;
}

/* Exercise Performance Tracking */
.exercise-tracking-panel {
    padding: 1rem;
    background: #fff;
    border-top: 1px solid var(--border);
}

.set-tracking-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: var(--background);
    border-radius: var(--radius);
}

.set-tracking-row .set-label {
    min-width: 60px;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.set-tracking-row input {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.875rem;
}

.set-tracking-row input:focus {
    outline: none;
    border-color: var(--primary);
}

.set-tracking-row .log-btn {
    padding: 0.375rem 0.75rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
}

.set-tracking-row .log-btn:hover {
    background: var(--primary-dark);
}

.set-tracking-row .logged-indicator {
    color: var(--success);
    font-size: 0.75rem;
    font-weight: 500;
}

/* Custom Exercise Badge */
.badge-custom {
    background: #f3e8ff;
    color: #7c3aed;
}

/* Diet Plan Styles */
.meal-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
}

.meal-card:last-child {
    margin-bottom: 0;
}

.meal-card-header {
    padding: 0.75rem 1rem;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meal-type-badge {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.meal-type-badge.breakfast {
    background: #fef3c7;
    color: #92400e;
}

.meal-type-badge.lunch {
    background: #dcfce7;
    color: #166534;
}

.meal-type-badge.dinner {
    background: #dbeafe;
    color: #1e40af;
}

.meal-type-badge.snack {
    background: #f3e8ff;
    color: #7c3aed;
}

.meal-card-body {
    padding: 1rem;
}

.meal-title {
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.meal-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.meal-macros {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Sharing Styles */
.sharing-panel {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.trainer-share-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--background);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
}

.trainer-share-item:last-child {
    margin-bottom: 0;
}

.trainer-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-muted);
}

.share-checkbox-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.share-checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    cursor: pointer;
}

.share-checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

/* Diet Preference Tags */
.diet-preference-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.diet-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.diet-tag-type {
    background: #dbeafe;
    color: #1e40af;
}

.diet-tag-restriction {
    background: #fef3c7;
    color: #92400e;
}

.diet-tag-allergy {
    background: #fee2e2;
    color: #991b1b;
}

/* Daily Summary Stats */
.daily-macros-summary {
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    background: var(--background);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    text-align: center;
}

.macro-stat {
    display: flex;
    flex-direction: column;
}

.macro-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
}

.macro-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card-bg);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }

    .site-nav.open {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.125rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .contact-grid {
        gap: 2rem;
    }

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

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .package-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .package-status {
        text-align: left;
    }

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

    .fitness-stat {
        flex-direction: column;
        text-align: center;
    }

    .fitness-stat-info {
        align-items: center;
    }

    .chart-container {
        height: 200px;
    }

    .modal-content {
        width: 95%;
        margin: 1rem;
    }
}
