* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #ba9c06 0%, #cae2c3 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-image: url(https://plus.unsplash.com/premium_photo-1675865394635-4d76b94ef612?q=80&w=1025&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
}

.container {
    background-image: url(https://plus.unsplash.com/premium_photo-1675367606982-2a211004b593?q=80&w=1223&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 600px;
    width: 100%;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    color: #016f0c;
    font-size: 2.5em;
    margin-bottom: 10px;
}

header p {
    color: #f2f4f4;
    font-size: 1.1em;
    line-height: 1.6;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #108503;
    font-weight: 600;
}

.input-group input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s;
    border-color: #bc1805;
    background-color: #f4e06b;
    box-shadow: inset 42px 30px 20px rgba(20, 171, 3, 0.1);
                 inset: -12px -12px 70px rgba(9, 79, 2, 0.7);
}

.input-group input[type="number"]:focus {
    outline: none;
    border-color: #124a6f;
}

.gender-options {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.gender-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 15px;
    background: #c70909;
    border-radius: 10px;
    transition: background 0.3s;
}

.gender-options label:hover {
    background: #db1c0a;
}

.gender-options input[type="radio"] {
    width: 18px;
    height: 18px;
}

button {
    background: linear-gradient(135deg, #71db34 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 219, 52, 0.3);
}

button:active {
    transform: translateY(0);
}

.result-container {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    text-align: center;
    display: none;
}

.result-container.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.result-container h2 {
    color: #2ba309;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.result-container p {
    color: #6cd42f;
    font-size: 1.2em;
    line-height: 1.6;
}

.highlight {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.4em;
}

footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
    color: #114102;
    font-size: 0.9em;
    line-height: 1.5;
}
.table-reference {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #3498db;
    color: white;
}

.highlight-row {
    background-color: #fff3cd;
    font-weight: bold;
}