/* Studio Locator Form */
.slb-studio-locator-wrapper {
  margin: 20px 0;
}

.slb-studio-locator-form {
  margin-bottom: 20px;
}

.slb-form-group {
  margin-bottom: 10px;
}

.slb-studio-location-input {
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  border: 2px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.3s ease;
  color: #333;
}
::placeholder {
    color: #222;
    opacity: 1;
}

.slb-studio-location-input:focus {
  outline: none;
  border-color: #333;
}

.slb-studio-locator-form.slb-loading .slb-studio-location-input {
  opacity: 0.6;
  pointer-events: none;
}

/* Message Display */
.slb-message {
  margin: 10px 0;
  padding: 10px 15px;
  font-size: 14px;
  border-radius: 4px;
  display: none;
}

.slb-message:not(:empty) {
  display: block;
}

.slb-message.slb-error {
  background-color: #fee;
  color: #c33;
  border-left: 4px solid #c33;
}

.slb-message:not(.slb-error) {
  background-color: #eef;
  color: #33c;
  border-left: 4px solid #33c;
}

/* Results Grid */
.slb-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Studio Cards */
.slb-studio-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.slb-studio-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.slb-studio-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
}

.slb-studio-name {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  flex: 1;
}

.slb-studio-distance {
  background: #f0f0f0;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  white-space: nowrap;
  margin-left: 10px;
}

.slb-studio-info {
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.6;
}

.slb-studio-info p {
  margin: 10px 0;
}

.slb-studio-address {
  color: #666;
}

.slb-studio-phone a {
  color: #0066cc;
  text-decoration: none;
}

.slb-studio-phone a:hover {
  text-decoration: underline;
}

.slb-studio-form {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

/* Responsive */
@media (max-width: 768px) {
  .slb-results-grid {
    grid-template-columns: 1fr;
  }

  .slb-studio-header {
    flex-direction: column;
  }

  .slb-studio-distance {
    margin-left: 0;
    margin-top: 10px;
  }
}