/* ===================== RESET WORDPRESS/THEME CONFLICTS ===================== */
.cfpc2026-container {all: initial;display: block;}
.cfpc2026-container * {box-sizing: border-box !important;font-family: 'Poppins', Arial, sans-serif !important;font-weight: normal !important;}
.cfpc2026-container p,.cfpc2026-container span,.cfpc2026-container div,.cfpc2026-container li,.cfpc2026-container label,.cfpc2026-container input,.cfpc2026-container select,.cfpc2026-container textarea {font-weight: normal !important;}
.cfpc2026-container strong,.cfpc2026-container b {font-weight: 700 !important;}
.cfpc2026-container h1,.cfpc2026-container h2,.cfpc2026-container h3,.cfpc2026-container h4,.cfpc2026-container h5,.cfpc2026-container h6 {font-weight: 600 !important;}
.cfpc2026-container input, .cfpc2026-container select, .cfpc2026-container button, .cfpc2026-container textarea {-webkit-appearance: none !important;-moz-appearance: none !important;appearance: none !important;background-image: none !important;border-radius: 12px !important;}
.cfpc2026-container button {cursor: pointer !important;text-decoration: none !important;}
/* ===================== MAIN CONTAINER ===================== */
.cfpc2026-container {width: 100% !important;margin: 0 auto !important;padding: 0px !important;font-family: 'Poppins', Arial, sans-serif;color: #222;box-sizing: border-box;}
.cfpc2026-container *, .cfpc2026-container *::before, .cfpc2026-container *::after { box-sizing: border-box; }
/* ===================== HEADER ===================== */
.cfpc2026-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;}
.cfpc2026-card-header:hover {transform: translateY(-2px);}
.cfpc2026-card-header h2 {font-size: 24px;color: #333;font-weight: 600;margin-bottom: 8px;}
.cfpc2026-card-header p {font-size: 14px;color: #555;margin: 0 auto;}
/* ===================== CARD ===================== */
.cfpc2026-card {background: #fff;padding: 3px;border-radius: 16px;box-shadow: 0 6px 18px rgba(0,0,0,0.08);}
/* ===================== INFO BOX ===================== */
.cfpc2026-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);}
.cfpc2026-info-box p {margin: 0 0 10px 0;font-size: 14px;line-height: 1.6;font-weight: normal !important;}
.cfpc2026-info-box p:last-child {margin-bottom: 0;}
.cfpc2026-info-box strong {font-weight: 700 !important;}
/* ===================== WARNING BOX ===================== */
.cfpc2026-warning-box {background: #fff3cd;border-left: 4px solid #ffc107;padding: 12px 16px;border-radius: 8px;margin: 16px 0;}
.cfpc2026-warning-box p {margin: 0;font-size: 13px;color: #856404;line-height: 1.5;font-weight: normal !important;}
.cfpc2026-warning-box strong {color: #d39e00;font-weight: 700 !important;}
/* ===================== INPUT SECTION ===================== */
.cfpc2026-input-section {background: #fff;padding: 20px;border-radius: 16px;box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);margin: 0;}
.cfpc2026-section-heading {margin-bottom: 16px;}
.cfpc2026-section-heading h4 {margin: 0 0 8px 0;font-weight: 600;font-size: 18px;color: #1976d2;border-bottom: 2px solid #1976d2;padding-bottom: 8px;}
.cfpc2026-input-row {display: flex;gap: 12px;flex-wrap: wrap;margin-bottom: 16px;}
.cfpc2026-input-group {flex: 1;min-width: 200px;}
.cfpc2026-input-group label {display: block;margin-bottom: 6px;font-weight: 600 !important;font-size: 14px;color: #1976d2;}
.cfpc2026-input-group input, .cfpc2026-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;}
.cfpc2026-input-group input:focus, .cfpc2026-input-group select:focus {outline: none;border-color: #1976d2;box-shadow: 0 0 0 3px rgba(25,118,210,0.15);}
.cfpc2026-input-group input.cfpc2026-error {border-color: #f44336 !important;box-shadow: 0 0 0 3px rgba(244,67,54,0.15) !important;}
.cfpc2026-error-msg {color: #f44336;font-size: 12px;margin-top: 4px;display: none;}
.cfpc2026-error-msg.cfpc2026-visible {display: block;}
/* ===================== CHECKBOX ===================== */
.cfpc2026-checkbox-options {display: flex;flex-direction: column;gap: 8px;}
.cfpc2026-checkbox-option {display: flex;align-items: center;gap: 10px;padding: 12px;border-radius: 8px;background: #f8f9fa;border: 2px solid #e0e0e0;transition: all 0.2s;cursor: pointer;}
.cfpc2026-checkbox-option:hover {background-color: #e3f2fd;border-color: #90caf9;}
/* Custom checkbox — fully visible despite appearance:none global reset */
.cfpc2026-checkbox-option input[type="checkbox"] {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  border: 2.5px solid #1976d2 !important;
  border-radius: 5px !important;
  background: #fff !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  position: relative !important;
  transition: background 0.2s, border-color 0.2s !important;
  display: inline-block !important;
  vertical-align: middle !important;
}
.cfpc2026-checkbox-option input[type="checkbox"]:checked {
  background: #1976d2 !important;
  border-color: #1565c0 !important;
}
.cfpc2026-checkbox-option input[type="checkbox"]:checked::after {
  content: '' !important;
  display: block !important;
  width: 5px !important;
  height: 10px !important;
  border: 2.5px solid #fff !important;
  border-top: none !important;
  border-left: none !important;
  transform: rotate(45deg) !important;
  position: absolute !important;
  top: 1px !important;
  left: 6px !important;
}
.cfpc2026-checkbox-option input[type="checkbox"]:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(25,118,210,0.25) !important;
}
.cfpc2026-checkbox-option label {cursor: pointer;font-size: 14px;margin: 0;font-weight: 500 !important;color: #333;user-select: none;flex: 1;}
/* ===================== ADVANCED OPTIONS ===================== */
.cfpc2026-advanced-options {margin-top: 20px;padding-top: 20px;border-top: 2px dashed #e0e0e0;}
.cfpc2026-advanced-options h4 {margin: 0 0 16px 0;font-size: 16px;color: #1976d2;}
/* ===================== BUTTONS ===================== */
.cfpc2026-btn-group {display: flex;gap: 12px;margin-top: 20px;}
.cfpc2026-calculate-btn,.cfpc2026-reset-btn {flex: 1;padding: 14px;border: none;border-radius: 12px;font-weight: 700 !important;font-size: 16px;cursor: pointer;transition: .2s;}
.cfpc2026-calculate-btn {background: #1976d2;color: #fff;}
.cfpc2026-calculate-btn:hover {background: #125ea8;transform: translateY(-2px);}
.cfpc2026-reset-btn {background: #f44336;color: #fff;}
.cfpc2026-reset-btn:hover {background: #c62828;transform: translateY(-2px);}
/* ===================== RESULT CONTAINER ===================== */
.cfpc2026-result-container {margin-top: 30px;background: #fff;padding: 24px;border-radius: 16px;box-shadow: 0 8px 20px rgba(0,0,0,0.1);}
.cfpc2026-result-container.cfpc2026-hidden {display: none;}
.cfpc2026-result-container h3 {font-size: 22px;color: #1976d2;margin: 0 0 20px 0;text-align: center;font-weight: 700;}
/* ===================== RESULTS GRID ===================== */
.cfpc2026-results-grid {display: grid;grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));gap: 16px;margin-bottom: 24px;}
.cfpc2026-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);}
.cfpc2026-result-card.cfpc2026-primary {background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);color: #fff;transform: scale(1.05);}
.cfpc2026-result-card:hover {transform: translateY(-4px);box-shadow: 0 6px 16px rgba(0,0,0,0.15);}
.cfpc2026-result-card.cfpc2026-primary:hover {transform: scale(1.05) translateY(-4px);}
.cfpc2026-result-title {font-size: 13px;font-weight: 600 !important;margin-bottom: 8px;opacity: 0.9;}
.cfpc2026-result-value {font-size: 32px;font-weight: 700 !important;margin-bottom: 4px;}
.cfpc2026-result-unit {font-size: 14px;font-weight: 500 !important;opacity: 0.8;}
/* ===================== BREAKDOWN SECTION ===================== */
.cfpc2026-breakdown-section {background: #e3f2fd;padding: 20px;border-radius: 12px;margin-bottom: 20px;}
.cfpc2026-breakdown-section h4 {margin: 0 0 12px 0;font-size: 16px;color: #0d47a1;font-weight: 600;}
.cfpc2026-breakdown-section p {margin: 0 0 12px 0;font-size: 14px;color: #1565c0;font-weight: 500 !important;}
.cfpc2026-breakdown-section ul {margin: 0;padding-left: 20px;list-style: none;}
.cfpc2026-breakdown-section li {margin-bottom: 8px;font-size: 14px;color: #0d47a1;position: relative;padding-left: 24px;font-weight: normal !important;}
.cfpc2026-breakdown-section li:before {content: "🪙";position: absolute;left: 0;}
/* ===================== CALCULATION STEPS ===================== */
.cfpc2026-calculation-steps {background: #f3e5f5;padding: 20px;border-radius: 12px;margin-bottom: 20px;}
.cfpc2026-calculation-steps h4 {margin: 0 0 12px 0;font-size: 16px;color: #4a148c;font-weight: 600;}
.cfpc2026-steps-content {font-size: 13px;color: #6a1b9a;line-height: 1.8;font-weight: normal !important;}
.cfpc2026-steps-content p {margin: 8px 0;font-weight: normal !important;}
.cfpc2026-steps-content strong {color: #4a148c;font-weight: 700 !important;}
.cfpc2026-steps-content em {font-style: italic;font-weight: normal !important;}
/* ===================== EDUCATIONAL INFO ===================== */
.cfpc2026-educational-info {background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);padding: 20px;border-radius: 12px;margin-bottom: 20px;}
.cfpc2026-educational-info h4 {margin: 0 0 12px 0;font-size: 16px;color: #2e7d32;font-weight: 600;}
.cfpc2026-educational-info p {margin: 8px 0;font-size: 13px;color: #1b5e20;line-height: 1.8;font-weight: normal !important;}
.cfpc2026-educational-info strong {font-weight: 700 !important;}
/* ===================== COMPARISON TABLE ===================== */
.cfpc2026-comparison-table {background: #fff8e1;padding: 20px;border-radius: 12px;margin-bottom: 20px;}
.cfpc2026-comparison-table h4 {margin: 0 0 16px 0;font-size: 16px;color: #f57c00;font-weight: 600;}
.cfpc2026-comparison-table table {width: 100%;border-collapse: collapse;}
.cfpc2026-comparison-table th,.cfpc2026-comparison-table td {padding: 10px;text-align: left;border-bottom: 1px solid #ffe082;font-size: 13px;}
.cfpc2026-comparison-table th {background: #ffecb3;color: #e65100;font-weight: 600 !important;}
.cfpc2026-comparison-table td {color: #e65100;font-weight: normal !important;}
/* ===================== PROBABILITY BAR ===================== */
.cfpc2026-prob-bar-wrap {margin: 8px 0 4px 0;}
.cfpc2026-prob-bar-bg {background: #e0e0e0;border-radius: 8px;height: 14px;width: 100%;overflow: hidden;}
.cfpc2026-prob-bar-fill {height: 14px;border-radius: 8px;background: linear-gradient(90deg, #1976d2, #42a5f5);transition: width 0.6s ease;}
/* ===================== COIN ANIMATION ===================== */
.cfpc2026-coin-visual {text-align: center;margin: 16px 0;}
.cfpc2026-coin {display: inline-block;font-size: 48px;}
.cfpc2026-coin.cfpc2026-spinning {animation: cfpc2026-spin 1.2s ease-out;}
@keyframes cfpc2026-spin {0%{transform:rotateY(0deg);}50%{transform:rotateY(720deg);}100%{transform:rotateY(1440deg);}}
/* ===================== HIDDEN ===================== */
.cfpc2026-hidden {display: none !important;}
/* ===================== RESPONSIVE ===================== */
@media(max-width: 768px) {
  .cfpc2026-container {padding: 0 !important;}
  .cfpc2026-input-row {flex-direction: column;gap: 16px;}
  .cfpc2026-input-group {min-width: 100%;}
  .cfpc2026-input-group input, .cfpc2026-input-group select {font-size: 16px !important;padding: 14px 16px;height: auto !important;}
  .cfpc2026-results-grid {grid-template-columns: 1fr;gap: 12px;}
  .cfpc2026-btn-group {flex-direction: column;gap: 16px;}
  .cfpc2026-calculate-btn,.cfpc2026-reset-btn {padding: 16px;font-size: 18px;}
  .cfpc2026-card-header h2 {font-size: 22px;}
  .cfpc2026-result-value {font-size: 28px;}
  .cfpc2026-comparison-table {overflow-x: auto;-webkit-overflow-scrolling: touch;display: block;}
  .cfpc2026-checkbox-option {padding: 14px;}
}