/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: #0f172a;
  color: #e2e8f0;
}

h1 {
  margin: 0;
  padding: 16px;
  border-bottom: 1px solid #1e293b;
}

.columns {
  display: grid;
  grid-template-columns: 240px 320px 1fr;
  height: calc(100vh - 64px);
}

.column {
  border-right: 1px solid #1e293b;
  padding: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
}

.column h3 {
  margin: 0 0 12px 0;
  flex-shrink: 0;
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list li {
  margin: 0;
  padding: 8px 10px;
  border-radius: 6px;
}

.list li a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.list li.active {
  background: #1e293b;
}

.messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.message {
  padding: 10px;
  border: 1px solid #1e293b;
  border-radius: 8px;
  background: #0b1224;
}

.day-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.day-header {
  font-size: 12px;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 8px 0 4px;
}

.meta {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.meta .sender {
  font-weight: 600;
  color: #e2e8f0;
}

.meta .time {
  color: #94a3b8;
}

.body {
  margin-top: 6px;
  white-space: pre-wrap;
}

.messages-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px 0;
  flex-shrink: 0;
}

.messages-header h3 {
  margin: 0;
}

.messages-wrapper {
  flex: 1 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.info-button {
  background: transparent;
  border: 1px solid #475569;
  border-radius: 4px;
  color: #cbd5e1;
  cursor: pointer;
  padding: 6px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-button:hover {
  background: #1e293b;
  border-color: #64748b;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #1e293b;
}

.modal-header h2 {
  margin: 0;
  font-size: 18px;
}

.modal-close {
  background: transparent;
  border: none;
  color: #cbd5e1;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.2s;
}

.modal-close:hover {
  background: #1e293b;
}

.modal-body {
  padding: 16px;
}

.info-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.info-row:last-child {
  margin-bottom: 0;
}

.info-row strong {
  color: #cbd5e1;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-row code {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 4px;
  color: #e2e8f0;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 13px;
  padding: 8px;
  word-break: break-all;
}

.info-row code.small {
  font-size: 11px;
}

.info-row span {
  color: #e2e8f0;
  font-size: 14px;
}

/* Media content styles */
.media-image-container {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.media-image {
  max-width: 300px;
  max-height: 300px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  object-fit: contain;
}

.media-image:hover {
  opacity: 0.9;
}

.media-image.expanded {
  max-width: 100%;
  max-height: 80vh;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  background: #0f172a;
  padding: 8px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.8);
}

.media-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
}

.media-video-container,
.media-audio-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.media-video {
  max-width: 400px;
  max-height: 300px;
  border-radius: 8px;
  background: #000;
}

.media-audio {
  width: 100%;
  max-width: 300px;
  height: 40px;
}

.media-file {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #e2e8f0;
  text-decoration: none;
  transition: all 0.2s;
}

.media-file:hover {
  background: #334155;
  border-color: #475569;
}

.media-file-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.media-file-name {
  font-size: 14px;
  font-weight: 500;
}

.media-file-size {
  font-size: 11px;
  color: #64748b;
}

.media-error {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #94a3b8;
}

.media-download {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 4px 8px;
  background: #334155;
  border-radius: 4px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 12px;
}

.media-download:hover {
  background: #475569;
}

.media-placeholder {
  color: #64748b;
  font-style: italic;
}

.media-caption {
  margin-top: 6px;
  font-size: 13px;
  color: #cbd5e1;
}



