/* SECTION */
.gdd-map-section {
  padding: 70px 20px;
  text-align: center;
  background: #f4f5f3;
}

.gdd-map-section h2 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 10px;
}

.gdd-map-section p {
  color: #666;
  margin: 0 0 40px;
}

/* LAYOUT */
.gdd-map-container {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.gdd-map-container > * {
  min-width: 0;
}

/* MAP CARD */
.gdd-map {
  background: #fff;
  border-radius: 26px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* SVG */
.gdd-map svg {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto;
}

/* JUDETE */
.judet {
  fill: #ADADAD;
  stroke: #fff;
  stroke-width: 1.5;
  cursor: pointer;
  transition: fill 0.2s ease;
  transform: none !important;
  transform-box: fill-box;
  transform-origin: center;
}

.judet:hover {
  fill: #8F002A;
  transform: none !important;
  filter: none !important;
}

.judet.active {
  fill: #8F002A;
}

/* INFO CARD */
.gdd-info {
  background: #fff;
  padding: 32px;
  border-radius: 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  text-align: left;
}

.gdd-info h3 {
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 10px;
}

.gdd-info p {
  margin: 0 0 22px;
}

/* BUTTON */
.gdd-btn {
  display: inline-block;
  background: #2E2E2E;
  color: #fff;
  padding: 16px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.25s ease;
}

.gdd-btn:hover {
  background: #8F002A;
  transform: translateY(-2px);
}

/* TABLET */
@media (max-width: 991px) {
  .gdd-map-section {
    padding: 56px 16px;
  }

  .gdd-map-section h2 {
    font-size: 34px;
  }

  .gdd-map-section p {
    margin-bottom: 28px;
  }

  .gdd-map-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gdd-map {
    padding: 14px;
    border-radius: 20px;
  }

  .gdd-info {
    padding: 22px;
    border-radius: 20px;
  }

  .gdd-map svg {
    width: 100% !important;
    height: auto !important;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .gdd-map-section {
    padding: 38px 12px;
  }

  .gdd-map-section h2 {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .gdd-map-section p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .gdd-map-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gdd-map {
    padding: 8px;
    border-radius: 16px;
  }

  .gdd-map svg {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .gdd-info {
    padding: 16px;
    border-radius: 16px;
  }

  .gdd-info h3 {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  .gdd-info p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 14px;
  }

  .gdd-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 16px;
    font-size: 14px;
  }
}

/* EXTRA FIX PENTRU SVG MARI */
.gdd-map svg[width][height] {
  width: 100% !important;
  height: auto !important;
}
@media (max-width: 600px) {
  .gdd-info {
    box-sizing: border-box;
    overflow: hidden;
  }

  .gdd-btn,
  #gdd-btn {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 14px 16px;
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
  }
}
.gdd-info {
  justify-self: center;
  width: 100%;
  max-width: 320px;
}
.gdd-info {
  justify-self: center;
  width: 100%;
  max-width: 320px;
}
.county-select {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#judet {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
}
#judet {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 16px;
  background-color: #fff;
  appearance: none; /* scoate stilul default */
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;

  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

/* hover */
#judet:hover {
  border-color: #999;
}

/* focus */
#judet:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
}

/* container pentru săgeată */
.select-wrapper {
  position: relative;
}

/* săgeată custom */
.select-wrapper::after {
  content: "▾";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 14px;
  color: #666;
}
.county-select {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.select-wrapper {
  position: relative;
}

#judet {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 15px;
  background-color: #fff;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  cursor: pointer;
  transition: all 0.2s ease;
}

/* hover */
#judet:hover {
  border-color: #999;
}

/* focus */
#judet:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
}

/* sageata custom */
.select-wrapper::after {
  content: "▾";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 14px;
  color: #666;
}
.county-select label {
  font-weight: 700;
  font-size: 20px;
  color: #222;
  margin-bottom: 5px;
}