/* Importing existing navbar styles from assets_styles.css */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: url('../images/bg2.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
}

/* Reusing navbar styles from assets_styles.css */
.navbar {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0px 0;
    text-align: center;
    color: white;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar span {
    cursor: pointer;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
    font-weight: bold;
    font-size: 1.2em;
}

.navbar span:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.navbar span a {
    color: #4CAF50;
    text-decoration: none;
}

.navbar span a:hover {
    text-decoration: underline;
}

/* Dashboard-specific styles */
.dashboard-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    margin-top: 80px; /* Adjusted to make space for the navbar */
}

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 30%;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 250px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 15px;
}

.card-content {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    font-weight: bold;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: gray;
}

.progress-bar-container {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.progress-bar {
    width: 80%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin: 0 5px;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background-color: #4CAF50;
    border-radius: 5px;
    width: 0%; /* This will be dynamically updated */
}
