/* ==========================================================================
   PANELLO MOBILYA - Unified Global UI & Component System
   Provides consistent luxury styling across ALL pages:
   Login, Register, Account, Cart, Checkout, Order Tracking, Blog, PDP, PLP
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. UNIFIED FORM CONTROLS & INPUTS
   -------------------------------------------------------------------------- */
.panello-input-group,
.form-group {
  margin-bottom: 20px;
  position: relative;
  text-align: left;
}

.panello-input-group label,
.form-label,
label.panello-label {
  display: block;
  font-family: var(--font-body-family, 'Lato-2', 'Lato', sans-serif);
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 7px;
  letter-spacing: 0.1px;
  text-align: left;
}

.panello-input-control,
.form-input,
.tracking-input {
  width: 100%;
  height: 48px;
  padding: 10px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14.5px;
  color: #0f172a;
  background: #ffffff;
  transition: all 0.2s ease;
  outline: none;
  box-sizing: border-box;
  font-family: var(--font-body-family, 'Lato-2', 'Lato', sans-serif);
  text-align: left;
}

textarea.panello-input-control,
textarea.form-input {
  height: auto;
  min-height: 100px;
  resize: vertical;
  line-height: 1.5;
}

.panello-input-control:focus,
.form-input:focus,
.tracking-input:focus {
  border-color: #d97706 !important;
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.15) !important;
  outline: none !important;
}

.panello-input-control::placeholder,
.form-input::placeholder,
.tracking-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   2. UNIFIED BUTTON SYSTEM
   -------------------------------------------------------------------------- */
.btn-panello-submit,
.btn-track-submit,
.place-order-btn,
button.btn-panello-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff !important;
  font-family: var(--font-body-family, 'Lato-2', 'Lato', sans-serif);
  font-size: 14.5px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
  padding: 0 32px;
  height: 48px;
  text-decoration: none !important;
  box-sizing: border-box;
}

.btn-panello-submit:hover,
.btn-track-submit:hover,
.place-order-btn:hover {
  background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.45);
  color: #ffffff !important;
}

.btn-panello-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f8fafc;
  color: #334155 !important;
  font-family: var(--font-body-family, 'Lato-2', 'Lato', sans-serif);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0 24px;
  height: 46px;
  text-decoration: none !important;
}

.btn-panello-secondary:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a !important;
}

/* --------------------------------------------------------------------------
   3. RESPONSIVE FORM GRID
   -------------------------------------------------------------------------- */
.panello-form-grid,
.form-row.panello-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .panello-form-grid,
  .form-row.panello-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* --------------------------------------------------------------------------
   4. CHECKBOXES, BANNERS & NOTIFICATIONS
   -------------------------------------------------------------------------- */
.custom-checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.custom-checkbox-wrap:hover {
  border-color: #cbd5e1;
  background: #ffffff;
}

.custom-checkbox-wrap input[type="checkbox"],
.custom-checkbox-wrap input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #d97706;
  cursor: pointer;
  margin: 0;
}

.address-info-banner {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #92400e;
  font-size: 13.5px;
  line-height: 1.5;
}

.address-section-title {
  font-family: var(--font-heading-family, 'Lato-2', 'Lato', sans-serif);
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
  margin: 28px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Panello Alerts */
.panello-alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 22px;
  font-size: 13.5px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 12px;
}

.panello-alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.panello-alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

/* --------------------------------------------------------------------------
   5. STATUS BADGES & STEPPERS
   -------------------------------------------------------------------------- */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-pending    { background: #fef3c7; color: #b45309; }
.badge-preparing  { background: #e0f2fe; color: #0369a1; }
.badge-shipped    { background: #ede9fe; color: #6d28d9; }
.badge-delivered  { background: #dcfce7; color: #15803d; }
.badge-cancelled  { background: #fee2e2; color: #b91c1c; }

/* --------------------------------------------------------------------------
   6. GLOBAL TYPOGRAPHY INTEGRITY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading-family, 'Lato-2', 'Lato', sans-serif);
  color: #0f172a;
}

body, p, span, a, input, select, textarea, button {
  font-family: var(--font-body-family, 'Lato-2', 'Lato', sans-serif);
}
