/* ========================================
   GymPro My Account Dashboard Styles
   ======================================== */

/* Dashboard Container */
.gympro-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Dashboard Header */
.gympro-dashboard-header {
    margin-bottom: 30px;
}

.gympro-dashboard-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px 0;
}

.dashboard-subtitle {
    font-size: 16px;
    color: #7f8c8d;
    margin: 0;
}

/* Stats Grid */
.gympro-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Stat Card */
.gympro-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.gympro-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.gympro-stat-card .stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gympro-stat-card .stat-content {
    flex: 1;
}

.gympro-stat-card .stat-value {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
}

.gympro-stat-card .stat-label {
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 500;
}

/* Stat Card Variants */
.gympro-stat-primary {
    border-left-color: #3498db;
}

.gympro-stat-primary .stat-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.gympro-stat-primary .stat-value {
    color: #3498db;
}

.gympro-stat-success {
    border-left-color: #2ecc71;
}

.gympro-stat-success .stat-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
}

.gympro-stat-success .stat-value {
    color: #2ecc71;
}

.gympro-stat-warning {
    border-left-color: #f39c12;
}

.gympro-stat-warning .stat-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

.gympro-stat-warning .stat-value {
    color: #f39c12;
}

.gympro-stat-info {
    border-left-color: #9b59b6;
}

.gympro-stat-info .stat-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #fff;
}

.gympro-stat-info .stat-value {
    color: #9b59b6;
}

/* Quick Actions */
.gympro-quick-actions {
    margin-bottom: 40px;
}

.gympro-quick-actions h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 20px 0;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.quick-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.quick-action-btn svg {
    flex-shrink: 0;
}

.quick-action-btn.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.quick-action-btn.btn-success {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
}

.quick-action-btn.btn-info {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

/* Recent Activity */
.gympro-recent-activity {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.activity-section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.activity-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 20px 0;
}

.activity-list {
    margin-bottom: 16px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #ecf0f1;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}

.activity-meta {
    font-size: 13px;
    color: #7f8c8d;
}

.activity-status {
    flex-shrink: 0;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    background: #ecf0f1;
    color: #7f8c8d;
}

.status-badge.status-success {
    background: #d5f4e6;
    color: #27ae60;
}

.status-badge.status-warning {
    background: #fef5e7;
    color: #f39c12;
}

.status-badge.status-danger {
    background: #fadbd8;
    color: #e74c3c;
}

.view-all-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #2980b9;
    text-decoration: none;
}

.no-activity {
    text-align: center;
    padding: 40px 20px;
    color: #95a5a6;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .gympro-dashboard {
        padding: 16px;
    }
    
    .gympro-dashboard-header h2 {
        font-size: 24px;
    }
    
    .gympro-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .gympro-recent-activity {
        grid-template-columns: 1fr;
    }
}

/* WooCommerce My Account Navigation Override */
.woocommerce-MyAccount-navigation {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 8px;
}

.woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: #f8f9fa;
    color: #3498db;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}
