
/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
}
#error-messages {
    color: red;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px; /* Adjust as needed for spacing */
}
header {
    background: #f7ce4d;
    color: white;
    padding: 10px 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0 !important;
    font-size: 1.5em !important;
    color: white !important;
}
h1 {
    text-align: center !important;
    color:#f7ce4d !important;
}

/* Main score section */
.score-section {
    text-align: center;
    margin: 30px auto;
}

.main-score {
    font-size: 3em;
    font-weight: bold;
    color: #f7ce4d;
    margin: 0;
}

.dots-score {
    font-size: 1.5em;
    color: #666;
}

/* Form section */
.form-section {
    background: white;
    border-radius: 10px;
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

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

input[type="number"] {
    width: calc(100% - 20px);
    border-radius: 10px; /* Rounded corners */
    padding: 10px;
    margin-bottom: 15px;
    font-size: 1em;
}

.radio-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.radio-group div {
    display: flex;
    flex-direction: column;
}

button.calculate-btn {
    background-color: #f44336;
    color: white;
    font-size: 1em;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button.calculate-btn:hover {
    background-color: #d32f2f;
}

/* Footer styles */
footer {
    text-align: center;
    font-size: 0.8em;
    color: #666;
    margin: 20px 0;
}

footer a {
    color: #f7ce4d;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
/* Style the select box */
select {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    appearance: none;  /* Removes default dropdown arrow */
    -webkit-appearance: none; /* For Safari */
    -moz-appearance: none; /* For Firefox */
    box-sizing: border-box;
}

/* Style the arrow for the custom select */
select::-ms-expand {
    display: none; /* Removes the default arrow in Internet Explorer */
}

/* Add a custom arrow using a background image */
select::after {
    content: '\25BC'; /* Downwards arrow symbol */
    font-size: 1.5em;
    color: #333;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none; /* Prevents arrow from interfering with selecting */
}

/* Style the select container */
select-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Hover and focus states */
select:hover, select:focus {
    border-color: #f7ce4d;
    outline: none;
}

/* Option styling */
option {
    padding: 10px;
    background-color: #fff;
    color: #333;
    font-size: 1em;
}

/* Change option color on hover */
option:hover {
    background-color: #f7ce4d;
    color: white;
}

/* Style for the calculate button */
button.calculate-btn {
    background-color: #f44336;
    color: white;
    font-size: 1em;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}

/* Hover effect for the button */
button.calculate-btn:hover {
    background-color: #d32f2f;
}




/* Media Query for Tablets and Larger Screens */
@media (min-width: 768px) {
    header h1 {
        font-size: 1.5em;
    }

    .form-section {
        max-width: 400px; /* Wider for tablets and desktops */
        padding: 20px;
    }

    label {
        font-size: 1.2em;
    }

    button.calculate-btn {
        font-size: 1.2em;
    }
