:root {
    --primary: #3b82f6;
    --secondary: #2563eb;
    --background: #f8fafc;
}

* {
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    margin: 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    min-height: 100vh;
}

.calculator-container {
    max-width: 600px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

h1 {
    color: #1e293b;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.input-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #475569;
    font-weight: 500;
}

input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s;
}

button:hover {
    transform: translateY(-1px);
}

.result {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f1f5f9;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 600;
    color: #1e293b;
    opacity: 0;
    transition: opacity 0.3s;
}

.disclaimer {
    margin-top: 2rem;
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}