@scope (#original-content) {

#pte-calculator-section * { box-sizing: border-box; }
#pte-calculator-section h2 { font-size: 32px; font-weight: 700; color: #2c3e50; margin: 30px 0 20px 0; text-align: center; line-height: 1.3; }
#pte-calculator-section h3 { font-size: 24px; font-weight: 700; color: #34495e; margin: 25px 0 15px 0; border-left: 4px solid #3498db; padding-left: 15px; }
#pte-calculator-section h4 { font-size: 20px; font-weight: 700; color: #2c3e50; margin: 20px 0 12px 0; }
#pte-calculator-section p, #pte-calculator-section li { font-size: 17px; line-height: 1.8; color: #444; font-weight: 500; margin-bottom: 15px; }
#pte-calculator-section strong { font-weight: 700; color: #2c3e50; }
#pte-calculator-section ul, #pte-calculator-section ol { margin: 15px 0; padding-left: 25px; }
#pte-calculator-section li { margin-bottom: 12px; }

.pte-calc-container { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); border-radius: 12px; padding: 30px; margin: 30px 0; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.pte-calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 25px 0; }
.pte-input-group { background: #ffffff; padding: 20px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); border: 2px solid #e3e6e9; transition: all 0.3s ease; }
.pte-input-group:hover { border-color: #3498db; box-shadow: 0 4px 12px rgba(52,152,219,0.15); }
.pte-input-group label { display: block; font-weight: 700; color: #2c3e50; margin-bottom: 10px; font-size: 16px; }
.pte-input-group input { width: 100%; padding: 12px 15px; border: 2px solid #d1d8dd; border-radius: 8px; font-size: 16px; font-weight: 600; transition: all 0.3s ease; background: #f8f9fa; }
.pte-input-group input:focus { outline: none; border-color: #3498db; background: #ffffff; box-shadow: 0 0 0 3px rgba(52,152,219,0.1); }
.pte-input-group small { display: block; margin-top: 6px; color: #7f8c8d; font-size: 14px; font-weight: 500; }

.pte-calc-button { background: linear-gradient(135deg, #3498db 0%, #2980b9 100%); color: #ffffff; padding: 16px 40px; border: none; border-radius: 8px; font-size: 18px; font-weight: 700; cursor: pointer; width: 100%; margin: 25px 0 20px 0; box-shadow: 0 4px 12px rgba(52,152,219,0.3); transition: all 0.3s ease; }
.pte-calc-button:hover { background: linear-gradient(135deg, #2980b9 0%, #21618c 100%); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(52,152,219,0.4); }
.pte-calc-button:active { transform: translateY(0); }

.pte-result-box { background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%); border: 3px solid #3498db; border-radius: 12px; padding: 30px; margin: 25px 0; box-shadow: 0 6px 20px rgba(52,152,219,0.15); }
.pte-result-box h3 { color: #2c3e50; margin-top: 0; font-size: 26px; text-align: center; border: none; padding: 0; }
.pte-overall-score { font-size: 56px; font-weight: 700; color: #27ae60; text-align: center; margin: 20px 0; text-shadow: 2px 2px 4px rgba(0,0,0,0.1); }
.pte-score-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin: 25px 0; }
.pte-score-item { background: #ffffff; padding: 18px; border-radius: 10px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border-left: 4px solid #3498db; }
.pte-score-item strong { display: block; color: #2c3e50; font-size: 15px; margin-bottom: 8px; }
.pte-score-item span { font-size: 32px; font-weight: 700; color: #2980b9; }
.pte-level-badge { display: inline-block; padding: 10px 20px; background: linear-gradient(135deg, #27ae60 0%, #229954 100%); color: #ffffff; border-radius: 25px; font-weight: 700; font-size: 16px; margin: 15px 0; box-shadow: 0 3px 10px rgba(39,174,96,0.3); }

.pte-info-table { width: 100%; border-collapse: collapse; margin: 25px 0; background: #ffffff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.pte-info-table th { background: linear-gradient(135deg, #3498db 0%, #2980b9 100%); color: #ffffff; padding: 16px; text-align: left; font-weight: 700; font-size: 16px; }
.pte-info-table td { padding: 14px 16px; border-bottom: 1px solid #ecf0f1; font-weight: 500; color: #2c3e50; }
.pte-info-table tr:last-child td { border-bottom: none; }
.pte-info-table tr:hover { background: #f8f9fa; }

.pte-faq-item { background: #ffffff; border: 2px solid #e9ecef; border-radius: 10px; padding: 20px; margin: 15px 0; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.pte-faq-item h4 { color: #2c3e50; margin-top: 0; font-size: 18px; }
.pte-faq-item p { margin-bottom: 0; }

.pte-formula { background: #f0f8ff; border-left: 4px solid #3498db; padding: 20px; margin: 20px 0; border-radius: 8px; font-family: 'Courier New', monospace; }
.pte-formula-title { font-weight: 700; color: #2c3e50; margin-bottom: 12px; font-size: 17px; }

@media (max-width: 768px) {
  #pte-calculator-section h2 { font-size: 26px; }
  #pte-calculator-section h3 { font-size: 21px; }
  .pte-calc-grid { grid-template-columns: 1fr; }
  .pte-overall-score { font-size: 44px; }
  .pte-calc-container { padding: 20px; }
  .pte-score-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  #pte-calculator-section h2 { font-size: 22px; }
  .pte-calc-container { padding: 15px; }
  .pte-input-group { padding: 15px; }
  .pte-overall-score { font-size: 36px; }
  .pte-info-table { font-size: 14px; }
  .pte-info-table th, .pte-info-table td { padding: 10px; }
}

}
