:root {
    --bg-color: #f0f4f8;
    --primary: #4F46E5;
    --primary-glow: rgba(79, 70, 229, 0.3);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --card-bg: rgba(255, 255, 255, 0.85);
    --border-color: rgba(255, 255, 255, 0.4);
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
    color: var(--text-main);
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

header {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    color: var(--text-main);
    letter-spacing: -1px;
}

.highlight {
    color: var(--primary);
}

header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin: 0;
}

main {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Glassmorphism Effect 2026 */
.glass-effect {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    padding: 2rem;
}

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

label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
}

input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.9);
}

input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.result-row .label {
    color: var(--text-muted);
}

.result-row .value {
    font-weight: 600;
    color: var(--text-main);
}

.divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0.5rem 0;
}

.net-salary {
    margin-top: 0.5rem;
}

.net-salary .label {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
}

.net-salary .value {
    font-size: 1.8rem;
    font-weight: 800;
}

/* AdSense Slots */
.ad-slot {
    width: 100%;
    min-height: 90px;
    box-sizing: border-box;
    overflow: hidden;
}

footer {
    margin-top: auto;
    padding-top: 3rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 600px;
}