body {
    font-family: 'Times New Roman', Times, serif;
    background: linear-gradient(180deg, #f9fbff 0%, #e7eef7 100%);
    color: #333;
    margin: 0;
    padding: 0;
    background: #e1ecf7;
}


.container {
    max-width: 700px;
    margin: 50px auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 30px 40px;
}

h1 {
    text-align: center;
    color: #0066cc;
    margin-bottom: 30px;
    font-size: 26px;
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 25px;
    align-items: center;
}

label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #444;
}


input, select {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

input:focus, select:focus {
    border-color: #0066cc;
    outline: none;
}

button {
    grid-column: 1 / -1;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

button:hover {
    background: #004c99;
}


.result {
    margin-top: 25px;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.result.positive {
    background-color: #d9534f
}
.result.negative {
    background-color: #4fd961
}
.footer {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #888;
    width: 100%;
}

.info-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: help;
    position: relative;
}


.info-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 22px;
    left: 0;
    background: #f0f6ff;
    color: #333;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.3;
    white-space: pre-line;
    width: 260px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 10;
}


.info-icon:hover::after {
    opacity: 1;
    transform: translateY(0);
}
