/* ===================== RESET WORDPRESS/THEME CONFLICTS ===================== */
.nmftlb2026calc-container {all: initial;display: block;}

/* WordPress Theme Compatibility - Reset and Isolation */
.nmftlb2026calc-container * {
box-sizing: border-box !important;
font-family: 'Poppins', Arial, sans-serif !important;
font-weight: normal !important;
}

.nmftlb2026calc-container p,
.nmftlb2026calc-container span,
.nmftlb2026calc-container div,
.nmftlb2026calc-container li,
.nmftlb2026calc-container label,
.nmftlb2026calc-container input,
.nmftlb2026calc-container select,
.nmftlb2026calc-container textarea {
font-weight: normal !important;
}

.nmftlb2026calc-container strong,
.nmftlb2026calc-container b {
font-weight: 700 !important;
}

.nmftlb2026calc-container h1,
.nmftlb2026calc-container h2,
.nmftlb2026calc-container h3,
.nmftlb2026calc-container h4,
.nmftlb2026calc-container h5,
.nmftlb2026calc-container h6 {
font-weight: 600 !important;
}

.nmftlb2026calc-container input, .nmftlb2026calc-container select, .nmftlb2026calc-container button, .nmftlb2026calc-container textarea {
-webkit-appearance: none !important;
-moz-appearance: none !important;
appearance: none !important;
background-image: none !important;
border-radius: 12px !important;
}

.nmftlb2026calc-container button {
cursor: pointer !important;
text-decoration: none !important;
}

/* ===================== MAIN CONTAINER ===================== */
.nmftlb2026calc-container {
width: 100% !important;
margin: 0 auto !important;
padding: 0px !important;
font-family: 'Poppins', Arial, sans-serif;
color: #222;
box-sizing: border-box;
}

.nmftlb2026calc-container *, .nmftlb2026calc-container *::before, .nmftlb2026calc-container *::after { 
box-sizing: border-box; 
}

/* ===================== HEADER ===================== */
.nmftlb2026calc-card-header {
text-align: center;
margin-bottom: 10px;
padding: 10px;
border-radius: 16px;
background: #fff;
box-shadow: 0 8px 20px rgba(0,0,0,0.1);
transition: transform .3s;
}

.nmftlb2026calc-card-header:hover {
transform: translateY(-2px);
}

.nmftlb2026calc-card-header h2 {
font-size: 24px;
color: #333;
font-weight: 600;
margin-bottom: 8px;
}

.nmftlb2026calc-card-header p {
font-size: 14px;
color: #555;
margin: 0 auto;
}

/* ===================== CARD ===================== */
.nmftlb2026calc-card {
background: #fff;
padding: 3px;
border-radius: 16px;
box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* ===================== INFO BOX ===================== */
.nmftlb2026calc-info-box {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: #fff;
padding: 16px;
border-radius: 12px;
margin-bottom: 20px;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nmftlb2026calc-info-box p {
margin: 0 0 10px 0;
font-size: 14px;
line-height: 1.6;
font-weight: normal !important;
}

.nmftlb2026calc-info-box p:last-child {
margin-bottom: 0;
}

.nmftlb2026calc-info-box strong {
font-weight: 700 !important;
}

/* ===================== WARNING BOX ===================== */
.nmftlb2026calc-warning-box {
background: #fff3cd;
border-left: 4px solid #ffc107;
padding: 12px 16px;
border-radius: 8px;
margin: 16px 0;
}

.nmftlb2026calc-warning-box p {
margin: 0;
font-size: 13px;
color: #856404;
line-height: 1.5;
font-weight: normal !important;
}

.nmftlb2026calc-warning-box strong {
color: #d39e00;
font-weight: 700 !important;
}

/* ===================== INPUT SECTION ===================== */
.nmftlb2026calc-input-section {
background: #fff;
padding: 20px;
border-radius: 16px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
margin: 0;
}

.nmftlb2026calc-section-heading {
margin-bottom: 16px;
}

.nmftlb2026calc-section-heading h4 {
margin: 0 0 8px 0;
font-weight: 600;
font-size: 18px;
color: #1976d2;
border-bottom: 2px solid #1976d2;
padding-bottom: 8px;
}

.nmftlb2026calc-input-row {
display: flex;
gap: 12px;
flex-wrap: wrap;
margin-bottom: 16px;
}

.nmftlb2026calc-input-group {
flex: 1;
min-width: 200px;
}

.nmftlb2026calc-input-group label {
display: block;
margin-bottom: 6px;
font-weight: 600 !important;
font-size: 14px;
color: #1976d2;
}

.nmftlb2026calc-input-group input, .nmftlb2026calc-input-group select {
width: 100%;
padding: 12px 14px;
border: 1px solid #90caf9;
border-radius: 12px;
font-size: 15px;
transition: .3s;
background: #fff;
font-weight: normal !important;
}

.nmftlb2026calc-input-group input:focus, .nmftlb2026calc-input-group select:focus {
outline: none;
border-color: #1976d2;
box-shadow: 0 0 0 3px rgba(25,118,210,0.15);
}

.nmftlb2026calc-unit-input {
display: flex;
gap: 8px;
}

.nmftlb2026calc-unit-input input {
flex: 2;
}

.nmftlb2026calc-unit-input select {
flex: 1;
}

/* ===================== CHECKBOX ===================== */
.nmftlb2026calc-checkbox-options {
display: flex;
flex-direction: column;
gap: 8px;
}

.nmftlb2026calc-checkbox-option {
display: flex;
align-items: center;
gap: 10px;
padding: 12px;
border-radius: 8px;
background: #f8f9fa;
border: 2px solid #e0e0e0;
transition: all 0.2s;
}

.nmftlb2026calc-checkbox-option:hover {
background-color: #e3f2fd;
border-color: #90caf9;
}

.nmftlb2026calc-checkbox-option input[type="checkbox"] {
width: 22px;
height: 22px;
cursor: pointer;
accent-color: #1976d2;
border: 2px solid #1976d2;
border-radius: 4px;
flex-shrink: 0;
}

.nmftlb2026calc-checkbox-option input[type="checkbox"]:checked {
background-color: #1976d2;
}

.nmftlb2026calc-checkbox-option label {
cursor: pointer;
font-size: 14px;
margin: 0;
font-weight: 500 !important;
color: #333;
user-select: none;
flex: 1;
}

/* ===================== BUTTONS ===================== */
.nmftlb2026calc-btn-group {
display: flex;
gap: 12px;
margin-top: 20px;
}

.nmftlb2026calc-calculate-btn,
.nmftlb2026calc-reset-btn {
flex: 1;
padding: 14px;
border: none;
border-radius: 12px;
font-weight: 700 !important;
font-size: 16px;
cursor: pointer;
transition: .2s;
}

.nmftlb2026calc-calculate-btn {
background: #1976d2;
color: #fff;
}

.nmftlb2026calc-calculate-btn:hover {
background: #125ea8;
transform: translateY(-2px);
}

.nmftlb2026calc-reset-btn {
background: #f44336;
color: #fff;
}

.nmftlb2026calc-reset-btn:hover {
background: #c62828;
transform: translateY(-2px);
}

/* ===================== RESULT CONTAINER ===================== */
.nmftlb2026calc-result-container {
margin-top: 30px;
background: #fff;
padding: 24px;
border-radius: 16px;
box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.nmftlb2026calc-result-container.nmftlb2026calc-hidden {
display: none;
}

.nmftlb2026calc-result-container h3 {
font-size: 22px;
color: #1976d2;
margin: 0 0 20px 0;
text-align: center;
font-weight: 700;
}

/* ===================== RESULTS GRID ===================== */
.nmftlb2026calc-results-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 16px;
margin-bottom: 24px;
}

.nmftlb2026calc-result-card {
background: #f5f5f5;
padding: 20px;
border-radius: 12px;
text-align: center;
transition: all 0.3s;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.nmftlb2026calc-result-card.nmftlb2026calc-primary {
background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
color: #fff;
transform: scale(1.05);
}

.nmftlb2026calc-result-card:hover {
transform: translateY(-4px);
box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.nmftlb2026calc-result-title {
font-size: 13px;
font-weight: 600 !important;
margin-bottom: 8px;
opacity: 0.9;
}

.nmftlb2026calc-result-value {
font-size: 32px;
font-weight: 700 !important;
margin-bottom: 4px;
}

.nmftlb2026calc-result-unit {
font-size: 14px;
font-weight: 500 !important;
opacity: 0.8;
}

/* ===================== CALCULATION STEPS ===================== */
.nmftlb2026calc-calculation-steps {
background: #f3e5f5;
padding: 20px;
border-radius: 12px;
margin-bottom: 20px;
}

.nmftlb2026calc-calculation-steps h4 {
margin: 0 0 12px 0;
font-size: 16px;
color: #4a148c;
font-weight: 600;
}

.nmftlb2026calc-steps-content {
font-size: 13px;
color: #6a1b9a;
line-height: 1.8;
font-weight: normal !important;
}

.nmftlb2026calc-steps-content p {
margin: 8px 0;
font-weight: normal !important;
}

.nmftlb2026calc-steps-content strong {
color: #4a148c;
font-weight: 700 !important;
}

.nmftlb2026calc-steps-content em {
font-style: italic;
font-weight: normal !important;
}

/* ===================== EDUCATIONAL INFO ===================== */
.nmftlb2026calc-educational-info {
background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
padding: 20px;
border-radius: 12px;
margin-bottom: 20px;
}

.nmftlb2026calc-educational-info h4 {
margin: 0 0 12px 0;
font-size: 16px;
color: #2e7d32;
font-weight: 600;
}

.nmftlb2026calc-educational-info p {
margin: 8px 0;
font-size: 13px;
color: #1b5e20;
line-height: 1.8;
font-weight: normal !important;
}

.nmftlb2026calc-educational-info strong {
font-weight: 700 !important;
}

/* ===================== COMPARISON TABLE ===================== */
.nmftlb2026calc-comparison-table {
background: #fff8e1;
padding: 20px;
border-radius: 12px;
margin-bottom: 20px;
}

.nmftlb2026calc-comparison-table h4 {
margin: 0 0 16px 0;
font-size: 16px;
color: #f57c00;
font-weight: 600;
}

.nmftlb2026calc-comparison-table table {
width: 100%;
border-collapse: collapse;
}

.nmftlb2026calc-comparison-table th,
.nmftlb2026calc-comparison-table td {
padding: 10px;
text-align: left;
border-bottom: 1px solid #ffe082;
font-size: 13px;
}

.nmftlb2026calc-comparison-table th {
background: #ffecb3;
color: #e65100;
font-weight: 600 !important;
}

.nmftlb2026calc-comparison-table td {
color: #e65100;
font-weight: normal !important;
}

/* ===================== UNITS OVERVIEW ===================== */
.nmftlb2026calc-units-overview {
background: linear-gradient(135deg, #e1f5fe 0%, #b3e5fc 100%);
padding: 20px;
border-radius: 12px;
margin-bottom: 20px;
border: 2px solid #0277bd;
}

.nmftlb2026calc-units-overview h4 {
margin: 0 0 16px 0;
font-size: 18px;
color: #01579b;
font-weight: 600;
text-align: center;
}

.nmftlb2026calc-units-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 16px;
}

.nmftlb2026calc-unit-box {
background: #fff;
padding: 16px;
border-radius: 8px;
border-left: 4px solid #0288d1;
}

.nmftlb2026calc-unit-box h5 {
margin: 0 0 8px 0;
font-size: 15px;
color: #0277bd;
font-weight: 600;
}

.nmftlb2026calc-unit-box p {
margin: 4px 0;
font-size: 13px;
color: #01579b;
line-height: 1.6;
font-weight: normal !important;
}

/* ===================== APPLICATIONS ===================== */
.nmftlb2026calc-applications {
background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
padding: 20px;
border-radius: 12px;
margin-bottom: 20px;
}

.nmftlb2026calc-applications h4 {
margin: 0 0 12px 0;
font-size: 16px;
color: #880e4f;
font-weight: 600;
}

.nmftlb2026calc-applications ul {
margin: 0;
padding-left: 20px;
list-style: none;
}

.nmftlb2026calc-applications li {
margin-bottom: 8px;
font-size: 14px;
color: #ad1457;
position: relative;
padding-left: 24px;
font-weight: normal !important;
}

.nmftlb2026calc-applications li:before {
content: "🔧";
position: absolute;
left: 0;
}

/* ===================== HIDDEN ===================== */
.nmftlb2026calc-hidden {
display: none !important;
}

/* ===================== RESPONSIVE ===================== */
@media(max-width: 768px) {
.nmftlb2026calc-container {
padding: 0 !important;
}

.nmftlb2026calc-input-row {
flex-direction: column;
gap: 16px;
}

.nmftlb2026calc-input-group {
min-width: 100%;
}

.nmftlb2026calc-input-group input, .nmftlb2026calc-input-group select {
font-size: 16px !important;
padding: 14px 16px;
height: auto !important;
}

.nmftlb2026calc-unit-input {
display: flex;
gap: 8px;
}

.nmftlb2026calc-unit-input input {
width: 65% !important;
flex: 2;
}

.nmftlb2026calc-unit-input select {
width: 35% !important;
flex: 1;
}

.nmftlb2026calc-results-grid {
grid-template-columns: 1fr;
gap: 12px;
}

.nmftlb2026calc-btn-group {
flex-direction: column;
gap: 16px;
}

.nmftlb2026calc-calculate-btn,
.nmftlb2026calc-reset-btn {
padding: 16px;
font-size: 18px;
}

.nmftlb2026calc-card-header h2 {
font-size: 22px;
}

.nmftlb2026calc-result-value {
font-size: 28px;
}

.nmftlb2026calc-comparison-table {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
display: block;
}

.nmftlb2026calc-units-grid {
grid-template-columns: 1fr;
}
}