.ct-geo-report-card {
    border: 1px solid #ddd;
    padding: 16px;
    margin-top: 16px;
    border-radius: 8px;
    background: #f9f9f9;
}

.ct-breakdown li img {
    width: 1em !important;
    height: 1em !important;
}

.ct-geo-report-card h3 {
    margin-top: 0;
}

.ct-geo-progress-bar {
    background: #eee;
    border-radius: 5px;
    height: 12px;
    width: 100%;
    margin: 8px 0 16px;
}

.ct-geo-progress-bar > div {
    height: 100%;
    border-radius: 5px;
}

.form_geo_contain input{
	padding: 10px;
    width: 80%;
    border-radius: 12px;
}

.ct-geo-progress-bar {
    background: #eee;
    border-radius: 5px;
    height: 12px;
    width: 100%;
    margin: 4px 0 12px;
}
.ct-geo-progress-bar > div {
    height: 100%;
    border-radius: 5px;
    transition: width 0.6s ease;
}
/* ================================
   GEO Audit – Penalties Section
================================= */
#ct-geo-results .penalties {
    list-style: none;
    padding: 10px 15px;
    margin: 15px 0;
    border: 1px solid #f5c2c7;
    background: #f8d7da;
    border-radius: 6px;
    color: #842029;
    font-size: 14px;
}

#ct-geo-results .penalties li {
    margin: 6px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}

#ct-geo-results .penalties li::before {
    content: "⚠";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
    color: #dc3545;
}

#ct-geo-results .penalty-impact {
    font-weight: bold;
    color: #dc3545; /* strong red */
    margin-left: 6px;
}

/* Progress Bar */
.ct-progress {
    width: 100%;
    height: 20px;
    background: #e9ecef;
    border-radius: 4px;
    margin: 10px 0 20px;
    overflow: hidden;
}
.ct-progress .ct-bar {
    height: 100%;
    transition: width 0.6s ease;
}

button[disabled] {
    cursor: not-allowed;
    opacity: 0.5;
}

/* Penalties */
#ct-geo-results .penalties {
    list-style: none;
    padding: 10px 15px;
    margin: 15px 0;
    border: 1px solid #f5c2c7;
    background: #f8d7da;
    border-radius: 6px;
    color: #842029;
    font-size: 14px;
}
#ct-geo-results .penalties li {
    margin: 6px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}
#ct-geo-results .penalties li::before {
    content: "⚠";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
    color: #dc3545;
}
#ct-geo-results .penalty-impact {
    font-weight: bold;
    color: #dc3545;
    margin-left: 6px;
}
/* ================================
   GEO Audit - Score Bar
================================= */
#ct-geo-results .score-bar {
    margin: 15px 0 25px;
    height: 22px;
    border-radius: 12px;
    overflow: hidden;
    background: #eee;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.15);
    position: relative;
}

#ct-geo-results .score-fill {
    height: 100%;
    width: 0;
    transition: width 0.8s ease-in-out;
}

#ct-geo-results .score-label {
    position: absolute;
    top: -28px;
    right: 0;
    font-size: 14px;
    font-weight: 600;
}

/* Color states */
.score-good { background: linear-gradient(90deg,#28a745,#5cd65c); }  /* green */
.score-medium { background: linear-gradient(90deg,#ffc107,#ffda6a); } /* orange */
.score-poor { background: linear-gradient(90deg,#dc3545,#f77); }     /* red */


/* ================================
   Penalties
================================= */
#ct-geo-results .penalties {
    list-style: none;
    padding: 12px 15px;
    margin: 20px 0;
    border: 1px solid #f5c2c7;
    background: #f8d7da;
    border-radius: 6px;
    color: #842029;
    font-size: 14px;
}

#ct-geo-results .penalties-title {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 15px;
}

#ct-geo-results .penalties li {
    margin: 6px 0;
    padding-left: 26px;
    position: relative;
    line-height: 1.5;
}

#ct-geo-results .penalties li::before {
    content: "⚠";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
    color: #dc3545;
}

/* ================================
   GEO Signals block
================================= */
#ct-geo-results .geo-signals {
    padding: 15px;
    border: 1px solid #e2e8f0;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 20px;
}

#ct-geo-results .geo-signals h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
}

#ct-geo-results .geo-signals span.ok { color: #28a745; font-weight: 600; }
#ct-geo-results .geo-signals span.fail { color: #dc3545; font-weight: 600; }

/* Wrapper */
.ct-geo-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  font-family: Arial, sans-serif;
}

/* Form */
.ct-geo-form {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.ct-geo-form input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin: 5px 0px;
}
.ct-geo-form button {
  padding: 10px 18px;
  background: #0073e6;
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
}
.ct-geo-form button:hover {
  background: #005bb5;
}

/* Score Bar */
.score-bar {
  background: #eee;
  border-radius: 20px;
  height: 22px;
  margin: 6px 0 14px;
  position: relative;
  overflow: hidden;
}
.score-bar.small {
  height: 14px;
}
.score-fill {
  height: 100%;
  border-radius: 20px;
  transition: width 0.8s ease;
}
.score-label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  line-height: 22px;
  font-weight: bold;
  color: #333;
}

/* Color states */
.score-good {
  background: #28a745;
}
.score-medium {
  background: #ffc107;
}
.score-poor {
  background: #dc3545;
}

/* Breakdown factors */
.breakdown .factor {
  margin-bottom: 12px;
}
.factor-label {
  font-size: 13px;
  margin-bottom: 3px;
  color: #333;
}

/* GEO signals */
.geo-signals {
  background: #f9f9f9;
  padding: 12px;
  border-radius: 8px;
  margin-top: 20px;
}
.geo-signals h3 {
  margin-top: 0;
  font-size: 16px;
}
.geo-signals .ok {
  color: #28a745;
  font-weight: bold;
}
.geo-signals .fail {
  color: #dc3545;
  font-weight: bold;
}

/* Penalties */
.penalties {
  background: #ffe5e5;
  border: 1px solid #dc3545;
  padding: 12px;
  border-radius: 8px;
  margin-top: 20px;
}
.penalties-title {
  font-weight: bold;
  color: #dc3545;
  margin-bottom: 6px;
}
.penalties ul {
  margin: 0;
  padding-left: 20px;
}
.penalties li {
  margin-bottom: 4px;
  font-size: 14px;
}

/* Recommendations / resources */
.ct-geo-results h4 {
  margin-top: 20px;
  margin-bottom: 6px;
}
.ct-geo-results p {
  font-size: 14px;
  margin: 4px 0;
}


.ct-geo-wrapper {
  max-width: 700px;
  margin: 30px auto;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

.ct-geo-form {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-direction: column;
}

.ct-geo-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
}

.ct-geo-form button {
  padding: 10px 20px;
  background: #0066ff;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.ct-geo-form button:hover {
  background: #004ecc;
}

.ct-geo-results {
  display: none;
}

.ct-score {
  text-align: center;
  margin: 20px 0;
}
.ct-score-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 8px solid #eee;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  color: #333;
}
.ct-score.good { border-color: #28a745; color: #28a745; }
.ct-score.medium { border-color: #ffc107; color: #ffc107; }
.ct-score.bad { border-color: #dc3545; color: #dc3545; }

.ct-recommendations {
  margin-top: 20px;
}
.ct-recommendations h3 {
  margin-bottom: 10px;
  font-size: 18px;
}
.ct-recommendations ul {
  list-style: none;
  padding: 0;
}
.ct-recommendations li {
  padding: 8px 12px;
  margin-bottom: 8px;
  border-radius: 8px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ct-recommendations li.good {
  border-left: 4px solid #28a745;
}
.ct-recommendations li.bad {
  border-left: 4px solid #dc3545;
}
.ct-recommendations li::before {
  content: "⚠️";
}
.ct-recommendations li.good::before {
  content: "✅";
}

.ct-breakdown {
  margin-top: 20px;
  padding: 15px;
  background: #fdfdfd;
  border: 1px solid #eee;
  border-radius: 10px;
}
.ct-breakdown h3 {
  margin-bottom: 10px;
  font-size: 18px;
}
.ct-breakdown ul {
  list-style: none;
  padding: 0;
}
.ct-breakdown li {
  padding: 6px 0;
  border-bottom: 1px solid #f2f2f2;
}
.ct-breakdown li:last-child {
  border-bottom: none;
}

.form_geo_contain h3, .form_geo_contain p {
    text-align: center;
}

.form_geo_contain h3 {
    font-weight: 600;
}

.form_geo_contain p {
    font-size: 14px;
    color: #8a8a8a;
}

/* Score Circle */
.ct-score {
  text-align: center;
  margin: 20px 0;
}

.ct-score-circle {
  --size: 120px;
  --thickness: 12px;
  --value: 0; /* default percentage */
  --color: #444; /* default dark */

  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  position: relative;
  background: conic-gradient(var(--color) calc(var(--value) * 1%), #eee 0);
}

.ct-score-circle::before {
  content: "";
  position: absolute;
  width: calc(var(--size) - var(--thickness) * 2);
  height: calc(var(--size) - var(--thickness) * 2);
  background: #fff;
  border-radius: 50%;
}

.ct-score-circle span {
  position: relative;
  z-index: 1;
}

/* Recommendations */
.ct-recommendations ul { list-style: none; padding: 0; }
.ct-recommendations li.bad { color: #f44336; }
.ct-recommendations li.good { color: #4caf50; }

/* Breakdown */
.ct-breakdown ul { list-style: none; padding: 0; }
.ct-breakdown li { margin: 4px 0; }

/* General reset */
body {
  font-family: DejaVu Sans, Arial, sans-serif;
  font-size: 12pt;
  color: #333;
  margin: 20px;
}

/* Headings */
h2 {
  font-size: 20pt;
  color: #4CAF50;
  margin-bottom: 15px;
  border-bottom: 2px solid #4CAF50;
  padding-bottom: 5px;
}
h3 {
  font-size: 14pt;
  margin: 15px 0 8px;
  color: #222;
}

/* Score Circle substitute */
.ct-score {
  text-align: center;
  margin: 20px 0;
}
.ct-score span {
  display: inline-block;
  font-size: 32pt;
  font-weight: bold;
  color: #4CAF50;
  border: 4px solid #4CAF50;
  border-radius: 50%;
  padding: 25px;
  min-width: 120px;
}

/* Recommendations */
.ct-recommendations {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 15px;
  margin: 20px 0;
}
.ct-recommendations ul {
  margin: 0;
  padding: 0 0 0 20px;
}
.ct-recommendations li {
  margin-bottom: 8px;
}
.ct-recommendations li.bad {
  color: #f44336;
  font-weight: bold;
}
.ct-recommendations li.good {
  color: #4CAF50;
}

/* Breakdown table-like */
.ct-breakdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ct-breakdown li {
  padding: 6px 10px;
  border-bottom: 1px solid #eee;
}
.ct-breakdown li strong {
  display: inline-block;
  width: 180px;
  font-weight: bold;
}


@media screen and (max-width: 767px) {
  .ct-geo-form {
      flex-direction: column;
  }
  .ct-geo-form input{
    width: 100%;
  }
}