body {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-size: cover;
    font-family: 'Google Sans', 'Noto Sans Myanmar UI', Arial, Helvetica, sans-serif;
}

.box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25rem;
    padding: 2.5rem;
    box-sizing: border-box;
    border: 1px solid #dadce0;
    border-radius: 8px;
}

.box2 {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25rem;
    padding: 0.8rem;
    box-sizing: border-box;
    border: 1px solid #dadce0;
    border-radius: 8px;
}

.box2 h3 {
    margin: 0 0 -0.125rem;
    padding: 0;
    color: #1b1a1a;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}

.box2 p {
    font-size: 16px;
    font-weight: normal;
    letter-spacing: .1px;
    line-height: 1.5;
    margin-bottom: 25px;
    text-align: center;
}

.google-logo {
    display: flex;
    justify-content: center;
    padding-bottom: 15px;
}

.box h2 {
    margin: 0 0 -0.125rem;
    padding: 0;
    color: #1b1a1a;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}

.box p {
    font-size: 16px;
    font-weight: normal;
    letter-spacing: .1px;
    line-height: 1.5;
    margin-bottom: 25px;
    text-align: center;
}

.box .inputBox {
    position: relative;
}

.box .inputBox input{
    width: 93%;
    padding: 0.625rem 10px;
    font-size: 1rem;
    letter-spacing: 0.062rem;
    margin-bottom: 1.875rem;
    border: 1px solid #ccc;
    background: transparent;
    border-radius: 4px;
}

.box .inputBox label {
    position: absolute;
    top: 0;
    left: 10px;
    padding: 0.625rem 0;
    font-size: 1rem;
    color: #ccc;
    pointer-events: none;
    transition: 0.3s;
}

.forgot {
    margin-top: -20px;
}

.forgot button {
    border-radius: 4px;
    color: #1a73e8;
    display: inline-block;
    font-weight: 500;
    letter-spacing: .25px;
    outline: 0;
    position: relative;
    background-color: transparent;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
    text-align: left;
    border: 0;
}

.box input[type="submit"] {
    border: none;
    outline: none;
    color: #fff;
    background-color: #1a73e8;
    padding: 0.625rem 1.25rem;
    cursor: pointer;
    border-radius: 0.312rem;
    font-size: 1rem;
    float: right;
}
.donebutton {
     border: none;
    outline: none;
    color: #fff;
    background-color: #1a73e8;
    padding: 0.625rem 1.25rem;
    cursor: pointer;
    border-radius: 0.312rem;
    font-size: 1rem;
 
}
.box input[type="submit"]:hover{
    background-color: #287ae6;
}

.box .inputBox input:focus ~ label,
.box .inputBox input:valid ~ label,
.box .inputBox input:not([value=""]) ~ label {
    top: -1.125rem;
    left: 10px;
    color: #1a73e8;
    font-size: .75rem;
    background-color: #fff;
    height: 10px;
    padding: 0 ;
}

/* REMOVING NUMERIC INPUT BOX UP DOWN ARROWS */
/* Chrome, Edge, Safari */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* LOADING PAGE */
:root {
    --main: #1a73e8;
}


.container {
    width: 100%;
    text-align: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.ball {
    background-color: var(--main);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    margin: 0 2.5rem;
    display: inline-block;
    position: relative;
    animation: bounce 0.8s linear infinite;
}


.inputBox input{
  width: 100%;
  padding-right: 40px; /* space for eye icon */
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 25%;
  transform: translateY(-50%);
  cursor: pointer;
  user-select: none;
  font-size: 25px;
  color: #1b1a1a;

}

.ball:nth-of-type(2) {
    animation-delay: 0.2s;
}

.ball:nth-of-type(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
   0% {
    bottom: 0;
    transform: scale(1.2, 0.9);
   } 

   50% {
    bottom: 4rem;
    transform: scale(0.9, 1.1);
   } 

   100% {
    bottom: 0;
   } 
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;

    display: flex;
    justify-content: center; 
    gap: 20px;               

    padding: 10px 0;
    background-color: #fff; 
    border-top: 1px solid #e0e0e0;
}

.footer a {
    font-size: 15px;
    color: grey;
    text-decoration: none;
}

.footer a:hover {
    color: black;
    text-decoration: underline;
}

@media (max-width: 280px) {
  .container .side-panel svg {
    max-width: 120px;
  }
}
