/* Swirl Media Mail — plain, minimal stylesheet */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #f6f6f6;
  color: #1f1f1f;
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: #1155cc; }
a:hover { text-decoration: underline; }

/* ---------------------------- sign in ---------------------------- */

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-box {
  width: 100%;
  max-width: 340px;
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  padding: 28px 24px;
}

.login-box h1 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 4px;
}

.login-box .sub {
  color: #666;
  font-size: 13px;
  margin: 0 0 20px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  font: inherit;
  font-size: 14px;
  background: #fff;
  color: #1f1f1f;
}

input[type="text"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: #1155cc;
}

.field { margin-bottom: 14px; }

.remember {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 400;
  margin: 2px 0 18px;
}
.remember input { margin: 0; }

button {
  width: 100%;
  padding: 10px;
  border: 1px solid #1155cc;
  border-radius: 4px;
  background: #1155cc;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
button:hover { background: #0f4bb3; }

.message {
  border: 1px solid #d9b3b3;
  background: #fdf2f2;
  color: #8a1f1f;
  border-radius: 4px;
  padding: 9px 11px;
  font-size: 13px;
  margin-bottom: 16px;
}
.message.notice {
  border-color: #c8d4e8;
  background: #f2f6fd;
  color: #26467e;
}

/* --------------------------- mailboxes --------------------------- */

.page {
  max-width: 620px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #dcdcdc;
}
.top h1 { font-size: 18px; font-weight: 600; margin: 0; }
.top .right { font-size: 13px; color: #666; }

h2 {
  font-size: 13px;
  font-weight: 600;
  color: #444;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 28px 0 8px;
}

ul.boxes {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}
ul.boxes li { border-bottom: 1px solid #ececec; }
ul.boxes li:last-child { border-bottom: 0; }

ul.boxes a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  text-decoration: none;
  color: inherit;
}
ul.boxes a:hover { background: #f4f7fd; text-decoration: none; }

.addr { font-size: 14.5px; font-weight: 600; }
.who { font-size: 12.5px; color: #666; margin-top: 2px; }
.open { font-size: 13px; color: #1155cc; white-space: nowrap; }

.note {
  font-size: 13px;
  color: #666;
  margin-top: 14px;
}

footer {
  font-size: 12.5px;
  color: #888;
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px solid #dcdcdc;
}

@media (max-width: 460px) {
  .top { flex-direction: column; align-items: flex-start; gap: 4px; }
}
