/* MarkDay.ru URL Redirect Page */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #f8fafc;
  color: #282828;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  padding: 24px 16px;
}

.URLRedirect_Page {
  margin: 10vh auto 0;
  max-width: 720px;
  width: 100%;
}

.UR_Card {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.LeftName {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 26px;
  background: #f1f6fc;
  border-right: 3px solid #3785d5;
  flex-shrink: 0;
}

.UR_Brand {
  font-family: Tahoma, Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #282828;
  text-decoration: none;
  white-space: nowrap;
}

.UR_Brand:hover {
  color: #3785d5;
}

.RightMessage {
  padding: 26px 28px;
  flex: 1 1 auto;
  min-width: 0;
}

.RightMessage h1 {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 8px;
}

.UR_Lead {
  color: #475569;
  margin: 0 0 16px;
}

.GoLink {
  margin: 0 0 14px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #dce3ec;
  border-radius: 6px;
  word-break: break-all;
}

.GoLink a {
  color: #2d8df0;
  font-weight: 600;
  text-decoration: none;
}

.GoLink a:hover {
  text-decoration: underline;
}

#UR_TimeMsg {
  font-size: 13px;
  color: #475569;
  margin-bottom: 12px;
}

.UR_Back a {
  display: inline-block;
  font-size: 13px;
  color: #4e729d;
  text-decoration: none;
  border-bottom: 1px dotted #4e729d;
}

.UR_Back a:hover {
  color: #282828;
  border-bottom-color: #282828;
}

.RefererError {
  margin-top: 16px;
  padding: 10px 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  color: #b91c1c;
  font-size: 12px;
  line-height: 1.45;
}

@media screen and (max-width: 640px) {
  .URLRedirect_Page {
    margin-top: 24px;
  }

  .UR_Card {
    flex-direction: column;
  }

  .LeftName {
    border-right: none;
    border-bottom: 3px solid #3785d5;
    padding: 18px 20px;
  }

  .RightMessage {
    padding: 20px;
  }
}
