body {
  font-family: "Inter", sans-serif;
}

.gradient-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.glass-effect {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.input-focus:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-gradient:active {
  transform: translateY(0);
}

.password-toggle {
  cursor: pointer;
  user-select: none;
}

.fade-in {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.error-shake {
  animation: shake 0.5s;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

/* HTML: <div class="loader"></div> */
.loader {
  color: #000;
  width: 4px;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 19px 0 0 7px, 38px 0 0 3px, 57px 0 0 0;
  transform: translateX(-38px);
  animation: l21 0.5s infinite alternate linear;
}

@keyframes l21 {
  50% {
    box-shadow: 19px 0 0 3px, 38px 0 0 7px, 57px 0 0 3px;
  }
  100% {
    box-shadow: 19px 0 0 0, 38px 0 0 3px, 57px 0 0 7px;
  }
}

.disappearing-message {
  display: flex;
  align-items: center;
  column-gap: 12px;
  padding: 12px 32px;
}

.message.sent {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
  margin-top: 20px;
}

.message.sent p {
  padding: 6px 16px;
  background: #a136a1;
  color: white;
  border-radius: 8px;
  white-space: pre;
  /* border-radius: 18px; */
}

.suggestion-area {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
}

.suggestion {
  padding: 6px 16px;
  border-radius: 18px;
  border: 1px solid #e9e9e980;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #333333;
  transition: all 0.2s ease-in-out;
  display: flex;
  justify-self: flex-start;
}

.suggestion:hover {
  background: #e9e9e980;
}

/* Attachment Message Display Styles */
.attachment-message {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 300px;
}

.file-info-display {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.file-info-display i {
  font-size: 24px;
  color: var(--primary-color);
}

.file-name-display {
  font-weight: 500;
  color: #333;
  font-size: 14px;
  word-break: break-word;
}

.file-size-display {
  font-size: 12px;
  color: #666;
  margin-top: 2px;
}

.attachment-caption {
  font-size: 13px;
  color: #666;
  font-style: italic;
  padding: 8px 12px;
  background-color: #f8f9fa;
  border-radius: 6px;
  border-left: 3px solid var(--primary-color);
}
