/* ========== present-simple.css ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f5f7fa;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Author Credit */
.author-credit {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 14px;
}

/* Breadcrumb */
.breadcrumb-nav {
  background: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
}
.breadcrumb li:not(:last-child):after {
  content: "›";
  margin-left: 8px;
  color: #999;
}
.breadcrumb a {
  color: #27ae60;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb .active {
  color: #7f8c8d;
}

/* Table of Contents */
.table-of-contents {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  margin: 25px 0;
  overflow: hidden;
}
.toc-header {
  background: #27ae60;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.toc-header h3 {
  margin: 0;
  font-size: 1.2rem;
}
.toc-icon {
  font-size: 1.3rem;
  margin-right: 10px;
}
.toc-toggle {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 5px;
}
.toc-list {
  list-style: none;
  padding: 15px 20px;
  display: block;
}
.toc-list li {
  margin: 10px 0;
}
.toc-list a {
  color: #27ae60;
  text-decoration: none;
}
.toc-list a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.faq-section {
  background: white;
  border-radius: 12px;
  padding: 25px;
  margin: 35px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.faq-section h2 {
  color: #2c3e50;
  margin-bottom: 20px;
  border-left: 4px solid #27ae60;
  padding-left: 15px;
}
.faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}
.faq-question {
  background: #f8f9fa;
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq-question:hover {
  background: #e9ecef;
}
.faq-icon {
  background: #27ae60;
  color: white;
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
}
.faq-toggle {
  color: #27ae60;
  font-size: 0.8rem;
}
.faq-answer {
  padding: 20px;
  background: white;
  border-top: 1px solid #e0e0e0;
  line-height: 1.8;
  color: #555;
  display: none;
}

/* Cards */
.card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-left: 4px solid #27ae60;
}
.example {
  background: #e8f8f5;
  padding: 15px;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  margin: 10px 0;
}
.warning {
  background: #fef9e7;
  border-left-color: #f39c12;
}
.tip {
  background: #e8f8f5;
  border-left-color: #1abc9c;
}
.comparison-table {
  background: #e8f8f5;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  overflow-x: auto;
}

/* Buttons */
.button {
  display: inline-block;
  background: #27ae60;
  color: white;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 8px;
  text-decoration: none;
}
.button:hover {
  background: #219a52;
}
.print-btn {
  background: #2c3e50;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}
.print-btn:hover {
  background: #1a252f;
}
.print-pdf-buttons {
  text-align: right;
  margin: 20px 0;
}

/* Related Links */
.related-links {
  background: #2c3e50;
  color: white;
  padding: 25px;
  border-radius: 12px;
  margin-top: 40px;
}
.related-links h3 {
  margin-bottom: 15px;
  color: #f1c40f;
}
.related-links a {
  color: #f1c40f;
  text-decoration: none;
  display: inline-block;
  margin: 5px 0;
}
.related-links a:hover {
  text-decoration: underline;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
th, td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}
th {
  background: #27ae60;
  color: white;
}
tr:nth-child(even) {
  background: #f9f9f9;
}

/* Typography */
h1 {
  color: #2c3e50;
  border-bottom: 3px solid #27ae60;
  padding-bottom: 15px;
  margin-bottom: 25px;
}
h2 {
  color: #219a52;
  margin-top: 30px;
  margin-bottom: 15px;
}
h3 {
  color: #27ae60;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #27ae60;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0.7;
  z-index: 1000;
}
.back-to-top:hover {
  opacity: 1;
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.tag {
  background: #e9ecef;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  color: #495057;
}
.category {
  background: #27ae60;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  display: inline-block;
  margin-right: 10px;
}

/* Speaking Cards */
.speaking-card {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: white;
  border-radius: 12px;
  padding: 20px;
  margin: 15px;
  display: inline-block;
  width: 280px;
  vertical-align: top;
  transition: transform 0.3s;
}
.speaking-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.card-category {
  background: #f39c12;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 10px;
}

/* Quiz / Exercise */
.quiz-question {
  background: #f9f9f9;
  padding: 15px;
  margin: 15px 0;
  border-radius: 8px;
  border-left: 4px solid #27ae60;
}
.correct {
  color: green;
  font-weight: bold;
}
.wrong {
  color: red;
}
.result {
  background: #2c3e50;
  color: white;
  padding: 15px;
  text-align: center;
  border-radius: 8px;
  margin-top: 20px;
}
.answer-key {
  background: #e8f8f5;
  padding: 20px;
  margin-top: 30px;
  border-radius: 8px;
}
.exercise-box {
  background: #f9f9f9;
  padding: 20px;
  margin: 20px 0;
  border-radius: 10px;
  border-left: 4px solid #27ae60;
}
.answer-box {
  background: #e8f8f5;
  padding: 15px;
  margin: 10px 0;
  display: none;
  border-radius: 8px;
}
.show-btn {
  background: #27ae60;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 8px;
  font-size: 14px;
}
.download-card {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: white;
  padding: 30px;
  margin: 20px 0;
  border-radius: 15px;
  text-align: center;
}
.download-btn {
  background: #f39c12;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  display: inline-block;
  margin: 10px;
  font-weight: bold;
  font-size: 18px;
}
.word-count {
  background: #f0f7ff;
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
  color: #666;
  text-align: right;
}
.spelling-table {
  background: #f0f7ff;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .container { padding: 15px; }
  .faq-question { padding: 12px 15px; }
  .faq-icon { width: 28px; height: 28px; font-size: 0.8rem; }
  .speaking-card { width: 100%; margin: 10px 0; }
}
@media print {
  .print-pdf-buttons, .back-to-top, .related-links, .breadcrumb-nav, .author-credit, .tags, .faq-section .faq-question { display: none; }
  body { font-size: 12pt; }
  .container { margin: 0; padding: 0; }
  .card, .example, .table-of-contents { break-inside: avoid; }
  .faq-answer { display: block !important; }
}