/*
 * 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.
 */

 .post-snippet h5:hover {
   text-decoration: underline;
 }

 .badge {
   font-size: 0.85rem;
 }

/* Reactions Styles */
.reactions-container {
  margin-top: 1rem;
  padding-top: 0rem;
  border-top: 0px solid #e9ecef;
}

.reactions-buttons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.reaction-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  /*border: 1px solid #dee2e6;*/
  background: white;
  transition: all 0.2s;
}

.reaction-btn:hover {
  background: #f8f9fa;
  border-color: #adb5bd;
}

.reaction-btn.active {
  background: #e3f2fd;
  border-color: transparent;
  /*color: #1976d2;*/
}

.reaction-btn .count {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Remove focus outline from user dropdown link */
.nav-link.dropdown-toggle:focus {
  outline: none;
  box-shadow: none;
}

/* Walls dropdown styling */
.dropdown-menu .dropdown-item.active {
  background-color: #0d6efd;
  color: white;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f8f9fa;
}

.dropdown-menu .dropdown-item.active:hover {
  background-color: #0b5ed7;
}

.dropdown-header {
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.8px;
  padding-top: 0.75rem;
  padding-bottom: 0.5rem;
  color: #6c757d !important;
  margin-bottom: 0.25rem;
}

.dropdown-item small {
  display: block;
  line-height: 1.2;
}

/* Quick filter styling */
#quick-filter-container {
  margin-left: 0.5rem;
}

#quick-filter-form .select2-container {
  font-size: 0.875rem;
}

#quick-filter-form .select2-selection {
  border-color: #dee2e6;
  min-height: 38px;
}

#quick-filter-form .select2-selection__choice {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: white;
}

#quick-filter-form .select2-selection__choice__remove {
  color: white;
  margin-right: 5px;
}

#quick-filter-form .select2-selection__choice__remove:hover {
  color: #ffcccc;
}

/* Botão de limpar filtros */
#quick-filter-form .btn-link {
  white-space: nowrap;
}

#quick-filter-form .btn-link:hover {
  color: #dc3545 !important;
}

/* Organizational chart */
.organizational-chart {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.org-node-wrapper {
  position: relative;
}

.org-node {
  border-left: 4px solid #0d6efd;
}

.org-children {
  border-left: 1px dashed #adb5bd;
  padding-left: 1rem;
  margin-left: 0.5rem;
}

/* Meeting records */
.meeting-form-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.meeting-form-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  padding: 1.5rem;
}

.meeting-participants {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.meeting-person-card {
  flex: 1 1 280px;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 0.9rem;
  background: #f8f9fa;
}

.meeting-person-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  color: #6c757d;
  font-size: 1.2rem;
}

.meeting-record-item {
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.meeting-record-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.meeting-discussion-content {
  white-space: pre-wrap;
  word-break: break-word;
}

/* MBTI */
.mbti-shell {
  max-width: 980px;
  margin: 2rem auto 3rem;
  padding: 0 1rem;
}

.mbti-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 34px rgba(14, 35, 61, 0.08);
  padding: 1.5rem;
}

.mbti-hero-card {
  background: linear-gradient(145deg, #eef5ff 0%, #f7fbff 65%, #ffffff 100%);
}

.mbti-overline {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #5f6f85;
  font-size: 0.75rem;
}

.mbti-title {
  font-size: clamp(1.8rem, 2.2vw, 2.4rem);
  line-height: 1.2;
  font-weight: 800;
  color: #1a2a44;
}

.mbti-subtitle {
  font-size: 1.05rem;
  color: #4d5d75;
}

.mbti-last-result {
  border-top: 1px solid #e8edf4;
  padding-top: 1rem;
}

.mbti-question-index {
  font-size: 0.95rem;
  font-weight: 700;
  color: #5f6f85;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mbti-question-text {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  line-height: 1.35;
  color: #16233a;
  font-weight: 800;
}

.mbti-progress {
  height: 1.1rem;
  border-radius: 999px;
  background: #ecf1f8;
}

.mbti-progress .progress-bar {
  border-radius: 999px;
  font-weight: 700;
}

.mbti-scale {
  display: grid;
  gap: 0.75rem;
}

.mbti-scale-option {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #dfe6f1;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.mbti-scale-option:hover {
  border-color: #b8c9e5;
  background: #f8fbff;
}

.mbti-scale-option .form-check-input {
  margin-top: 0;
}

.mbti-scale-value {
  display: inline-flex;
  width: 1.9rem;
  height: 1.9rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #edf3ff;
  font-weight: 700;
  color: #2559ad;
}

.mbti-scale-label {
  font-weight: 600;
  color: #25354d;
}

.mbti-result-hero {
  background: radial-gradient(circle at top right, #d8e8ff, #f6fbff 60%);
}

.mbti-type-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.mbti-type-code {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: #0f4cb0;
  letter-spacing: 0.04em;
}

.mbti-type-name {
  font-size: 1rem;
  font-weight: 700;
  color: #3f5374;
}

.mbti-axis .progress {
  height: 0.95rem;
  border-radius: 999px;
  background: #ecf1f8;
}

.mbti-axis .progress-bar {
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.mbti-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
}
