﻿
body {
  height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: 'Figtree', 'Noto Sans JP', sans-serif,Helvetica,"Apple Color Emoji",Arial,sans-serif,"Segoe UI Emoji","Segoe UI Symbol";

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  list-style: none;
  text-decoration: none;
  font-size: 14px;
  color: var(--dark-main);
  user-select: none;
  -webkit-font-smoothing: subpixel-antialiased;
}

main,
header,
footer {
  display: flex;
  align-items: center;
}

main,
footer {
  justify-content: center;
}

header {
  justify-content: start;
  padding: 20px 20px 0px 20px;
  font-size: 26px;
  font-weight: bold;
}

header > img {
  width: 180px;
}

main {
  flex-grow: 1;
}

footer {
  padding: 20px 0px 30px 0px;
  color: var(--grey-main);
}
.login-openpim-container{
  height: 100%;
  width: 100%;
  background-color: #fff;
}
.login-openpim-content-component{
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #333;
}
.login-header-container{
    width: 100%;
    display: block;
    padding-top: 10px;
    /* border-bottom: 1px solid #e0e0e0; */
    height: 65px;
    /* background: #f7f7f7; */
}
.account-logo{
  width: 150px;
  height: 44px;
  margin-left: 24px;
}
.login-router-container {
  display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex-grow: 1;
    padding: 40px;
}

.login-inner-container {
  width: 500px;
  height: 550px;
  border: 1px solid #08131a24;
  padding: 30px 46px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}


.login-text {
  font-size: 40px;
  font-weight: 200;
  color: var(--dark-main);
  margin-bottom: 8px;
}

.login-subtitle {
  font-size: var(--font-size-medium);
  color: var(--dark-main);
  font-weight: 500;
  margin-bottom: 28px;
}

.login-subtitle > a {
  color: #0073ea;
}

.login-subtitle > a:hover {
  text-decoration: underline;
}

.login-forgotten-password {
  font-size: var(--font-size-small);
  color: var(--grey-main);
  margin-top: 4px;
  margin-bottom: 10px;
  text-align: right;
  align-self: flex-end;
}

.login-forgotten-password > a {
  color: #0073ea;
  font-size: var(--font-size-small);
}

.login-forgotten-password > a:hover {
  text-decoration: underline;
}

.login-inner-container input,
.login-button {
  outline: none;
  height: 40px;
  padding: 6px 12px;
  width: 100%;
  border: 1px solid #C3C6D4;
  border-radius: 4px;
}

.input-container:has(input:autofill)::after {
  scale: 0.9;
  left: -5px;
  top: -25px;
}

.input-container:has(input:-webkit-autofill)::after {
  scale: 0.9;
  left: -5px;
  top: -25px;
}

#errorMessage {
  height: 30px;
  font-size: var(--font-size-medium);
  color: #bc3852;
  margin: -30px 0px;
}

.login-button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0073ea;
  font-size: var(--font-size-medium);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  margin-top: 8px;
  height: 45px;
  border: none;
}

.login-button:hover {
  opacity: 0.9;
}

.input-container {
  position: relative;
  width: 100%;
  margin-bottom: 15px;
  font-weight:600;
}

.input-container::after {
  content: attr(placeholder);
  color: var(--grey-main);
  font-size: var(--font-size-medium);
  position: absolute;
  scale: 0.9;
  left: -5px;
  top: -25px;
  pointer-events: none;
  transition: scale 100ms linear, left 150ms linear, top 150ms linear;
}
#Tx_UserID::placeholder {
  color: #AAAAB2;
}
.input-container:has(input:focus)::after {
  scale: 0.9;
  left: -5px;
  top: -25px;
}

.input-container > input:focus {
  border: 1.5px solid #66afe9;
}

#psw-forgotten-link {
  position: absolute;
  height: 20px;
  top: -25px;
  right: 0;
  font-size: var(--font-size-small);
  color: rgb(50 50 255);
  cursor: pointer;
  transition: scale 100ms linear;
}

#psw-forgotten-link:hover {
  text-decoration: underline;
}

#psw-forgotten-link:active {
  scale: 0.95;
}

.line {
  width: 100%;
  height: 1px;
  background-color: #D0D4E4;
}

#g_id_onload {
  margin: -30px 0px;
}

.keep-logged-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.keep-logged-in > label {
  color: var(--grey-main);
  font-size: var(--font-size-small);
  cursor: pointer;
}
.copyright{
  font-size: var(--font-size-small);
  color: var(--grey-main);
}