/* ==========================================================================
   Uttarakhand District & Town Finder Styles (Ghughuti Travel Tools)
   ========================================================================== */

.uk-udf-container {
  box-sizing: border-box;
  max-width: 1140px;
  margin: 30px auto;
  padding: 28px 24px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(15, 56, 34, 0.08);
  font-family: inherit;
  color: #2d3748;
}

.uk-udf-container * {
  box-sizing: border-box;
}

.uk-udf-header {
  text-align: center;
  margin-bottom: 26px;
}

.uk-udf-badge {
  display: inline-block;
  background: #eef6f1;
  color: #1a5336;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  border: 1px solid #c8e6d5;
}

.uk-udf-title {
  font-size: 28px;
  font-weight: 800;
  color: #1a5336;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.uk-udf-subtitle {
  font-size: 15px;
  color: #55695d;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Controls */
.uk-udf-controls {
  background: #fbfdfc;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #e2ebe5;
  margin-bottom: 20px;
}

.uk-udf-search-row {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 14px;
}

.uk-udf-search-icon {
  position: absolute;
  left: 14px;
  font-size: 18px;
  color: #718096;
}

.uk-udf-input {
  width: 100%;
  padding: 12px 40px 12px 44px;
  font-size: 14px;
  border-radius: 10px;
  border: 2px solid #d2ded7;
  outline: none;
}

.uk-udf-input:focus {
  border-color: #1a5336;
  box-shadow: 0 0 0 3px rgba(26, 83, 54, 0.12);
}

.uk-udf-clear-btn {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
}

.uk-udf-filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.uk-udf-filter-group {
  display: flex;
  flex-direction: column;
}

.uk-udf-label {
  font-size: 12px;
  font-weight: 700;
  color: #4a5568;
  margin-bottom: 5px;
}

.uk-udf-select {
  width: 100%;
  padding: 10px 12px;
  font-size: 13.5px;
  border-radius: 8px;
  border: 1.5px solid #d2ded7;
  background: #ffffff;
  color: #2d3748;
  outline: none;
  cursor: pointer;
}

.uk-udf-select:focus {
  border-color: #1a5336;
}

/* Stats */
.uk-udf-stats {
  font-size: 13.5px;
  color: #64748b;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef3f0;
}

.uk-udf-stats strong {
  color: #1a5336;
  font-size: 16px;
}

/* Grid */
.uk-udf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.uk-udf-card {
  background: #ffffff;
  border: 1px solid #e2ebe5;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(15, 56, 34, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.uk-udf-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 56, 34, 0.09);
  border-color: #cbe0d3;
}

.uk-udf-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.uk-udf-card-name {
  font-size: 18px;
  font-weight: 800;
  color: #1a5336;
  margin: 0 0 2px 0;
  line-height: 1.25;
}

.uk-udf-card-sub {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.uk-udf-badge-pill {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.uk-udf-badge-garhwal {
  background: #e0f2fe;
  color: #0369a1;
}

.uk-udf-badge-kumaon {
  background: #f0fdf4;
  color: #15803d;
}

/* ULB Badges */
.uk-udf-card-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #4a5568;
  margin-bottom: 12px;
  line-height: 1.4;
}

.uk-udf-ulb-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}

.uk-udf-ulb-nigam {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.uk-udf-ulb-palika {
  background: #e0e7ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
}

.uk-udf-ulb-panchayat {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.uk-udf-ulb-special {
  background: #fae8ff;
  color: #86198f;
  border: 1px solid #f5d0fe;
}

/* Specs */
.uk-udf-card-specs {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #fbfdfc;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #edf4f0;
  margin-bottom: 12px;
  font-size: 12px;
}

.uk-udf-spec-item {
  display: flex;
  justify-content: space-between;
}

.uk-udf-spec-label {
  color: #64748b;
  font-weight: 600;
}

.uk-udf-spec-item strong {
  color: #1e293b;
  font-weight: 700;
  text-align: right;
  max-width: 65%;
}

.uk-udf-card-attractions {
  font-size: 12px;
  color: #374151;
  line-height: 1.5;
  margin-top: auto;
  border-top: 1px dashed #e2ebe5;
  padding-top: 8px;
}

.uk-udf-attr-title {
  color: #1a5336;
  font-weight: 700;
}
