/* ===================== RESET WORDPRESS/THEME CONFLICTS ===================== */
* {
    scroll-behavior: smooth !important;
}

html {
    scroll-behavior: smooth;
}

.ftc2026xz-container {
isolation: isolate;
display: block;
}

/* WordPress Theme Compatibility - Reset and Isolation */
.ftc2026xz-container * {
box-sizing: border-box !important;
font-family: 'Poppins', Arial, sans-serif !important;
font-weight: normal !important;
}

.ftc2026xz-container p,.ftc2026xz-container span,.ftc2026xz-container div,.ftc2026xz-container li,.ftc2026xz-container label,.ftc2026xz-container input,.ftc2026xz-container select,.ftc2026xz-container textarea {
font-weight: normal !important;
}

.ftc2026xz-container strong,.ftc2026xz-container b {
font-weight: 700 !important;
}

.ftc2026xz-container h1,.ftc2026xz-container h2,.ftc2026xz-container h3,.ftc2026xz-container h4,.ftc2026xz-container h5,.ftc2026xz-container h6 {
font-weight: 600 !important;
}

.ftc2026xz-container input, .ftc2026xz-container select, .ftc2026xz-container button, .ftc2026xz-container textarea {
-webkit-appearance: none !important;
-moz-appearance: none !important;
appearance: none !important;
background-image: none !important;
border-radius: 12px !important;
}

.ftc2026xz-container button {
cursor: pointer !important;
text-decoration: none !important;
}

/* ===================== MAIN CONTAINER ===================== */
.ftc2026xz-container {
width: 100% !important;
max-width: 100% !important;
margin: 0 auto !important;
padding: 16px !important;
font-family: 'Poppins', Arial, sans-serif;
color: #222;
box-sizing: border-box;
}

.ftc2026xz-container *, .ftc2026xz-container *::before, .ftc2026xz-container *::after { 
box-sizing: border-box; 
}

/* ===================== HEADER ===================== */
.ftc2026xz-card-header {
text-align: center;
margin-bottom: 16px;
padding: 20px 16px;
border-radius: 16px;
background: #fff;
box-shadow: 0 8px 20px rgba(0,0,0,0.1);
transition: transform .3s;
}

.ftc2026xz-card-header:hover {
transform: translateY(-2px);
}

.ftc2026xz-card-header h2 {
font-size: 26px;
color: #333;
font-weight: 600;
margin-bottom: 8px;
line-height: 1.3;
}

.ftc2026xz-card-header p {
font-size: 15px;
color: #555;
margin: 0 auto;
line-height: 1.5;
}

/* ===================== CARD ===================== */
.ftc2026xz-card {
background: #fff;
padding: 16px;
border-radius: 16px;
box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* ===================== INFO BOX ===================== */
.ftc2026xz-info-box {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: #fff;
padding: 16px;
border-radius: 12px;
margin-bottom: 16px;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
transition: all 0.3s ease;
cursor: default;
position: relative;
overflow: hidden;
}

.ftc2026xz-info-box::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: rgba(255,255,255,0.1);
transform: rotate(45deg);
transition: all 0.5s ease;
}

.ftc2026xz-info-box:hover {
transform: translateY(-3px);
box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.ftc2026xz-info-box:hover::before {
left: 100%;
}

.ftc2026xz-info-box p {
margin: 0 0 10px 0;
font-size: 14px;
line-height: 1.6;
font-weight: normal !important;
position: relative;
z-index: 1;
}

.ftc2026xz-info-box p:last-child {
margin-bottom: 0;
}

.ftc2026xz-info-box strong {
font-weight: 700 !important;
}

/* Info Box Variants */
.ftc2026xz-info-box-blue {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.ftc2026xz-info-box-green {
background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.ftc2026xz-info-box-orange {
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.ftc2026xz-info-box-teal {
background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.ftc2026xz-info-boxes-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 16px;
margin-bottom: 20px;
}

.ftc2026xz-info-box-icon {
font-size: 24px;
margin-bottom: 8px;
display: block;
animation: ftc2026xz-float 3s ease-in-out infinite;
position: relative;
z-index: 1;
}

@keyframes ftc2026xz-float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-5px); }
}

.ftc2026xz-info-box-title {
font-size: 16px;
font-weight: 700 !important;
margin-bottom: 8px;
display: block;
position: relative;
z-index: 1;
}

/* ===================== WARNING BOX ===================== */
.ftc2026xz-warning-box {
background: #fff3cd;
border-left: 4px solid #ffc107;
padding: 12px 16px;
border-radius: 8px;
margin: 16px 0;
}

.ftc2026xz-warning-box p {
margin: 0;
font-size: 13px;
color: #856404;
line-height: 1.5;
font-weight: normal !important;
}

.ftc2026xz-warning-box strong {
color: #d39e00;
font-weight: 700 !important;
}

/* ===================== INPUT SECTION ===================== */
.ftc2026xz-input-section {
background: #fff;
padding: 24px;
border-radius: 16px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
margin: 0;
}

.ftc2026xz-section-heading {
margin-bottom: 20px;
}

.ftc2026xz-section-heading h4 {
margin: 0 0 12px 0;
font-weight: 600;
font-size: 20px;
color: #1976d2;
border-bottom: 2px solid #1976d2;
padding-bottom: 10px;
}

.ftc2026xz-input-row {
display: flex;
gap: 16px;
flex-wrap: wrap;
margin-bottom: 20px;
}

.ftc2026xz-input-group {
flex: 1;
min-width: 250px;
}

.ftc2026xz-input-group label {
display: block;
margin-bottom: 8px;
font-weight: 600 !important;
font-size: 15px;
color: #1976d2;
}

.ftc2026xz-input-group input, .ftc2026xz-input-group select {
width: 100%;
padding: 14px 16px;
border: 2px solid #90caf9;
border-radius: 12px;
font-size: 16px;
transition: .3s;
background: #fff;
font-weight: normal !important;
}

.ftc2026xz-input-group input:focus, .ftc2026xz-input-group select:focus {
outline: none;
border-color: #1976d2;
box-shadow: 0 0 0 4px rgba(25,118,210,0.15);
}

.ftc2026xz-unit-input {
display: flex;
gap: 10px;
}

.ftc2026xz-unit-input input {
flex: 2;
}

.ftc2026xz-unit-input select {
flex: 1;
}

/* ===================== CHECKBOX ===================== */
.ftc2026xz-checkbox-options {
display: flex;
flex-direction: column;
gap: 12px;
}

.ftc2026xz-checkbox-option {
display: flex;
align-items: center;
gap: 12px;
padding: 16px;
border-radius: 12px;
background: #f8f9fa;
border: 2px solid #e0e0e0;
transition: all 0.2s;
cursor: pointer;
}

.ftc2026xz-checkbox-option:hover {
background-color: #e3f2fd;
border-color: #90caf9;
}

.ftc2026xz-checkbox-option:active {
transform: scale(0.98);
}

.ftc2026xz-checkbox-option input[type="checkbox"] {
width: 24px;
height: 24px;
cursor: pointer;
accent-color: #1976d2;
border: 2px solid #1976d2;
border-radius: 6px;
flex-shrink: 0;
}

.ftc2026xz-checkbox-option input[type="checkbox"]:checked {
background-color: #1976d2;
}

.ftc2026xz-checkbox-option label {
cursor: pointer;
font-size: 15px;
margin: 0;
font-weight: 500 !important;
color: #333;
user-select: none;
flex: 1;
line-height: 1.5;
}

/* ===================== ADVANCED OPTIONS ===================== */
.ftc2026xz-advanced-options {
margin-top: 20px;
padding-top: 20px;
border-top: 2px dashed #e0e0e0;
}

.ftc2026xz-advanced-options h4 {
margin: 0 0 16px 0;
font-size: 16px;
color: #1976d2;
}

/* ===================== BUTTONS ===================== */
.ftc2026xz-quick-buttons {
display: flex;
flex-wrap: wrap;
gap: 10px;
}

.ftc2026xz-quick-buttons-section {
margin-bottom: 20px;
padding-bottom: 20px;
border-bottom: 2px solid #e0e0e0;
}

.ftc2026xz-quick-btn {
padding: 10px 16px;
border: 2px solid #1976d2;
background: #fff;
color: #1976d2;
border-radius: 20px;
font-weight: 600 !important;
font-size: 13px;
cursor: pointer;
transition: all .2s;
box-shadow: 0 2px 6px rgba(0,0,0,0.08);
position: relative;
overflow: hidden;
text-align: center;
line-height: 1.3;
}

.ftc2026xz-quick-btn span {
display: inline;
font-weight: 500 !important;
}

.ftc2026xz-quick-btn:hover {
background: #1976d2;
color: #fff;
transform: translateY(-2px);
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.ftc2026xz-quick-btn:active {
transform: scale(0.95);
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ftc2026xz-quick-btn.ftc2026xz-active {
background: #1976d2;
color: #fff;
animation: ftc2026xz-quick-pulse 0.3s ease;
}

@keyframes ftc2026xz-quick-pulse {
0% { transform: scale(1); }
50% { transform: scale(0.95); }
100% { transform: scale(1); }
}

.ftc2026xz-btn-group {
display: flex;
gap: 16px;
margin-top: 24px;
}

.ftc2026xz-calculate-btn,.ftc2026xz-reset-btn {
flex: 1;
padding: 16px 24px;
border: none;
border-radius: 12px;
font-weight: 700 !important;
font-size: 17px;
cursor: pointer;
transition: all .2s;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.ftc2026xz-calculate-btn {
background: #1976d2;
color: #fff;
}

.ftc2026xz-calculate-btn:hover {
background: #125ea8;
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.ftc2026xz-calculate-btn:active {
transform: translateY(0);
}

.ftc2026xz-reset-btn {
background: #f44336;
color: #fff;
}

.ftc2026xz-reset-btn:hover {
background: #c62828;
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.ftc2026xz-reset-btn:active {
transform: translateY(0);
}

/* ===================== RESULT CONTAINER ===================== */
.ftc2026xz-result-container {
margin-top: 32px;
background: #fff;
padding: 28px;
border-radius: 16px;
box-shadow: 0 8px 20px rgba(0,0,0,0.1);
scroll-margin-top: 100px;
transition: all 0.3s ease;
}

.ftc2026xz-result-container.ftc2026xz-hidden {
display: none;
}

.ftc2026xz-result-container.ftc2026xz-highlight {
animation: ftc2026xz-pulse 0.6s ease-in-out;
}

.ftc2026xz-result-actions {
display: flex;
gap: 12px;
justify-content: center;
margin-bottom: 20px;
flex-wrap: wrap;
}

.ftc2026xz-copy-btn, .ftc2026xz-share-btn {
padding: 10px 16px;
border: 2px solid #4caf50;
background: #f1f8f6;
color: #2e7d32;
border-radius: 8px;
font-weight: 600 !important;
font-size: 13px;
cursor: pointer;
transition: all .2s;
}

.ftc2026xz-copy-btn:hover, .ftc2026xz-share-btn:hover {
background: #4caf50;
color: #fff;
transform: translateY(-2px);
}

.ftc2026xz-copy-btn.ftc2026xz-copied {
background: #4caf50;
color: #fff;
}

@keyframes ftc2026xz-pulse {
0% {
box-shadow: 0 8px 20px rgba(0,0,0,0.1);
transform: scale(1);
}
50% {
box-shadow: 0 12px 30px rgba(25,118,210,0.4);
transform: scale(1.02);
border: 2px solid #1976d2;
}
100% {
box-shadow: 0 8px 20px rgba(0,0,0,0.1);
transform: scale(1);
}
}

.ftc2026xz-result-container h3 {
font-size: 24px;
color: #1976d2;
margin: 0 0 24px 0;
text-align: center;
font-weight: 700;
}

/* ===================== RESULTS GRID ===================== */
.ftc2026xz-results-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 20px;
margin-bottom: 28px;
}

.ftc2026xz-result-card {
background: #f5f5f5;
padding: 24px;
border-radius: 14px;
text-align: center;
transition: all 0.3s;
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.ftc2026xz-result-card.ftc2026xz-primary {
background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
color: #fff;
transform: scale(1.05);
box-shadow: 0 6px 20px rgba(25,118,210,0.3);
}

.ftc2026xz-result-card:hover {
transform: translateY(-4px);
box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.ftc2026xz-result-card.ftc2026xz-primary:hover {
transform: scale(1.05) translateY(-4px);
}

.ftc2026xz-result-title {
font-size: 14px;
font-weight: 600 !important;
margin-bottom: 12px;
opacity: 0.9;
}

.ftc2026xz-result-value {
font-size: 36px;
font-weight: 700 !important;
margin-bottom: 6px;
line-height: 1.2;
}

.ftc2026xz-result-unit {
font-size: 16px;
font-weight: 500 !important;
opacity: 0.8;
}

/* ===================== BREAKDOWN SECTION ===================== */
.ftc2026xz-breakdown-section {
background: #e3f2fd;
padding: 20px;
border-radius: 12px;
margin-bottom: 20px;
}

.ftc2026xz-breakdown-section h4 {
margin: 0 0 12px 0;
font-size: 16px;
color: #0d47a1;
font-weight: 600;
}

.ftc2026xz-breakdown-section p {
margin: 0 0 12px 0;
font-size: 14px;
color: #1565c0;
font-weight: 500 !important;
}

.ftc2026xz-breakdown-section ul {
margin: 0;
padding-left: 20px;
list-style: none;
}

.ftc2026xz-breakdown-section li {
margin-bottom: 8px;
font-size: 14px;
color: #0d47a1;
position: relative;
padding-left: 24px;
font-weight: normal !important;
}

.ftc2026xz-breakdown-section li:before {
content: "🌡️";
position: absolute;
left: 0;
}

/* ===================== CALCULATION STEPS ===================== */
.ftc2026xz-calculation-steps {
background: #f3e5f5;
padding: 20px;
border-radius: 12px;
margin-bottom: 20px;
}

.ftc2026xz-calculation-steps h4 {
margin: 0 0 12px 0;
font-size: 16px;
color: #4a148c;
font-weight: 600;
}

.ftc2026xz-steps-content {
font-size: 13px;
color: #6a1b9a;
line-height: 1.8;
font-weight: normal !important;
}

.ftc2026xz-steps-content p {
margin: 8px 0;
font-weight: normal !important;
}

.ftc2026xz-steps-content strong {
color: #4a148c;
font-weight: 700 !important;
}

.ftc2026xz-steps-content em {
font-style: italic;
font-weight: normal !important;
}

/* ===================== EDUCATIONAL INFO ===================== */
.ftc2026xz-educational-info {
background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
padding: 20px;
border-radius: 12px;
margin-bottom: 20px;
}

.ftc2026xz-educational-info h4 {
margin: 0 0 12px 0;
font-size: 16px;
color: #2e7d32;
font-weight: 600;
}

.ftc2026xz-educational-info p {
margin: 8px 0;
font-size: 13px;
color: #1b5e20;
line-height: 1.8;
font-weight: normal !important;
}

.ftc2026xz-educational-info strong {
font-weight: 700 !important;
}

/* ===================== COMPARISON TABLE ===================== */
.ftc2026xz-comparison-table {
background: #fff8e1;
padding: 20px;
border-radius: 12px;
margin-bottom: 20px;
}

.ftc2026xz-comparison-table h4 {
margin: 0 0 16px 0;
font-size: 16px;
color: #f57c00;
font-weight: 600;
}

.ftc2026xz-comparison-table table {
width: 100%;
border-collapse: collapse;
}

.ftc2026xz-comparison-table th,.ftc2026xz-comparison-table td {
padding: 10px;
text-align: left;
border-bottom: 1px solid #ffe082;
font-size: 13px;
}

.ftc2026xz-comparison-table th {
background: #ffecb3;
color: #e65100;
font-weight: 600 !important;
}

.ftc2026xz-comparison-table td {
color: #e65100;
font-weight: normal !important;
}

/* ===================== HIDDEN ===================== */
.ftc2026xz-hidden {
display: none !important;
}

/* ===================== RESPONSIVE ===================== */
@media(max-width: 768px) {
.ftc2026xz-container {
padding: 12px !important;
}

.ftc2026xz-card-header {
padding: 18px 14px;
margin-bottom: 14px;
}

.ftc2026xz-card-header h2 {
font-size: 22px;
}

.ftc2026xz-card-header p {
font-size: 14px;
}

.ftc2026xz-card {
padding: 12px;
}

.ftc2026xz-info-boxes-grid {
grid-template-columns: 1fr;
gap: 14px;
margin-bottom: 18px;
}

.ftc2026xz-info-box {
padding: 16px 14px;
margin-bottom: 0;
}

.ftc2026xz-info-box-icon {
font-size: 28px;
margin-bottom: 10px;
}

.ftc2026xz-info-box-title {
font-size: 15px;
margin-bottom: 10px;
}

.ftc2026xz-info-box p {
font-size: 13px;
line-height: 1.6;
}

.ftc2026xz-info-box br {
display: block;
content: "";
margin: 6px 0;
}

.ftc2026xz-warning-box {
padding: 14px;
margin: 14px 0;
}

.ftc2026xz-warning-box p {
font-size: 13px;
}

.ftc2026xz-input-section {
padding: 18px;
}

.ftc2026xz-section-heading h4 {
font-size: 18px;
}

.ftc2026xz-input-row {
flex-direction: column;
gap: 18px;
margin-bottom: 18px;
}

.ftc2026xz-input-group {
min-width: 100%;
}

.ftc2026xz-input-group label {
font-size: 15px;
margin-bottom: 8px;
}

.ftc2026xz-input-group input, .ftc2026xz-input-group select {
font-size: 16px !important;
padding: 16px 18px;
height: auto !important;
min-height: 52px;
border-width: 2px;
}

.ftc2026xz-unit-input {
display: flex;
gap: 10px;
}

.ftc2026xz-unit-input input {
width: 65% !important;
flex: 2;
}

.ftc2026xz-unit-input select {
width: 35% !important;
flex: 1;
}

.ftc2026xz-checkbox-option {
padding: 16px 14px;
gap: 14px;
}

.ftc2026xz-checkbox-option input[type="checkbox"] {
width: 26px;
height: 26px;
}

.ftc2026xz-checkbox-option label {
font-size: 15px;
line-height: 1.6;
}

.ftc2026xz-advanced-options {
margin-top: 20px;
padding-top: 20px;
}

.ftc2026xz-advanced-options h4 {
font-size: 17px;
margin-bottom: 16px;
}

.ftc2026xz-quick-buttons-section {
padding-bottom: 18px;
margin-bottom: 18px;
}

.ftc2026xz-quick-buttons {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}

.ftc2026xz-quick-btn {
width: 100%;
padding: 12px 10px;
font-size: 13px;
white-space: normal;
line-height: 1.2;
min-height: 60px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

.ftc2026xz-quick-btn span {
font-size: 9px;
display: block;
margin-top: 3px;
opacity: 0.8;
}

.ftc2026xz-btn-group {
flex-direction: column;
gap: 14px;
margin-top: 24px;
}

.ftc2026xz-calculate-btn,.ftc2026xz-reset-btn {
padding: 18px 24px;
font-size: 18px;
min-height: 56px;
}

.ftc2026xz-result-container {
margin-top: 24px;
padding: 20px 16px;
scroll-margin-top: 120px;
}

.ftc2026xz-result-container h3 {
font-size: 22px;
margin-bottom: 20px;
}

.ftc2026xz-results-grid {
grid-template-columns: 1fr;
gap: 16px;
margin-bottom: 24px;
}

.ftc2026xz-result-card {
padding: 22px 18px;
}

.ftc2026xz-result-card.ftc2026xz-primary {
transform: scale(1.02);
}

.ftc2026xz-result-value {
font-size: 32px;
}

.ftc2026xz-breakdown-section,
.ftc2026xz-calculation-steps,
.ftc2026xz-educational-info,
.ftc2026xz-comparison-table {
padding: 18px;
margin-bottom: 18px;
}

.ftc2026xz-breakdown-section h4,
.ftc2026xz-calculation-steps h4,
.ftc2026xz-educational-info h4,
.ftc2026xz-comparison-table h4 {
font-size: 16px;
margin-bottom: 14px;
}

.ftc2026xz-breakdown-section p,
.ftc2026xz-calculation-steps p,
.ftc2026xz-educational-info p {
font-size: 14px;
line-height: 1.7;
}

.ftc2026xz-steps-content {
font-size: 14px;
line-height: 1.8;
}

.ftc2026xz-breakdown-section li {
font-size: 14px;
line-height: 1.6;
margin-bottom: 10px;
}

.ftc2026xz-comparison-table {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
display: block;
}

.ftc2026xz-comparison-table table {
min-width: 100%;
font-size: 14px;
}

.ftc2026xz-comparison-table th,
.ftc2026xz-comparison-table td {
padding: 12px 10px;
font-size: 13px;
white-space: nowrap;
}

.ftc2026xz-info-box,
.ftc2026xz-warning-box {
padding: 16px 14px;
margin-bottom: 18px;
}

.ftc2026xz-info-box p,
.ftc2026xz-warning-box p {
font-size: 14px;
line-height: 1.7;
}
}

/* Extra small devices (phones in portrait, less than 576px) */
@media(max-width: 576px) {
.ftc2026xz-container {
padding: 10px !important;
}

.ftc2026xz-card-header h2 {
font-size: 20px;
}

.ftc2026xz-card-header p {
font-size: 13px;
}

.ftc2026xz-input-section {
padding: 16px;
}

.ftc2026xz-quick-buttons {
grid-template-columns: 1fr 1fr;
gap: 8px;
}

.ftc2026xz-quick-btn {
width: 100%;
padding: 10px 6px;
font-size: 12px;
min-height: 56px;
}

.ftc2026xz-quick-btn span {
font-size: 8px;
margin-top: 2px;
}

.ftc2026xz-result-value {
font-size: 28px;
}

.ftc2026xz-btn-group {
gap: 12px;
}

.ftc2026xz-calculate-btn,.ftc2026xz-reset-btn {
font-size: 17px;
padding: 16px 20px;
}

.ftc2026xz-result-actions {
flex-direction: column;
}

.ftc2026xz-copy-btn, .ftc2026xz-share-btn {
width: 100%;
}
}