/* styles.css */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
}

h1 {
    text-align: center;
    color: #333;
    margin-top: 50px;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

h3 {
    text-align: center;
    color: #2c3e50; /* Dark blue color */
    font-size: 1.8em;
    margin-bottom: 20px;
}

p {
    text-align: center;
    color: #2c3e50; /* Dark blue color */
    margin-bottom: 20px;
}

button {
    background-color: #2980b9; /* Blue color */
    color: #fff;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin: 10px;
    font-size: 16px;
    transition: background-color 0.3s ease-in-out;
}

button:hover {
    background-color: #1f618d; /* Darker shade of blue */
}

.list, .calculators {
    margin: 20px auto;
    max-width: 600px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.calculator {
    text-align: center;
}

.calculator label {
    display: block;
    margin-bottom: 10px;
    color: #333;
}

.calculator input[type="number"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    max-width: 300px;
    margin-bottom: 10px;
}

.calculator button {
    background-color: #2980b9; /* Blue color */
    color: #fff;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease-in-out;
}

.calculator button:hover {
    background-color: #1f618d; /* Darker shade of blue */
}

#netWorth {
    text-align: center;
    font-size: 1.2em;
    margin-top: 20px;
}

/* Additional CSS for points counter */
#points {
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
}

#lineChart {
    width: 90%; /* 90% width of the viewport */
    height: 300px; /* Fixed height */
    margin: 0 auto; /* Center horizontally */
    display: block; /* Ensure block-level element */
}

#netWorth {
    text-align: center;
    font-size: 1.2em;
    margin-top: 20px;
    background-color: #f9f9f9; /* Light gray background */
    padding: 10px; /* Add padding for spacing */
    border-radius: 5px; /* Add rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

/* CSS for theme toggle */
.theme-container {
    text-align: center; /* Center align the content */
}

#themeLabel {
    font-size: 1em;
    color: #333; /* Adjust color to match the theme */
    margin-right: 10px; /* Add spacing between label and select */
}

#themeSelect {
    font-size: 1em;
    padding: 5px;
    border: 1px solid #ccc; /* Add border for visual separation */
    border-radius: 5px;
    background-color: #fff; /* Adjust background color to match the theme */
    color: #333; /* Adjust color to match the theme */
}
