* {
  font-family: "Geist Pixel", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #ddeefe;
  padding: 4rem;
  background-size: 100px 100px;
  background-image: 
    linear-gradient(to right, #A8D5FF 1px, transparent 1px),
    linear-gradient(to bottom, #A8D5FF 1px, transparent 1px);
}

h1 {
  font-family: "Michroma", sans-serif;
}

h2 {
  text-transform: uppercase;
}

.dispatch-icon {
  width: 40px;
}

.header {
  display: flex;
  align-items: center; /* Vertically aligns image and text */
  gap: 10px;           /* Adds space between image and text */
  padding-top: 30px;
}

img {
  width: 100%;
  height: 100%;
  display: block;
}

.mgrid-container {
  margin-top: 30px;
  columns: 4;
  gap: 20px;
}

.window {
  backdrop-filter: blur(12px);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 4px 4px 0px var(--accent-color);
  border: 2px solid var(--accent-color);
  background: var(--bg-color);
}

.window-date {
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  background: var(--accent-color);
}

.pink {
  --accent-color: #F2275E;
  --bg-color: rgba(255, 240, 245, 0.85);
}

.yellow {
  --accent-color: #FFB401;
  --bg-color: #FFF3CF;
}

.green {
  --accent-color: #62B339;
  --bg-color: #EDFDCA;
}

.window-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.95;
}

.window-body {
  padding: 20px;
  color: #4a2e35;
  font-size: 14px;
  line-height: 1.6;
}

.window-body img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  margin-bottom: 14px;
}

a {
  color: #334eac;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

#chrome {
  width: 50px;
  margin: 0;
}

#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ddeefe;
  background-size: 100px 100px;
  background-image: 
    linear-gradient(to right, #A8D5FF 1px, transparent 1px),
    linear-gradient(to bottom, #A8D5FF 1px, transparent 1px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Container to center spinner and text vertically */
.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Spinner styling */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #fff8e7;
  border-top: 5px solid #A8D5FF;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Text styling */
.loader-text {
  font-size: 1rem;
  color: #333333;
  letter-spacing: 0.5px;
}

#loader-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
}