/** base.css == contains Salmart's basic styles **/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #28a745;
  --secondary-color: #218838;
  --text-color: #333;
  --light-gray: #f5f7fa;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative; /* Important for positioning the pseudo-element */
}

body::before {
  content: "";
  position: fixed; /* Changed from absolute to fixed */
  inset: 0;
  background-image: url('./chat-bg.png');
  background-color: rgba(248, 250, 248, 0.8); /* Added for blend-mode to work */
  background-repeat: repeat;
  background-size: 120px;
  background-blend-mode: soft-light;
  pointer-events: none;
  z-index: -1; /* Put it behind all content */
  filter: saturate(0.1) brightness(1.3);
  opacity: 0.2;
}

a {
  text-decoration: none;
}

p {
  font-weight: 450;
  font-size: 15px;
}

h1 {
  font-size: 16px;
  margin: 20px 0 20px 5px;
}

.dm-serif-display-regular {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-style: normal;
}

.dm-serif-display-regular-italic {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-style: italic;
}

.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}