:root {
  --bg-dark: #1C1F1C;
  --panel-left-bg: var(--dark-green-background);
  --panel-right-bg: #272A26;
  --text-light: #FFF;
  --text-muted: #A1A1AA;
  font-family: 'Helvetica Neue';
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg-dark);
  color: var(--text-light);
}

.login-wrapper {
  display: flex;
  height: 100vh;
}

/* Left side panel */
.left-panel {
  background-color: var(--panel-left-bg);
  background-color: red;
  flex: 1;
  background: var(--panel-left-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.left-panel img {
  width: 24rem;
  height: 16rem;
}

.form-control {
  background-color: var(--panel-right-bg);
  border: 1px solid var(--slate-ish);
  font-size: .875rem;
  line-height: 1.25rem;
  padding-bottom: 9px;
  padding-left: .5rem;
  padding-right: .5rem;
  padding-top: 9px;
  width: 100%;
}

.form-control::placeholder {
  color: var(--text-muted);
}

.login-form {
  display: flex;
  flex-direction: column;
}

.badge-text {
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.badge-sub {
  margin-top: 8px;
  letter-spacing: 1px;
}

.badge-logo {
  margin-top: 20px;
}

/* Right side panel */
.right-panel {
  flex: 1;
  background: var(--panel-right-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: .5rem;
  padding-right: .5rem;
}

.login-card {
  width: 100%;
  max-width: 352px;
  padding: 24px;
  text-align: center;
}

.logo img {
  width: 42px;
  margin-bottom: 24px;
}

.welcome {
  font-family: 'Helvetica Neue';
  font-size: 32px;
  font-weight: 700;
  line-height: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.form-group {
  width: 100%;
}
.form-control:focus {
  outline-color: var(--dark-green);
  background-color: inherit;
  color: var(--text-light);
  box-shadow: none;
  outline-style: double;
}

.form-group:not(:first-of-type) {
  margin-top: 1rem;
}

.form-footer {
  text-align: right;
  margin-top: .5rem
}

.forgot-link {
  color: var(--text-muted);
  font-size: .75rem;
  line-height: 1rem;
  text-decoration: none;
}

.forgot-link:hover {
  color: var(--dark-green);
}

/* Submit button */
.btn-login {
  background: var(--dark-green);
  border: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  color: var(--text-light);
  cursor: pointer;
  font-family: 'Courier New';
  font-size: .875rem;
  height: 2.5rem;
  letter-spacing: -.025em;
  line-height: 1.25rem;
  margin-bottom: 2rem;
  margin-top: 1rem;
  padding: .5rem;
  transition-duration: .15s;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  width: 100%;
}

.btn-login:hover {
  background-color: #24361e;
}

@keyframes slideUpDown {
  0% {
    transform: translateY(0); /* Start at normal position */
  }
  10% {
    transform: translateY(-120px); /* Slide up */
  }
  90% {
    transform: translateY(-120px); /* Hold the element at the top for 5 seconds */
  }
  100% {
    transform: translateY(0); /* Slide back down */
  }
}

.flash {
  background-color: #333;
  border: 1px solid var(--label-300);
  bottom: -100px;
  color: var(--text-light);
  left: 20px;
  min-width: 250px;
  outline: 1px solid rgba(0, 0, 0, .3);
  padding: 0.75rem 1rem;
  position: absolute;
  text-align: left;
  font-family: 'Helvetica Neue';
  animation: slideUpDown 7s ease-in-out forwards;
}

/* Responsive */
@media (max-width: 768px) {
  .login-wrapper {
    flex-direction: column;
  }

  .left-panel {
    display: none;
  }

  .right-panel {
    flex-direction: column;
    min-height: 100vh;
    display: flex;
  }

  .login-card {
    max-width: calc(100% - 2rem);
  }
}
