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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f9f3e8 0%, #e8dccc 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    max-width: 700px;
    width: 100%;
}

.calculator-card {
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.calculator-card:hover {
    transform: translateY(-5px);
}

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

.header h1 {
    font-size: 1.8rem;
    color: #2c1810;
    margin-bottom: 0.5rem;
}

.header p {
    color: #666;
    margin-bottom: 0.5rem;
}

.currency {
    display: inline-block;
    background: #f9f3e8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #6b4c3b;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c1810;
}

.input-wrapper {
    position: relative;
}

.currency-symbol {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b4c3b;
    font-weight: bold;
    pointer-events: none;
}

input[type="number"] {
    width: 100%;
    padding: 12px 15px 12px 45px;
    font-size: 1.1rem;
    border: 2px solid #e0c8b0;
    border-radius: 12px;
    transition: all 0.3s;
    font-family: inherit;
}

input[type="number"]:focus {
    outline: none;
    border-color: #6b4c3b;
    box-shadow: 0 0 0 3px rgba(107, 76, 59, 0.1);
}

.options {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #555;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.results {
    background: #f9f3e8;
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.result-card {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0c8b0;
}

.result-card h3 {
    font-size: 1.2rem;
    color: #2c1810;
    margin-bottom: 0.5rem;
}

.result-value {
    font-size: 2.2rem;
    font-weight: bold;
    color: #6b4c3b;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.result-item {
    background: #fff;
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.result-item span {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.result-item strong {
    font-size: 1.2rem;
    color: #2c1810;
}

.total-deduction {
    background: #ffe8e0;
}

.total-deduction strong {
    color: #c0392b;
}

.employer-pension {
    background: #e8f0fe;
}

.actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.btn-pdf {
    background: #2c1810;
    color: #fff;
}

.btn-pdf:hover {
    background: #6b4c3b;
    transform: translateY(-2px);
}

.btn-reset {
    background: #f0f0f0;
    color: #333;
}

.btn-reset:hover {
    background: #ddd;
}

.disclaimer {
    background: #fff3e0;
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    gap: 10px;
    font-size: 0.75rem;
    color: #b87c4f;
}

.disclaimer i {
    margin-top: 2px;
}

/* Responsive */
@media (max-width: 550px) {
    .calculator-card {
        padding: 1.5rem;
    }

    .result-value {
        font-size: 1.6rem;
    }

    .result-grid {
        grid-template-columns: 1fr;
    }

    .actions {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }
}

