@tailwind components;
@tailwind utilities;

/* Custom styles can be added below */
.max-h-47px {
  max-height: 47px;
}

/* Code section styling for documentation */
.code-section {
  margin: 20px 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.code-section h5 {
  background: #f9fafb;
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.code-section p {
  margin: 8px 16px;
  font-size: 13px;
  color: #6b7280;
}

.code-section .code-block {
  margin: 0;
  border-radius: 0;
} 

/* Modern styling for signup form container */
.listingsdiv.splashnarrow.signupsm.signup-shadow {
  @apply border border-gray-200/60;
  @apply shadow-lg shadow-gray-200/50;
  @apply rounded-xl;
  @apply backdrop-blur-sm;
  @apply border-opacity-80;
  @apply transition-all duration-300 ease-in-out;
  @apply hover:shadow-xl hover:shadow-gray-300/60;
  @apply hover:border-gray-300/80;
}

/* Modern styling for login form container */
.login-row.w-row {
  @apply border border-gray-200/60;
  @apply shadow-lg shadow-gray-200/50;
  @apply rounded-xl;
  @apply backdrop-blur-sm;
  @apply border-opacity-80;
  @apply transition-all duration-300 ease-in-out;
  @apply hover:shadow-xl hover:shadow-gray-300/60;
  @apply hover:border-gray-300/80;
}

/* Styling for new user text */
.new-user-text {
  color: var(--align-dark-grey);
  text-align: left;
  padding-left: 25px;
  padding-right: 25px;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 400;
}

/* Disable shadow for minus-box */
.minus-box.shadow {
  @apply shadow-none;
}

.md-h1-tag {
  @apply !leading-6;
  margin-top: 4px !important;
  font-size: 1.125rem !important; /* 18px */
  font-weight: 700 !important;
  margin-bottom: 0.25rem !important;
  line-height: 1.5rem !important;
} 

.md-h2-tag {
  @apply !leading-6;
  font-size: 1rem !important; /* 16px */
  font-weight: 600 !important;
  margin-bottom: 0.25rem !important;
  line-height: 1.5rem !important;
}

.md-h3-tag {
  @apply !leading-5;
  font-size: 0.9375rem !important; /* 15px */
  font-weight: 600 !important;
  margin-bottom: 0.25rem !important;
  line-height: 1.25rem !important;
}

.md-h4-tag {
  @apply !leading-5;
  font-size: 0.875rem !important; /* 14px */
  font-weight: 600 !important;
  margin-bottom: 0.25rem !important;
  line-height: 1.25rem !important;
}

.md-h5-tag, .md-h6-tag {
  @apply !leading-5;
  font-size: 0.8125rem !important; /* 13px */
  font-weight: 500 !important;
  margin-bottom: 0.25rem !important;
  line-height: 1.25rem !important;
}

@media (max-width: 767px) {
  .md-h1-tag {
    @apply !leading-7;
    line-height: 1.75rem !important;
  }
}

.chat-parent-message-text .md-p-tag {
  margin-bottom: 0 !important;
} 

.chat-message-text-box.reply {
  max-height: 55px !important;
  background-color: #5062ff0d !important;
} 

.chat-parent-message-text.me.reply {
  @apply text-opacity-80;
  font-size: 16px;
  line-height: 22px;
}

.day-break-text {
  background-color: #f3f4f6;
  font-weight: 400;
}

.chat-options-text {
  font-weight: 400;
}

.popular-emojis {
  max-height: 84px;
}

@media (min-width: 768px) {
  .popular-emojis {
    max-height: 84px;
  }
  
  .chat-parent-message-text.me.reply {
    font-size: 14px;
  }
}

.message-form-wrapper {
  border-radius: 14px;
  padding: 8px;
}

.chat-compose-icons {
  padding-right: 0;
}

.chat-compose-box-icons {
  padding-right: 8px;
}

.chat-compose-icons.sm.attach.compose {
  border-radius: 12px;
}

.ux-button.small.inverse.compase.submit-message-btn {
  border-radius: 20px;
  height: 33px;
  width: 33px;
}

.active-typing {
  margin-bottom: 0;
}

.chat-parent-message-preview.reply.tight {
  border-left: 2px solid rgba(80, 98, 255, 0.75) !important;
  margin-left: 2px !important;
} 