/* Container Styling */
.life-maxing-container {
    background-color: #000; /* Black background */
    color: #fff;            /* White text */
    padding: 20px;
    border-radius: 10px;
    max-width: 800px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

/* Chart Container */
.life-maxing-chart {
    background-color: #1a1a1a;
    padding: 80px;
    border-radius: 10px;
    margin-bottom: 30px;
    max-width: 800px;
    margin: 0 auto 30px auto;
    max-height: 600px; /* Maximum height */
    height: 100%; /* Allow it to grow up to max-height */
}

/* Chart Title */
.life-maxing-chart h3 {
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
}

/* Task Item Styling */
.task-item {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #555; /* Light gray border */
    border-radius: 5px;
    background-color: #111; /* Slightly lighter dark background */
}

.task-item h4 {
    color: #fff; /* Pure white */
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* Progress Bar Container */
.progress-bar-container {
    background-color: #333; /* Dark gray background for progress container */
    height: 20px;
    border-radius: 5px;
    overflow: hidden;
    margin: 10px 0;
    width: 100%; /* Ensure full width */
    position: relative; /* For positioning the progress value */
}

/* Progress Bar */
.progress-bar {
    background-color: #28a745; /* Green progress bar */
    height: 100%;
    transition: width 0.5s ease; /* Smooth transition */
}

/* Progress Value */
.progress-value {
    color: #fff; /* White text for progress percentage */
    font-size: 12px;
    position: absolute;
    width: 100%;
    text-align: center;
    top: 0;
    left: 0;
}

/* Last Updated Styling */
.last-updated {
    font-size: 0.9em;
    color: #ccc;
    margin-bottom: 10px;
}

/* Button Styling */
.add-points {
    background-color: #28a745; /* Green button */
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-points:hover {
    background-color: #218838; /* Darker green on hover */
}

.add-points:disabled {
    background-color: #6c757d; /* Gray background when disabled */
    cursor: not-allowed;
}

/* Responsive Chart */
.life-maxing-chart canvas {
    width: 100% !important;
    height: 100% !important; /* Fill the container's fixed height */
}
