/* llobregatdomains - estilo alineado con la plantilla avanamclassic (LlobregatWeb) */
.lld-domains {
  font-family: 'Inter', sans-serif;
  color: #444;
  max-width: 1100px;
  margin: 0 auto;
}
.lld-hero {
  background: linear-gradient(135deg, #021523 0%, #047389 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 40px 30px;
  margin-bottom: 28px;
  text-align: center;
}
.lld-hero-title {
  color: #ffffff;
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  margin: 0 0 10px 0;
}
.lld-hero-sub {
  font-size: 17px;
  color: #f5c500;
  margin: 0;
}
.lld-hero-link {
  color: #f5c500;
  text-decoration: none;
}
.lld-hero-link:hover {
  color: #ffffff;
}

/* Botones */
.lld-btn {
  display: inline-block;
  padding: 10px 24px;
  border: none;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease, opacity 0.2s ease;
  line-height: 1.4;
}
.lld-btn-primary {
  background: #FED700;
  color: #021523;
}
.lld-btn-primary:hover {
  background: #e8c300;
  color: #021523;
}
.lld-btn-ghost {
  background: #f0f0f0;
  color: #021523;
}
.lld-btn-ghost:hover {
  background: #e0e0e0;
  color: #021523;
}
.lld-btn-danger {
  background: #fdecea;
  color: #da3f3f;
}
.lld-btn-danger:hover {
  background: #f8d7d5;
  color: #b03030;
}
.lld-btn-sm {
  padding: 6px 16px;
  font-size: 13px;
}
.lld-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

/* Formulario de búsqueda */
.lld-search-form {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.lld-search-inputs {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}
.lld-search-inputs input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #021523;
}
.lld-search-inputs input:focus {
  outline: none;
  border-color: #FED700;
}
.lld-tlds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lld-tld {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 8px 12px;
  background: #fafafa;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 86px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lld-tld:hover {
  border-color: #FED700;
  background: #fffdf0;
}
.lld-tld input {
  margin-bottom: 4px;
}
.lld-tld-name {
  font-weight: 600;
  color: #021523;
}
.lld-tld-price {
  font-size: 0.85rem;
  color: #777;
}

/* Resultados de búsqueda */
.lld-empty {
  color: #777;
  padding: 20px;
  text-align: center;
}
#lld-results {
  margin: 8px 0 24px;
}
.lld-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.lld-row-main .lld-domain {
  font-size: 1.15rem;
  font-weight: 700;
  color: #021523;
  font-family: 'Playfair Display', serif;
  margin-right: 12px;
}
.lld-price {
  color: #021523;
  font-weight: 600;
}
.lld-price small {
  color: #999;
  font-weight: 400;
}
.lld-status {
  padding: 3px 12px;
  border-radius: 12px;
  background: #eee;
  font-size: 0.85rem;
  color: #555;
}
.lld-status.lld-available {
  background: #2A7A25;
  color: #ffffff;
}
.lld-status.lld-taken {
  background: #999;
  color: #ffffff;
}
.lld-status.lld-error {
  background: #da3f3f;
  color: #ffffff;
}

/* Panel y tablas */
.lld-panel {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.lld-panel h2 {
  font-size: 1.2rem;
  margin-top: 0;
  color: #021523;
  font-family: 'Playfair Display', serif;
}
.lld-subtitle {
  font-size: 1.05rem;
  color: #021523;
  font-family: 'Playfair Display', serif;
  margin: 18px 0 10px;
}
.lld-table thead th {
  color: #021523;
  background: #f7f7f7;
  border-bottom: 2px solid #eee;
}
.lld-table td,
.lld-table th {
  vertical-align: middle;
}
.lld-badge {
  background: #eef3f8;
  color: #0275d8;
  border-radius: 6px;
  padding: 2px 8px;
  font-weight: 600;
  font-size: 0.85rem;
}
.lld-cell-content {
  word-break: break-all;
}
.lld-domain {
  color: #021523;
  font-weight: 700;
}
.lld-updated {
  color: #888;
  font-size: 0.9rem;
  text-align: center;
}

/* DNS */
.lld-help {
  color: #777;
  font-size: 0.9rem;
}
.lld-ns-row {
  margin-bottom: 8px;
  max-width: 480px;
}
.lld-ns-row .form-control,
.lld-record-form .form-control {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #021523;
  border-radius: 8px;
}
.lld-panel-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}
.lld-record-form {
  gap: 8px;
}
.lld-record-form .form-group {
  margin-bottom: 8px;
}
.lld-w100 {
  min-width: 280px;
  flex: 1;
}
.lld-alert {
  background: #fdecea;
  border: 1px solid #f5c6c2;
  color: #b03030;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
}

/* Notas */
.lld-notes {
  margin-top: 24px;
  color: #666;
}
.lld-link {
  color: #0275d8;
}
.lld-disclaimer {
  font-size: 0.85rem;
  color: #888;
}

/* Renovación automática (switch) */
.lld-ar-label {
  margin-left: 8px;
  color: #777;
  font-size: 0.9rem;
}
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  vertical-align: middle;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 24px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}
.switch input:checked + .slider {
  background-color: #2A7A25;
}
.switch input:checked + .slider:before {
  transform: translateX(22px);
}

@media (max-width: 768px) {
  .lld-hero {
    padding: 28px 20px;
  }
  .lld-hero-title {
    font-size: 26px;
  }
  .lld-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .lld-row-actions {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
