/* Global Styles */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 20px;
    background-color: #E8FCFA;
}

.container {
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 8px;
    max-width: 650px;
    margin: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: #393341;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    width: 150px;
    height: auto;
}

/* Form Group Styles */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    color: #393341;
}

input[type="text"], input[type="number"], select {
    width: 100%;
    padding: 10px;
    border: 1px solid #AFAFAF;
    border-radius: 5px;
    font-size: 14px;
    color: #393341;
    box-sizing: border-box;
}

/* Radio Button Styles */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
}

input[type="radio"] {
    margin-right: 5px;
}

/* Slider Styles */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 5px;
    background: #48A08F;
    border-radius: 5px;
    outline: none;
    margin-top: 5px;
    margin-bottom: 10px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: #07877B;
    cursor: pointer;
    border-radius: 50%;
}

.range-output {
    text-align: right;
    font-size: 14px;
    color: #393341;
}

/* Button Styles */
button {
    padding: 10px 20px;
    background-color: #F6D970;
    color: #393341;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: block;
    margin: 20px auto 0;
    text-align: center;
}

button:hover {
    background-color: #E8C860;
}

/* Result Section */
.result {
    margin-top: 20px;
    font-weight: bold;
    font-size: 14px;
}

/* Note Section Styles */
.note {
    margin-top: 40px;
    font-size: 12px;
    color: #393341;
    text-align: left;
}

.note ul {
    padding-left: 20px;
}

.note a {
    color: #07877B;
    text-decoration: none;
}

.note a:hover {
    text-decoration: underline;
}

/* Responsive Table Styles */
.result table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border: 1px solid #AFAFAF;
}

.result th, .result td {
    padding: 10px;
    text-align: right;
    border: 1px solid #AFAFAF;
}

.result th {
    background-color: #07877B;
    color: #FFFFFF;
}

.result tr:nth-child(even) {
    background-color: #E8FCFA;
}

.result tr:nth-child(odd) {
    background-color: #FFFFFF;
}

.result td small {
    display: block;
    color: #555;
    font-size: 12px;
    text-align: left;
}

.result {
    overflow-x: auto;
}

.result table {
    min-width: 700px;
}
