/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333;
    --border-radius: 4px;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
    background-color: #f5f7fa;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    min-height: 100vh;
    position: relative;
}

/* Button Styles */
.btn {
    padding: 10px 18px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    20% {
        transform: scale(25, 25);
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

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

.btn-primary:hover {
    background-color: #2980b9;
}

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

.btn-success:hover {
    background-color: #27ae60;
}

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

.btn-danger:hover {
    background-color: #c0392b;
}

.btn-info {
    background-color: #3498db;
    color: white;
}

.btn-info:hover {
    background-color: #2980b9;
}

.btn-secondary {
    background-color: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

.btn-logout {
    background-color: var(--light-color);
    color: var(--dark-color);
}

.btn-logout:hover {
    background-color: #bdc3c7;
}

/* Form Styles */
.form-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background-color: white;
    border-radius: 5px;
    box-shadow: var(--shadow);
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 14px;
}

textarea {
    height: 80px;
    resize: vertical;
}

.error-message {
    color: var(--danger-color);
    margin-top: 10px;
    font-size: 14px;
}

/* Login Section */
#login-section {
    display: block;
    height: 100vh;
    background-color: #f5f7fa;
}

.login-wrapper {
    display: flex;
    height: 100%;
    overflow: hidden;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, #3a7bd5, #00d2ff);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-left::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    filter: blur(0px) brightness(0.6);
    z-index: 0;
}

.login-info {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    max-width: 80%;
    padding: 40px;
}

.login-info h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}

.login-info .tagline {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 350px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-item:hover {
    transform: translateX(5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.feature-item i {
    font-size: 24px;
    margin-right: 15px;
}

.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-image {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo-image {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

#login-section h2 {
    color: var(--dark-color);
    font-size: 24px;
    margin: 0;
}

#login-section h3 {
    margin-bottom: 30px;
    color: var(--dark-color);
    font-size: 22px;
    font-weight: 600;
}

.form-container {
    max-width: 400px;
    width: 100%;
    padding: 30px;
}

.login-form {
    background: white;
    border-radius: var(--border-radius);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.input-with-icon input, 
.input-with-icon select {
    padding-left: 40px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-with-icon input:focus,
.input-with-icon select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
    outline: none;
}

.additional-options {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    width: auto;
    margin-right: 5px;
}

.remember-me label {
    display: inline;
    margin: 0;
    font-weight: normal;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

#login-form .btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

#login-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.or-divider {
    text-align: center;
    position: relative;
    margin: 20px 0;
}

.or-divider::before, 
.or-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background-color: #ddd;
}

.or-divider::before {
    left: 0;
}

.or-divider::after {
    right: 0;
}

.or-divider span {
    display: inline-block;
    background-color: white;
    padding: 0 10px;
    position: relative;
    color: #777;
    font-size: 14px;
}

.btn-google {
    width: 100%;
    background-color: white;
    border: 1px solid #ddd;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.btn-google i {
    margin-right: 10px;
    color: #DB4437;
}

.btn-google:hover {
    background-color: #f8f8f8;
}

.register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}

.register-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Dashboard Section */
.dashboard-section {
    display: none;
    min-height: 100vh;
}

.dashboard-section header {
    background: linear-gradient(90deg, var(--dark-color), #34495e);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 60px;
}

.dashboard-section header h2 {
    font-size: 20px;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    width: 230px;
    background: linear-gradient(180deg, var(--dark-color), #34495e);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    height: calc(100vh - 60px);
    top: 60px;
    left: 0;
    padding-top: 20px;
    transition: all 0.3s ease;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    padding: 15px 20px;
    cursor: pointer;
    color: #ecf0f1;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.sidebar li:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 4px solid rgba(255, 255, 255, 0.3);
}

.sidebar li.active {
    background-color: var(--primary-color);
    border-left: 4px solid var(--secondary-color);
}

.sidebar li i {
    margin-right: 10px;
    font-size: 16px;
}

/* Content Area */
.content {
    margin-left: 230px;
    margin-top: 60px;
    padding: 20px;
    min-height: calc(100vh - 60px);
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 15px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e1e1;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th, table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

table tbody tr:hover {
    background-color: #f5f5f5;
}

/* Search Bar */
.search-bar {
    margin-bottom: 20px;
}

.search-bar input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 14px;
}

/* Action Bar */
.action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 70%;
    max-width: 600px;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

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

/* Report Container */
.report-container {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    min-height: 300px;
}

.report-filters {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    margin-bottom: 20px;
}

.report-filters .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* Profile Info */
.profile-info {
    padding: 20px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
}

/* Notifications List */
.notifications-list {
    margin-top: 20px;
}

.notification-item {
    padding: 15px;
    border-bottom: 1px solid #e1e1e1;
    display: flex;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

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

.notification-item .date {
    color: #777;
    font-size: 13px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: var(--dark-color);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.footer-logo-image {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.footer-logo h4 {
    margin: 0;
    font-size: 18px;
    letter-spacing: 1px;
}

footer p {
    margin: 5px 0;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .sidebar {
        width: 70px;
        overflow: hidden;
    }

    .sidebar li span {
        display: none;
    }

    .sidebar li {
        text-align: center;
        padding: 15px 5px;
    }

    .sidebar li i {
        margin-right: 0;
        font-size: 20px;
    }

    .content {
        margin-left: 70px;
    }

    .modal-content {
        width: 90%;
    }

    .report-filters {
        flex-direction: column;
    }

    .login-wrapper {
        flex-direction: column;
    }
    
    .login-left {
        display: none;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .dashboard-card {
        margin-bottom: 15px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-avatar {
        margin: 0 auto 15px auto;
    }
}

/* Active Section */
.active-section {
    display: block;
}

/* Utility Classes */
.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

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

.text-danger {
    color: var(--danger-color);
}

.text-success {
    color: var(--secondary-color);
}

/* Additional animations and UI enhancements */

/* Form shake animation for validation errors */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

/* Card hover effects */
.member-card, .notification-item, .feature-item {
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.member-card:hover, .notification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.active {
    background-color: rgba(46, 204, 113, 0.15);
    color: #27ae60;
}

.status-badge.inactive {
    background-color: rgba(231, 76, 60, 0.15);
    color: #c0392b;
}

.status-badge.paid {
    background-color: rgba(46, 204, 113, 0.15);
    color: #27ae60;
}

.status-badge.pending {
    background-color: rgba(243, 156, 18, 0.15);
    color: #d35400;
}

/* Table row hover effect */
table tbody tr {
    transition: all 0.2s;
}

/* Dashboard enhancements */
.dashboard-section header {
    background: linear-gradient(90deg, var(--dark-color), #34495e);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Sidebar enhancements */
.sidebar {
    background: linear-gradient(180deg, var(--dark-color), #34495e);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
}

.sidebar li {
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.sidebar li:hover {
    border-left: 4px solid rgba(255, 255, 255, 0.3);
}

.sidebar li.active {
    border-left: 4px solid var(--secondary-color);
}

/* Button improvements */
.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
}

/* Form focus effects */
input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
    outline: none;
}

/* Profile card styling */
.profile-header {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border: 4px solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.profile-details h4 {
    margin: 0 0 5px 0;
    font-size: 22px;
}

.profile-details p {
    margin: 0 0 5px 0;
    color: #777;
}

/* Dashboard card styling */
.dashboard-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.dashboard-card-header h4 {
    margin: 0;
}

.dashboard-card-header .icon {
    font-size: 24px;
    color: var(--primary-color);
}

.dashboard-card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-card-content .value {
    font-size: 28px;
    font-weight: 600;
}

.dashboard-card-content .label {
    color: #777;
    font-size: 14px;
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

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

/* Dashboard Stats and Charts */
.dashboard-stats {
    margin-bottom: 30px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.dashboard-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.dashboard-card-header h4 {
    margin: 0;
    font-size: 16px;
    color: #777;
}

.dashboard-card-header .icon {
    font-size: 24px;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-card-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.dashboard-card-content .value {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 5px;
}

.dashboard-card-content .label {
    color: #777;
    font-size: 14px;
}

.trend {
    font-weight: 600;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 20px;
}

.trend.up {
    color: #27ae60;
    background-color: rgba(46, 204, 113, 0.1);
}

.trend.down {
    color: #c0392b;
    background-color: rgba(231, 76, 60, 0.1);
}

.report-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.chart-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.chart-container h4 {
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #555;
}

.chart-area {
    height: 300px;
    position: relative;
}

.chart-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Bar Chart Styling */
.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 80%;
    width: 80%;
}

.chart-bar {
    width: 12%;
    background: linear-gradient(to top, #3498db, #72b6ec);
    border-radius: 4px 4px 0 0;
    margin: 0 1%;
    transition: all 0.3s ease;
    position: relative;
}

.chart-bar:hover {
    background: linear-gradient(to top, #2980b9, #3498db);
    transform: scaleY(1.05);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* Donut Chart Styling */
.donut-chart {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: relative;
    margin: 0 auto;
}

.donut-segment {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    clip: rect(0px, 200px, 200px, 100px);
    transition: all 0.3s ease;
}

.donut-segment::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    clip: rect(0px, 100px, 200px, 0px);
    background-color: var(--bg);
    transform: rotate(calc(3.6deg * var(--offset)));
}

.donut-segment::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    clip: rect(0px, 100px, 200px, 0px);
    background-color: var(--bg);
    transform: rotate(calc(3.6deg * var(--value) + 3.6deg * var(--offset)));
}

.donut-segment:hover {
    transform: scale(1.05);
}

.donut-chart::before {
    content: "";
    position: absolute;
    width: 70%;
    height: 70%;
    background-color: white;
    border-radius: 50%;
    top: 15%;
    left: 15%;
    z-index: 1;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.chart-legend {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    margin-right: 8px;
    display: inline-block;
}

/* Responsive adjustments for charts */
@media screen and (max-width: 768px) {
    .report-charts {
        grid-template-columns: 1fr;
    }
    
    .chart-area {
        height: 250px;
    }
    
    .chart-bars {
        width: 100%;
    }
    
    .donut-chart {
        width: 150px;
        height: 150px;
    }
    
    .donut-segment::before,
    .donut-segment::after {
        clip: rect(0px, 75px, 150px, 0px);
    }
    
    .donut-chart::before {
        width: 70%;
        height: 70%;
    }
}

/* Workout and Nutrition Plans */

/* Workout Tabs */
.workout-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.workout-day {
    padding: 8px 16px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    background-color: #f5f5f5;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.workout-day:hover {
    background-color: #e5e5e5;
}

.workout-day.active {
    background-color: var(--primary-color);
    color: white;
}

.workout-content {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.day-plan {
    display: none;
}

.day-plan.active {
    display: block;
}

.day-plan h4 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.exercise-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.exercise-item {
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    background-color: #f9f9f9;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 15px;
    transition: all 0.3s ease;
}

.exercise-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.exercise-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.exercise-title {
    font-weight: 600;
    font-size: 16px;
}

.exercise-sets {
    color: #777;
    font-size: 14px;
}

.exercise-desc p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Nutrition Overview */
.nutrition-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.nutrition-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: all 0.3s ease;
}

.nutrition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.nutrition-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.nutrition-header h4 {
    margin: 0;
    font-size: 16px;
    color: #555;
}

.nutrition-header i {
    font-size: 20px;
    color: var(--primary-color);
}

.nutrition-value {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
}

.nutrition-progress {
    margin-top: 10px;
}

.progress-bar {
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), #72b6ec);
    border-radius: 4px;
    transition: width 1s ease;
}

.progress.protein {
    background: linear-gradient(to right, #e74c3c, #f39c12);
}

.progress.carbs {
    background: linear-gradient(to right, #2ecc71, #1abc9c);
}

.progress.fats {
    background: linear-gradient(to right, #9b59b6, #8e44ad);
}

.progress-label {
    font-size: 12px;
    color: #777;
    text-align: right;
}

/* Meal Plan */
.meal-plan {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 20px;
}

.meal-plan h4 {
    margin-top: 0;
    margin-bottom: 20px;
}

.meal-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.meal-tab {
    padding: 8px 16px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    color: #777;
}

.meal-tab::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.meal-tab:hover {
    color: var(--dark-color);
}

.meal-tab.active {
    color: var(--primary-color);
}

.meal-tab.active::after {
    width: 100%;
}

.meal-content {
    margin-top: 20px;
}

.meal-items {
    display: none;
}

.meal-items.active {
    display: block;
}

.meal-item {
    display: flex;
    gap: 20px;
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.meal-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.meal-image {
    width: 50px;
    height: 50px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.meal-details {
    flex-grow: 1;
}

.meal-details h5 {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.meal-details p {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #777;
}

.meal-macros {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.meal-macros span {
    background-color: #f5f5f5;
    border-radius: 30px;
    padding: 2px 10px;
    font-size: 12px;
    color: #555;
} 