:root{
    /*色関連*/
    --bg-color: #eeeeee;
    --card-color: #ffffff;
    --login-btn-color: #5fb663;
    --login-btn-color-hover: #4BA34F;
    --login-btn-text-color: #ffffff;

    /*サイズ関連*/
    --card-width: 420px;
    --card-min-width: 320px;
}


html{
    height: 100svh;
}

body.container{
    height: 100%;
}

div#wrapper{
    background-color: var(--bg-color);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

div.login-container{
    background-color: var(--card-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    max-width: var(--card-width);
    width: var(--card-width);
    min-width: var(--card-min-width);

    padding-block: 2rem;
    gap: 1rem;

    border-radius: 10px;
}

@media screen and (max-width : 480px) {
    div.login-container{
        width: 95%;
    }
}

div.login-title{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

img.femo-logo{
    height: 90px;
    width: auto;
}

form.login-form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    margin-top: 1rem;

    gap: 1rem;
}

form.login-form > div.input-group{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

div.input-group > label{
    font-weight: bold;
    margin-left: 0.5rem;
}

div.input-group > input{
    width: 18rem;
    height: 2rem;
}

form > input.submit-btn{
    color: var(--login-btn-text-color);
    background-color: var(--login-btn-color);

    font-weight: bold;
    letter-spacing: 1px;
    border: 0;

    margin-top: 1.5rem;
    width: 100%;
    height: 2rem;
}

input.submit-btn:hover{
    background-color: var(--login-btn-color-hover);
    cursor: pointer;
}



/* sb-adminからスピナーのみインポート */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@-webkit-keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}

.spinner-border {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: text-bottom;
  border: 0.25em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  -webkit-animation: spinner-border .75s linear infinite;
  animation: spinner-border .75s linear infinite;
}
