@font-face {
  font-family: 'Roboto';
  font-weight: 300;
  font-style: normal;
  src: url('../fonts/roboto/light/Roboto-Light.woff2') format('woff2'),
       url('../fonts/roboto/light/Roboto-Light.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-weight: 400;
  font-style: normal;
  src: url('../fonts/roboto/regular/Roboto-Regular.woff2') format('woff2'),
       url('../fonts/roboto/regular/Roboto-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-weight: 500;
  font-style: normal;
  src: url('../fonts/roboto/medium/Roboto-Medium.woff2') format('woff2'),
       url('../fonts/roboto/medium/Roboto-Medium.woff') format('woff');
}

:root {
  --green: #008246;
  --dark-green: #0c5f34;
  --red: #fb5034;
  --black: #17151b;
  --mid-grey: #e1dfe4;
  --light-grey: #f5f4f6;
  --white: #ffffff;
  --font-family: Roboto, sans-serif;
  --font-size: 14px;
  --border-radius: 3px;
}

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

html, body {
  height: 100%;
}

body {
  background: var(--mid-grey);
  color: var(--black);
  font-family: var(--font-family);
  font-size: var(--font-size);
  line-height: 1.48;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 1px;
}

.container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.header {
  background-color: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 1px;
  padding: 15px 20px;
}

.header .logo {
  max-height: 40px;
}

.main {
  flex: 1;
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 50px 20px;
}

.content {
  max-width: 500px;
  margin: 0 auto;
}

h1 {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.8px;
  margin-bottom: 10px;
  color: var(--black);
}

h1 .icon {
  margin-right: 10px;
  color: var(--green);
}

.description {
  font-size: 16px;
  font-weight: 300;
  color: #666;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--black);
}

input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  font-size: var(--font-size);
  font-family: var(--font-family);
  border: 1px solid var(--mid-grey);
  border-radius: var(--border-radius);
  transition: border-color 0.2s;
}

input[type="password"]:focus {
  outline: none;
  border-color: var(--green);
}

.error-message {
  background-color: #fff5f5;
  border: 1px solid var(--red);
  border-radius: var(--border-radius);
  padding: 12px 15px;
  margin-bottom: 20px;
  color: var(--red);
}

.error-message .icon {
  margin-right: 8px;
}

.button {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 20px;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 400;
  font-family: var(--font-family);
  cursor: pointer;
  transition: background-color 0.2s;
}

.button:hover {
  background: var(--dark-green);
}

.button .icon {
  margin-right: 8px;
}

.footer {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 300;
  margin-top: 1px;
}

.footer a {
  color: var(--green);
  text-decoration: none;
}

.footer a:hover {
  color: var(--dark-green);
}

.security-notice {
  margin-top: 30px;
  padding: 15px;
  background-color: var(--light-grey);
  border-radius: var(--border-radius);
  font-size: 13px;
  color: #666;
}

.security-notice .icon {
  color: var(--green);
  margin-right: 8px;
}
