@import "tailwindcss";

.auto-reply-page {
  min-height: 100vh;
  background: #f5f6f8;
}

.auto-reply-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  height: auto;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.auto-reply-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auto-reply-metric,
.auto-reply-table,
.auto-reply-summary {
  border-radius: 12px;
}

.auto-reply-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

.auto-reply-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.auto-reply-name h4.ant-typography {
  margin-bottom: 0;
}

.auto-reply-summary-block {
  width: 100%;
}

.auto-reply-summary-title {
  font-size: 16px;
  font-weight: 600;
  margin-top: 6px;
}

.auto-reply-summary-text {
  margin-top: 6px;
  color: #374151;
  line-height: 1.5;
}

@media (max-width: 1200px) {
  .auto-reply-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .auto-reply-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }

  .auto-reply-content {
    padding: 16px;
  }
}
