:root {
    --primary: #558ed5;
    --primary-light: #bbd2ee;
    --background: #fafbff;
    --secondary: #cfdff4;
    --white: #ffffff;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 2rem;
    background-color: var(--background);
    color: #333;
    min-height: 100vh;
}

.calculator-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    box-shadow: 0 8px 32px rgba(85, 142, 213, 0.1);
    border-radius: 16px;
    padding: 2rem;
}

h1 {
    color: var(--primary);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.field {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(85, 142, 213, 0.1);
}

.field:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(85, 142, 213, 0.1);
}

.label-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.label {
    flex: 1;
    font-weight: 600;
    color: #2c3e50;
}

.sublabel {
    display: block;
    font-size: 0.85rem;
    color: #666;
}

.value-left {
    width: 150px;
    margin: 0 1rem;
    text-align: right;
}

.value-right {
    min-width: 160px;
    text-align: right;
    font-weight: 600;
    color: var(--primary);
}

input[type="number"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--primary-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input[type="number"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(85, 142, 213, 0.2);
}

.tags-section {
    background: var(--secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.tags-section h2 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 1.5rem;
}

.rfid-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.rfid-options label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--white);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rfid-options label:hover {
    background: var(--primary-light);
}

input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

input[type="range"] {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    background: var(--primary-light);
    border-radius: 4px;
    outline: none;
    margin: 1rem 0;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.total {
    font-size: 1.2em;
    color: var(--primary);
    font-weight: bold;
}

.special-case {
    border-bottom: 2px solid var(--primary-light);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
}

.special-case2 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
}

.special-case2 .label {
    flex: none;
}

.special-case2 input[type="range"] {
    margin: 0.5rem 0;
}

.special-case3 {
    margin-top: 1rem;
}

.total-section {
    background: var(--primary);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2rem;
}

.total-section .total-amount {
    font-size: 2rem;
    font-weight: 700;
}

.total-section .savings-label {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

#logo {
    text-align: center;
    margin: 20px auto;
}

#logo img {
    display: block;
    margin: 0 auto;
    max-width: 450px;
}
