/* Custom styles for Sun & Sea Real Estate */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.25s ease-out forwards;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Print styles for physical clean printouts */
@media print {
  header, nav, .no-print, button, .action-bar {
    display: none !important;
  }
  body {
    background: white !important;
    color: black !important;
    font-size: 11pt;
  }
  .print-page {
    box-shadow: none !important;
    border: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* Input focus glow */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

/* Touch active feedback */
.touch-active:active {
  transform: scale(0.98);
}

/* Photo drag and drop states */
.photo-card {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  user-select: none;
}
.photo-card.dragging {
  opacity: 0.45;
  transform: scale(0.96);
  cursor: grabbing !important;
}
.photo-card.drag-over {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.4) !important;
  transform: scale(1.04);
}
.drag-handle {
  cursor: grab;
}
.drag-handle:active {
  cursor: grabbing;
}

/* =========================================================
   REAL ESTATE DESCRIPTION & VISUAL WYSIWYG EDITOR STYLES
   Ensures bullet points, bold keywords and sections render cleanly
   ========================================================= */
#desc-visual-editor,
.desc-preview-body {
  font-family: inherit;
  color: #1e293b;
  line-height: 1.7;
}

#desc-visual-editor p,
.desc-preview-body p {
  margin-top: 0;
  margin-bottom: 0.85rem;
}

#desc-visual-editor ul,
.desc-preview-body ul {
  list-style-type: disc !important;
  margin-top: 0.5rem !important;
  margin-bottom: 1rem !important;
  padding-left: 1.75rem !important;
}

#desc-visual-editor ol,
.desc-preview-body ol {
  list-style-type: decimal !important;
  margin-top: 0.5rem !important;
  margin-bottom: 1rem !important;
  padding-left: 1.75rem !important;
}

#desc-visual-editor li,
.desc-preview-body li {
  display: list-item !important;
  list-style-type: disc !important;
  margin-bottom: 0.45rem !important;
  padding-left: 0.35rem !important;
}

#desc-visual-editor ol li,
.desc-preview-body ol li {
  list-style-type: decimal !important;
}

#desc-visual-editor strong,
.desc-preview-body strong {
  font-weight: 700 !important;
  color: #0f172a !important;
}

#desc-visual-editor a,
.desc-preview-body a {
  color: #0284c7;
  text-decoration: underline;
  font-weight: 600;
}

/* Bullet items with visual bullet symbol • and hanging indent */
#desc-visual-editor p.bullet-item,
.desc-preview-body p.bullet-item,
p.bullet-item {
  margin-top: 0 !important;
  margin-bottom: 0.45rem !important;
  padding-left: 1.4rem !important;
  text-indent: -1.15rem !important;
  line-height: 1.6 !important;
  color: #1e293b !important;
}

#desc-visual-editor p.bullet-item strong,
.desc-preview-body p.bullet-item strong {
  color: #0f172a !important;
  font-weight: 700 !important;
}


