/* AIWizard 30-Second AI Tool Finder — Native aiwizard.me Theme (Mint/White/Teal/Gold) */
.aw-tf {
  font-family: 'Cairo', Tahoma, Arial, sans-serif !important;
  direction: rtl;
  text-align: right;
  color: #172322;
  max-width: 1080px;
  margin: 0 auto 48px auto;
  padding: 28px 24px 40px 24px;
  background: #EFF8F7;
  border: 1px solid #D5E5E3;
  border-radius: 32px;
  box-sizing: border-box;
}

.aw-tf * {
  box-sizing: border-box;
  font-family: 'Cairo', Tahoma, Arial, sans-serif !important;
}

.aw-tf-hero {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5FBFA 100%);
  border: 1px solid #D5E5E3;
  border-radius: 28px;
  padding: 32px 30px 28px 30px;
  box-shadow: 0 12px 32px rgba(15, 62, 58, 0.04);
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}

.aw-tf-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, #2BA8A2 0%, #FFD23F 50%, #EF6C4A 100%);
}

.aw-tf-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E7F5F2;
  color: #176A65;
  font-size: 13.5px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid #CBE7E2;
  margin-bottom: 14px;
}

.aw-tf-hero h1 {
  font-size: clamp(26px, 3.2vw, 38px) !important;
  font-weight: 800 !important;
  color: #172322 !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.35 !important;
}

.aw-tf-hero h1 span {
  color: #147E78;
}

.aw-tf-hero p {
  font-size: 16px !important;
  color: #556A67 !important;
  margin: 0 !important;
  line-height: 1.8 !important;
  max-width: 760px;
}

/* Quiz Card */
.aw-tf-card {
  background: #FFFFFF;
  border: 1px solid #D5E5E3;
  border-radius: 28px;
  padding: 28px 28px;
  box-shadow: 0 12px 32px rgba(15, 62, 58, 0.04);
}

.aw-tf-progress-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.aw-tf-progress-bar {
  flex: 1;
  height: 10px;
  background: #E3F1EF;
  border-radius: 100px;
  overflow: hidden;
}

.aw-tf-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #147E78, #2BA8A2);
  border-radius: 100px;
  transition: width 0.3s ease;
}

.aw-tf-step-label {
  font-size: 13.5px;
  font-weight: 800;
  color: #147E78;
  background: #E7F5F2;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.aw-tf-question {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #172322 !important;
  margin: 0 0 6px 0 !important;
}

.aw-tf-sub {
  font-size: 14.5px !important;
  color: #617572 !important;
  margin: 0 0 20px 0 !important;
}

.aw-tf-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.aw-tf-opt {
  background: #F8FCFB;
  border: 2px solid #DFECEA;
  border-radius: 20px;
  padding: 18px 18px;
  text-align: right;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.aw-tf-opt:hover {
  border-color: #2BA8A2;
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 62, 58, 0.06);
}

.aw-tf-opt.selected {
  border-color: #147E78;
  background: #E7F5F2;
  box-shadow: 0 8px 20px rgba(20, 126, 120, 0.12);
}

.aw-tf-opt-ico {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
  background: #FFFFFF;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #D5E5E3;
}

.aw-tf-opt strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #172322;
  margin-bottom: 3px;
}

.aw-tf-opt span {
  display: block;
  font-size: 13.5px;
  color: #556A67;
  line-height: 1.55;
}

.aw-tf-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #E7F2F0;
  padding-top: 18px;
}

.aw-tf-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FFD23F !important;
  color: #262209 !important;
  font-size: 15.5px !important;
  font-weight: 800 !important;
  padding: 12px 26px !important;
  border-radius: 100px !important;
  border: none !important;
  cursor: pointer;
  box-shadow: 0 7px 16px rgba(111, 86, 0, 0.12);
  text-decoration: none !important;
  transition: transform 0.2s ease, background 0.2s ease;
}

.aw-tf-btn-primary:hover {
  background: #FFC91A !important;
  transform: translateY(-2px);
  color: #262209 !important;
}

.aw-tf-btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.aw-tf-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #E7F5F2 !important;
  color: #126D67 !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  padding: 11px 22px !important;
  border-radius: 100px !important;
  border: 1px solid #CBE7E2 !important;
  cursor: pointer;
  text-decoration: none !important;
}

.aw-tf-btn-secondary:hover {
  background: #D8EEEB !important;
}

/* Results View */
.aw-tf-results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.aw-tf-results-head h2 {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #172322 !important;
  margin: 0 !important;
}

.aw-tf-winner {
  background: linear-gradient(180deg, #FFFDF4 0%, #FFFFFF 55%, #F4FBF9 100%);
  border: 2px solid #F2D264;
  border-radius: 24px;
  padding: 24px 24px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.aw-tf-winner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, #FFD23F, #2BA8A2);
}

.aw-tf-winner-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.aw-tf-match-pill {
  background: #FFD23F;
  color: #262209;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 100px;
}

.aw-tf-price-pill {
  background: #E7F5F2;
  color: #147E78;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 100px;
}

.aw-tf-winner h3 {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #172322 !important;
  margin: 0 0 8px 0 !important;
}

.aw-tf-winner p {
  font-size: 15px !important;
  color: #556A67 !important;
  margin: 0 0 14px 0 !important;
  line-height: 1.75 !important;
}

.aw-tf-reasons {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 18px 0 !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.aw-tf-reasons li {
  font-size: 13.5px;
  color: #2A3F3D;
  padding-right: 22px;
  position: relative;
}

.aw-tf-reasons li::before {
  content: '✓';
  position: absolute;
  right: 0;
  top: 1px;
  color: #147E78;
  font-weight: 900;
}

.aw-tf-alts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.aw-tf-alt {
  background: #F8FCFB;
  border: 1px solid #D5E5E3;
  border-radius: 20px;
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
}

.aw-tf-alt h4 {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #172322 !important;
  margin: 8px 0 6px 0 !important;
}

.aw-tf-alt p {
  font-size: 13.5px !important;
  color: #556A67 !important;
  margin: 0 0 14px 0 !important;
  line-height: 1.65 !important;
  flex-grow: 1;
}

@media (max-width: 760px) {
  .aw-tf { padding: 16px 14px 28px 14px; border-radius: 22px; }
  .aw-tf-options, .aw-tf-reasons, .aw-tf-alts { grid-template-columns: 1fr; }
}
