.nz-gst-calculator {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 100%;
    margin: 0 auto 2em;
    padding: 1em;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e1e1e1;
}

.nz-gst-calculator h2 {
    color: #006341;
    margin-top: 0;
    font-size: 1.5em;
    border-bottom: 2px solid #006341;
    padding-bottom: 0.5em;
}

.nz-gst-calculator p {
    margin-bottom: 1.5em;
    color: #666;
}

.calculator-container {
    margin-top: 1.5em;
}

.input-section {
    background: white;
    padding: 1.5em;
    border-radius: 8px;
    margin-bottom: 1.5em;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.input-group {
    margin-bottom: 1.2em;
}

.input-group label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 600;
    color: #444;
}

.input-group input {
    width: 100%;
    padding: 0.75em;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: #006341;
    box-shadow: 0 0 0 2px rgba(0, 99, 65, 0.1);
}

.currency-symbol {
    position: relative;
    display: block;
}

.currency-symbol:before {
    content: '$';
    position: absolute;
    left: 0.75em;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-weight: 600;
    z-index: 1;
    pointer-events: none;
}

.currency-symbol input {
    padding-left: 1.75em;
    padding-right: 0.75em;
}

/* Fixed Radio Button Styles */
.radio-group {
    margin-top: 1.5em;
    padding-top: 1em;
    border-top: 1px solid #eee;
}

.radio-group > label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 600;
    color: #444;
}

.radio-options {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
    margin-top: 0.5em;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.75em;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.radio-option:hover {
    border-color: #006341;
    background: #f8f8f8;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 0.75em;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-option input[type="radio"]:checked + .radio-checkmark {
    border-color: #006341;
    background: #006341;
}

.radio-option input[type="radio"]:checked + .radio-checkmark:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.radio-option-text {
    color: #333;
    transition: color 0.3s ease;
    font-weight: normal;
}

.radio-option input[type="radio"]:checked ~ .radio-option-text {
    color: #006341;
    font-weight: 600;
}

#gst_calculate_btn {
    background-color: #006341;
    color: white;
    border: none;
    padding: 0.75em 1em;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    width: 100%;
    margin-top: 1em;
    transition: background-color 0.3s, transform 0.1s;
    font-weight: 600;
}

#gst_calculate_btn:hover {
    background-color: #004d33;
}

#gst_calculate_btn:active {
    transform: translateY(1px);
}

.results {
    background: white;
    padding: 1.5em;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1.5em;
}

.results h3 {
    color: #006341;
    margin-top: 0;
    margin-bottom: 1.5em;
    text-align: center;
    font-size: 1.3em;
}

.calculation-results {
    margin-bottom: 1.5em;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1em;
    padding: 0.75em;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.result-item.highlight {
    background: #e8f4f0;
    border-color: #006341;
    border-left: 4px solid #006341;
}

.result-label {
    font-weight: 600;
    color: #444;
}

.result-value {
    font-weight: 700;
    color: #006341;
    font-size: 1.1em;
}

.gst-breakdown {
    background: #f8f9fa;
    padding: 1em;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.gst-breakdown h4 {
    margin-top: 0;
    margin-bottom: 0.5em;
    color: #006341;
}

.breakdown-text {
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
}

.gst-info {
    background: #e8f4f0;
    padding: 1.5em;
    border-radius: 8px;
    border-left: 4px solid #006341;
}

.gst-info h4 {
    margin-top: 0;
    color: #006341;
    margin-bottom: 0.75em;
}

.gst-info ul {
    margin: 0;
    padding-left: 1.2em;
    color: #666;
}

.gst-info li {
    margin-bottom: 0.5em;
}

.gst-info li:last-child {
    margin-bottom: 0;
}

.gst-info strong {
    color: #006341;
}

/* Responsive design */
@media (max-width: 768px) {
    .nz-gst-calculator {
        padding: 0.8em;
        margin: 0 auto 1.5em;
    }
    
    .input-section, .results, .gst-info {
        padding: 1em;
    }
    
    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5em;
    }
    
    .result-value {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .nz-gst-calculator {
        padding: 0.6em;
    }
    
    .input-group input {
        padding: 0.6em;
    }
    
    .currency-symbol input {
        padding-left: 1.5em;
    }
    
    #gst_calculate_btn {
        padding: 0.6em;
    }
    
    .radio-option {
        padding: 0.6em;
    }
    
    .radio-checkmark {
        width: 16px;
        height: 16px;
        margin-right: 0.5em;
    }
}