/* Professional WeStrive Styles */

:root {
    --primary-color: #6f42c1;
    --primary-dark: #5a359b;
    --primary-light: #8a5dd1;
    --secondary-color: #ff6b35;
    --accent-color: #00d4aa;
    --dark-bg: #1a1a1a;
    --light-text: #ffffff;
    --gray-text: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --border-radius: 12px;
    --box-shadow: 0 4px 15px rgba(111, 66, 193, 0.15);
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--gray-text);
    font-size: 1.1rem;
}

/* Program Cards */
.program-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(111, 66, 193, 0.25);
}

.program-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.program-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.program-card p {
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.program-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.program-features li {
    color: var(--gray-text);
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-right: 1.5rem;
}

.program-features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    right: 0;
    top: 0.5rem;
}

.program-features li:last-child {
    border-bottom: none;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color), #34ce57);
    border: none;
    border-radius: var(--border-radius);
}

/* Navigation Styles */
.navbar-dark .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .program-card {
        margin-bottom: 1.5rem;
    }
    
    .program-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Auth Form Styles */
.auth-form-container {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
    max-width: 500px;
    margin: 0 auto;
}

.brand-logo {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
}

.brand-logo:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.auth-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--gray-text);
    margin-bottom: 2rem;
}

.form-control {
    border-radius: var(--border-radius);
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.25);
}

.input-group-text {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-right: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

/* Alert Styles */
.alert {
    border-radius: var(--border-radius);
    border: none;
    padding: 1rem 1.5rem;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spin {
    animation: spin 1s infinite linear;
}

/* Dashboard Styles */
.dashboard-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.dashboard-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    color: var(--gray-text);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Nutrition Styles */
.meal-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.meal-card:hover {
    transform: translateY(-2px);
}

.meal-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.nutrition-info {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.nutrition-item {
    text-align: center;
}

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

.nutrition-label {
    font-size: 0.8rem;
    color: var(--gray-text);
    text-transform: uppercase;
}