/* Main container */
.nwtc-calculator {
    max-width: 600px;
    margin: 20px auto;
    padding: 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Form styling */
.nwtc-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

/* Button styling */
.nwtc-form button {
    background-color: #0073aa;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.nwtc-form button:hover {
    background-color: #005a87;
}

/* Results section */
.nwtc-results {
    margin-top: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #0073aa;
}

.nwtc-results h4 {
    margin: 0 0 15px 0;
    color: #333;
}

.nwtc-results p {
    margin: 10px 0;
    font-size: 15px;
    color: #555;
}

.nwtc-results span {
    font-weight: 600;
    color: #0073aa;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nwtc-calculator {
        margin: 10px;
        padding: 15px;
    }

    .nwtc-form button {
        width: 100%;
    }
}

/* Error states */
.form-group input:invalid {
    border-color: #dc3545;
}

.form-group input:invalid:focus {
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

/* Loading state */
.nwtc-form.loading button {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Success animation */
.nwtc-results.show {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Read more section */
.nwtc-read-more {
    margin-top: 25px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.nwtc-read-more-button {
    background: none;
    border: none;
    color: #0073aa;
    cursor: pointer;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    width: 100%;
    text-align: left;
}

.nwtc-read-more-button:hover {
    color: #005177;
}

.nwtc-expand-icon {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nwtc-read-more.expanded .nwtc-expand-icon {
    transform: rotate(180deg);
}

.nwtc-read-more-content {
    display: none;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-top: 10px;
}

.nwtc-read-more.expanded .nwtc-read-more-content {
    display: block;
}

.nwtc-formula-general ol,
.nwtc-formula-specific ol {
    margin: 10px 0;
    padding-left: 20px;
}

.nwtc-formula-general li,
.nwtc-formula-specific li {
    margin-bottom: 15px;
    line-height: 1.4;
    color: #444;
}

.nwtc-formula-general li br,
.nwtc-formula-specific li br {
    margin-bottom: 5px;
}

.nwtc-formula-specific span {
    color: #0073aa;
    font-weight: 500;
}

.calc-highlight {
    color: #0073aa;
    font-weight: 500;
}
.nwtc-limitations {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-left: 4px solid #0073aa;
    font-size: 0.95em;
    line-height: 1.5;
}

.nwtc-limitations p {
    margin: 0;
    color: #444;
}
