/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Emoji Picker Styles */
.emoji-picker {
  --border-radius: 0.5rem;
  --border-size: 1px;
  --border-color: #e5e7eb;
  --background: #ffffff;
  --num-columns: 8;
  height: 350px;
  width: 350px;
}

/* Make emoji picker responsive on mobile */
@media (max-width: 640px) {
  .emoji-picker {
    width: 280px;
    height: 300px;
    --num-columns: 6;
  }
}

/* Drag and Drop Styles */
[data-file-attachment-target="dropzone"].drag-over {
  background-color: rgba(224, 231, 255, 0.95);
}

[data-file-attachment-target="dropzone"].drag-over .drag-over-indicator {
  display: flex !important;
}

.drag-over-indicator {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Preview Modal Styles */
.fixed.inset-0 {
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
