@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800;900&family=Poppins:wght@400;500;600&display=swap');

/* ============================================
   Lbs to Kg Converter - by Yaseen
   ============================================ */

.lkc-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  box-sizing: border-box;
}

/* Header */
.lkc-header {
  text-align: center;
  margin-bottom: 28px;
}

.lkc-badge {
  display: inline-block;
  background: #ffffff;
  border: 1.5px solid #0EA5E9;
  color: #0EA5E9;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.lkc-title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 2.2rem !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.5px;
}

.lkc-subtitle {
  color: #64748b;
  font-size: 0.88rem;
  margin: 0 !important;
  font-family: 'Poppins', sans-serif;
}

/* Card */
.lkc-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: 0 2px 20px rgba(14,165,233,0.07);
  box-sizing: border-box;
}

/* Fields */
.lkc-field {
  margin-bottom: 22px;
}

.lkc-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px !important;
  font-family: 'Poppins', sans-serif;
}

/* Select */
.lkc-select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: #334155;
  background: #f8fafc;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  box-sizing: border-box;
}

.lkc-select:focus {
  border-color: #0EA5E9;
  box-shadow: 0 0 0 4px rgba(14,165,233,0.1);
}

/* Quick Examples */
.lkc-quick-section {
  border: 1.5px dashed #cbd5e1;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 22px;
  background: #fafcff;
}

.lkc-quick-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #0EA5E9;
  margin: 0 0 14px 0 !important;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lkc-quick-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lkc-quick-btn {
  padding: 9px 18px;
  border-radius: 8px;
  border: 1.5px solid #0EA5E9;
  background: #0EA5E9;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Poppins', sans-serif;
}

.lkc-quick-btn:hover {
  background: #0284c7;
  border-color: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14,165,233,0.25);
}

/* Input */
.lkc-input-wrap {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lkc-input-wrap:focus-within {
  border-color: #0EA5E9;
  box-shadow: 0 0 0 4px rgba(14,165,233,0.1);
  background: #fff;
}

.lkc-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 16px;
  font-size: 1.4rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: #0f172a;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.lkc-input::placeholder { color: #cbd5e1; font-size: 1rem; font-weight: 400; }

.lkc-input-unit {
  padding: 14px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0EA5E9;
  font-family: 'Montserrat', sans-serif;
  border-left: 2px solid #e2e8f0;
  background: #f0f9ff;
  white-space: nowrap;
}

/* Convert Button */
.lkc-convert-btn {
  width: 100%;
  padding: 17px;
  border-radius: 14px;
  border: none;
  background: #0EA5E9;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 6px 22px rgba(14,165,233,0.35);
  box-sizing: border-box;
}

.lkc-convert-btn:hover {
  background: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(14,165,233,0.4);
}

.lkc-convert-btn:active { transform: translateY(0); }

/* Results */
.lkc-results {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 2px 20px rgba(14,165,233,0.07);
  box-sizing: border-box;
}

.lkc-results-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.lkc-results-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0);
}
.lkc-results-line:last-child {
  background: linear-gradient(90deg, #e2e8f0, transparent);
}

.lkc-results-title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  color: #0EA5E9 !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Result Row */
.lkc-result-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.lkc-result-box {
  flex: 1;
  background: #334155;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  animation: lkcPop 0.45s cubic-bezier(0.34,1.56,0.64,1) forwards;
  opacity: 0;
  transform: scale(0.85);
}

.lkc-arrow {
  font-size: 1.8rem;
  color: #0EA5E9;
  font-weight: 700;
  flex-shrink: 0;
}

.lkc-res-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 12px;
}

.lkc-res-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}

.lkc-from-color { color: #ffffff; }
.lkc-to-color   { color: #38bdf8; }

.lkc-res-unit {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #94a3b8;
}

/* Actions */
.lkc-actions {
  text-align: center;
  margin-bottom: 14px;
}

.lkc-copy-btn {
  padding: 12px 36px;
  border-radius: 10px;
  border: none;
  background: #0EA5E9;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(14,165,233,0.3);
}

.lkc-copy-btn:hover {
  background: #0284c7;
  transform: translateY(-1px);
}

.lkc-copy-btn.copied {
  background: #334155;
}

/* Precise */
.lkc-precise {
  text-align: center;
  font-size: 0.82rem;
  color: #64748b;
  font-family: 'Poppins', sans-serif;
}

.lkc-precise strong {
  color: #334155;
  font-weight: 700;
}

/* Animation */
@keyframes lkcPop {
  to { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (max-width: 480px) {
  .lkc-title { font-size: 1.7rem !important; }
  .lkc-res-value { font-size: 2.2rem; }
  .lkc-result-row { gap: 10px; }
  .lkc-card, .lkc-results { padding: 18px; }
  .lkc-quick-btns { gap: 8px; }
}
