/* Workouts Page Styles */
.workouts-main {
    min-height: calc(100vh - 80px);
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Strava Connection Section */
.strava-connect {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.connect-content {
    text-align: center;
    max-width: 500px;
}

.connect-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: lowercase;
}

.connect-description {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    opacity: 0.8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.strava-button {
    background: #fc5200;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: background 0.3s ease, transform 0.2s ease;
    font-family: inherit;
}

.strava-button:hover {
    background: #e04800;
    transform: translateY(-2px);
}

.strava-button svg {
    width: 20px;
    height: 20px;
}

/* Dashboard */
.workouts-dashboard {
    max-width: 1200px;
    margin: 0 auto;
}

/* Stats Overview */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
}

.stat-value {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: clamp(0.75rem, 1.25vw, 0.875rem);
    opacity: 0.7;
    text-transform: lowercase;
}

/* Activities Timeline */
.activities-timeline {
    margin-bottom: 3rem;
}

.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent-color);
    padding: 1.5rem;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    cursor: pointer;
    position: relative;
}

.activity-item:hover {
    transform: translateX(4px);
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.04);
}

.activity-item::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-color);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.activity-item:hover::before {
    opacity: 1;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.activity-name {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.activity-date {
    font-size: clamp(0.75rem, 1.25vw, 0.875rem);
    opacity: 0.6;
}

.activity-type {
    font-size: clamp(0.75rem, 1.25vw, 0.875rem);
    opacity: 0.6;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.activity-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.activity-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.activity-stat-value {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 600;
    color: var(--accent-color);
}

.activity-stat-label {
    font-size: clamp(0.7rem, 1.1vw, 0.75rem);
    opacity: 0.7;
    text-transform: lowercase;
}

/* Activity Visualization */
.activity-visualization {
    margin-bottom: 3rem;
}

.map-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    min-height: 400px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    opacity: 0.6;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 2rem;
    opacity: 0.7;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    opacity: 0.6;
}

