/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

.container {
    display: flex;
    flex-wrap: wrap;
}

/* Sidebar */
.sidebar {
    width: 250px;
    height: 100vh;
    background-color: #2c3e50;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
}

.sidebar .logo {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar nav a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    margin: 15px 0;
    display: block;
    width: 100%;
    padding: 10px;
    text-align: center;
    transition: background 0.3s;
}

.sidebar nav a.active,
.sidebar nav a:hover {
    background-color: #34495e;
}

/* Main Content */
main {
    margin-left: 250px;
    padding: 20px;
    flex-grow: 1;
}

/* Header */
.header h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

/* Profile Card */
.profile-card {
    display: flex;
    justify-content: space-between;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    align-items: center;
}

.profile-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.profile-info h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.profile-info p {
    color: #777;
    margin: 5px 0;
}

.profile-info button {
    background-color: #00bfa6;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.profile-info button:hover {
    background-color: #009688;
}

/* Overview Cards */
.overview-cards {
    display: flex;
    gap: 20px;
}

.card {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 150px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.card p {
    font-size: 1rem;
    color: #777;
}

/* Graph Section */
.graph-section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.graph-section h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
}

.graph-section select {
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    main {
        margin-left: 200px;
    }

    .sidebar {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .sidebar nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    main {
        margin-left: 0;
    }

    .profile-card {
        flex-direction: column;
        align-items: center;
    }

    .overview-cards {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .profile-card {
        padding: 15px;
    }

    .profile-photo {
        width: 80px;
        height: 80px;
    }

    .card {
        width: 100%;
        margin-bottom: 15px;
    }
}
