.gs-state-name {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 50px;
  margin-top: 50px;
  color: #222;
  position: relative;
}

.gs-state-name::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #4CAF50;
  margin: 12px auto 0;
  border-radius: 2px;
}


.gs-state-svg {
    display: block;
    width: 200px;
    height: 200px;
    margin: 0 auto 12px;
    cursor: pointer;
}

.chart-item.india-map {
  background: #ede8c9;
  box-shadow: none;
  border: none;
  padding: 0;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* SVG Styling */
.gs-india-svg {
  display: block;
  width: 90%;
  margin: 0 auto;
}


.gs-india-svg path {
    fill: #4CAF50;
    stroke: #dcedc8;
    stroke-width: .8;
    cursor: pointer;
    transition: fill .25s ease;
}

.gs-india-svg path:hover {
    fill: #ffd400;
}

.gs-map-note {
    font-size: 14px;
    color: #003612;
    margin: 10px auto;
    text-align: center;
    max-width: 800px;
    padding: 8px;
    background: #dcedc8;
    border-left: 4px solid #4CAF50;
    border-radius: 6px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 54, 18, 0.1);
}

.gs-category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.gs-category-button {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #003612, #4CAF50);
    color: #ede8c9;
    font-weight: 600;
    font-size: .95rem;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 54, 18, 0.25);
    text-decoration: none;
    transition: all .25s ease-in-out;
    letter-spacing: .3px;
    cursor: pointer;
    animation: fadeUp .4s ease-in-out;
}

.gs-category-button:hover,
.gs-category-button:focus {
    background: linear-gradient(135deg, #004d1e, #4CAF50);
    box-shadow: 0 6px 18px rgba(0, 54, 18, 0.35);
    color: #FFBF00;
    transform: translateY(-3px);
    text-decoration: none;
}

.gs-category-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 54, 18, 0.25);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.gs-state-tooltip {
    position: fixed;
    z-index: 998;
    background: #003612;
    color: #ede8c9;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 500;
    display: none;
    pointer-events: none;
}

.gs-avg-panel {
    position: fixed;
    z-index: 999;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #dcedc8;
    box-shadow: 0 6px 24px rgba(0, 54, 18, 0.15);
    padding: 12px;
    width: 90%;
    max-width: 500px;
    display: none;
    overflow: hidden;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.gs-avg-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.gs-avg-panel-title {
    font-weight: 600;
    font-size: 14px;
    color: #003612;
}

.gs-avg-panel-close {
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    padding: 0 6px;
    color: #4CAF50;
    transition: color .2s;
}

.gs-avg-panel-close:hover {
    color: #f44336;
}

.gs-panel-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 100%;
}

.gs-category-card {
    background: #f9fafb;
    border-radius: 8px;
    padding: 8px;
    border: 1px solid #dcedc8;
}

.gs-category-card h4 {
    margin: 0 0 6px 0;
    font-size: 14px;
    font-weight: 600;
    color: #003612;
}

.gs-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    margin-bottom: 4px;
    border-radius: 6px;
    cursor: pointer;
    background: #fff;
    border: 1px solid #dcedc8;
    transition: all .2s;
}

.gs-item-row:hover {
    background: #dcedc8;
    border-color: #4CAF50;
}

.gs-item-name {
    font-weight: 500;
    font-size: 13px;
    color: #003612;
}

.gs-item-price {
    font-size: 12px;
    font-weight: 600;
    color: #4CAF50;
}

.gs-no-data {
    font-size: 12px;
    color: #777;
}

.gs-city-tooltip {
    position: fixed;
    z-index: 10000;
    display: none;
    width: 80vw;
    max-width: 700px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
    padding: 16px;
    border: 1px solid #dcedc8;
    overflow: hidden;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.gs-tooltip-header {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #003612;
}

.gs-tooltip-close {
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    padding: 0 6px;
    color: #4CAF50;
    transition: color .2s;
}

.gs-tooltip-close:hover {
    color: #f44336;
}

.gs-city-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 6px;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 4px;
}

.gs-city-card {
    background: #f9fafb;
    border: 1px solid #dcedc8;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gs-city-card span.price {
    font-weight: 600;
    color: #4CAF50;
}

.gs-state-label {
    font-size: 10px;
    font-weight: 600;
    fill: #003612;
    text-anchor: middle;
    pointer-events: none;
}

.gs-debug-labels {
    margin-top: 10px;
    padding: 10px;
    background: #dcedc8;
    border-left: 4px solid #4CAF50;
    font-size: 12px;
    max-height: 200px;
    overflow-y: auto;
    color: #003612;
}

/* Headlines Section */
.gs-headlines-container {
    background: linear-gradient(135deg, #003612, #4CAF50);
    color: #ede8c9;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 54, 18, 0.3);
}

.gs-headlines-marquee {
    display: inline-flex;
    white-space: nowrap;
    animation: marquee var(--marquee-duration, 120s) linear infinite;
}

.gs-headlines-marquee:hover {
    animation-play-state: paused;
}

.gs-headline-item {
    flex: 0 0 auto;
    padding: 0 30px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    color: #ede8c9;
}

.gs-headline-item:not(:last-child)::after {
    content: '•';
    margin: 0 15px;
    color: #FFBF00;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Calculator */
.gs-calculator-container {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #dcedc8;
    box-shadow: 0 4px 12px rgba(0, 54, 18, 0.15);
    padding: 20px;
    max-width: 500px;
    margin: 20px auto;
}

.gs-calculator-title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
    color: #003612;
}

.gs-calculator-form {
    display: grid;
    gap: 15px;
}

.gs-calculator-form select,
.gs-calculator-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #dcedc8;
    border-radius: 6px;
    font-size: 14px;
    background: #f9fafb;
    transition: border-color .2s;
}

.gs-calculator-form select:focus,
.gs-calculator-form input:focus {
    border-color: #4CAF50;
    outline: none;
}

.gs-calculator-form input[type='number'] {
    -moz-appearance: textfield;
}

.gs-calculator-form input::-webkit-outer-spin-button,
.gs-calculator-form input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.gs-calculator-button {
    padding: 12px;
    background: linear-gradient(135deg, #003612, #4CAF50);
    color: #ede8c9;
    font-weight: 600;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all .2s;
}

.gs-calculator-button:hover {
    background: linear-gradient(135deg, #004d1e, #4CAF50);
    transform: translateY(-2px);
}

.gs-calculator-result {
    margin-top: 15px;
    padding: 10px;
    background: #dcedc8;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    color: #003612;
}

.gs-calculator-result.error {
    background: #ffebee;
    color: #d32f2f;
}

/* Responsive */
@media (max-width:700px) {
    .gs-state-svg { width: 150px; height: 150px; }
    .gs-india-svg { width: 400px; height: 500px; }
    .gs-category-button { padding: 6px 10px; font-size: 12px; }
    .gs-state-tooltip { font-size: 12px; padding: 5px 8px; }
    .gs-avg-panel { width: 95%; max-width: 320px; padding: 10px; }
    .gs-panel-row { grid-template-columns: 1fr; gap: 8px; }
    .gs-avg-panel-title { font-size: 13px; }
    .gs-avg-panel-close { font-size: 13px; }
    .gs-category-card { padding: 6px; }
    .gs-category-card h4 { font-size: 13px; }
    .gs-item-row { padding: 5px 6px; margin-bottom: 3px; }
    .gs-item-name { font-size: 12px; }
    .gs-item-price { font-size: 11px; }
    .gs-no-data { font-size: 11px; }
    .gs-state-label { font-size: 8px; }
    .gs-headline-item { font-size: 12px; padding: 0 20px; }
    .gs-headline-item:not(:last-child)::after { margin: 0 10px; }
    .gs-calculator-container { padding: 15px; max-width: 100%; }
    .gs-calculator-title { font-size: 16px; }
    .gs-calculator-form select, .gs-calculator-form input { font-size: 13px; padding: 8px; }
    .gs-calculator-button { font-size: 13px; padding: 10px; }
    .gs-calculator-result { font-size: 13px; }
}

@media (max-width:600px) {
    .gs-city-tooltip { width: 90vw; padding: 12px; }
    .gs-tooltip-header { font-size: 14px; }
    .gs-tooltip-close { font-size: 16px; }
    .gs-city-card { font-size: 12px; padding: 5px 6px; }
    .gs-state-svg { width: 200px; height: 200px; }
    .gs-india-svg { width: 360px; height: 500px; }
    .gs-headlines-container { padding: 8px 0; }
    .gs-headline-item { font-size: 11px; padding: 0 15px; }
    .gs-headline-item:not(:last-child)::after { margin: 0 10px; }
}
