:root {
  --brand-green: #3eaa49;
  --brand-red: #cf202c;
  --brand-black: #1a1616;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Montserrat", sans-serif;
  overflow: hidden;
}

.frame {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 30px;
  box-sizing: border-box;
  overflow: hidden;
}

.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 30px solid var(--brand-green);
  pointer-events: none;
  box-sizing: border-box;
  z-index: 5;
}

.main {
  width: 100%;
  height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.header {
  display: flex;
  padding: 1em;
}

.header .logo {
  width: 150px;
}

.header .arrow1 {
  width: 122px;
  height: 122px;
  margin-left: 21px;
}

.header .arrow2 {
  width: 122px;
  height: 122px;
  margin-right: 7px;
}

.title {
  flex-grow: 1;
  text-align: center;
  line-height: 1.2;
  margin-top: 1em;
}

.title h2 {
  margin: 0.2em 0;
  font-size: 1.8em;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 0.9em;
}

.title hr {
  border: none;
  border-top: 5px solid var(--brand-green);
  border-radius: 0.5em;
  margin: 0.5em auto;
  width: 70%;
}

.cabinet-info {
  text-align: center;
  font-size: 1.5em;
}

.cabinet-info .cabinet {
  font-family: "Sylfaen", serif;
  font-size: 2.4em;
  margin: 0;
  color: var(--brand-green);
  letter-spacing: 0.05em;
}

.cabinet-info .specialist {
  font-size: 1.2em;
  margin: 1em 0;
  font-weight: 500;
}

.line {
  border: none;
  border-top: 3px solid var(--brand-green);
  margin: 1em 0;
}

#status-section {
  text-align: center;
  font-weight: 900;
  font-size: 1.8em;
  line-height: 0.5em;
  letter-spacing: 0.02em;
  padding: 0.2em 0;
  margin-top: auto;
  padding-bottom: 1em;
}

.status-0 {
  color: var(--brand-black);
}

.status-1 {
  color: var(--brand-red);
}

.status-2 {
  color: var(--brand-green);
}

#overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  width: 150px;
  max-width: 90%;
  font-size: 1em;
  padding: 0.7em;
  background: var(--brand-green);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  text-align: center;
  z-index: 10;
}

.hidden {
  display: none;
}