/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    list-style: none;
    text-decoration: none;
}


:root {
    --white-color: #fff;
    --black-color: #000;
    --primary-color: #1e16f3;
    --primary-hover-color: #3f38ff;
    --grey-color: rgba(57, 57, 57, 0.296);
}


.container {
    width: 100%;
    max-width: 700px;
    margin: 100px auto;
    position: relative;
    z-index: 100;
}



.log-in {
    width: 90%;
    padding: 60px 70px;
    margin: auto;
    box-shadow: 0px 0px 40px rgb(29 58 83 / 10%) !important;
    border-radius: 20px;
}

.header-log-in {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.row-flags {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.header-log-in h2 {
    font-size: 38px;
    font-weight: 700;
    color: #0b1d69;
}

.header-log-in .logo img {
    width: 40%;
    object-fit: cover;
}

.lang-switch {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lang-toggle {
    appearance: none;
    background: transparent;
    padding: 6px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 250ms ease;
    display: flex;
    align-items: center;
    border: none;
}


.lang-toggle:focus {
    outline: none;
}

.lang-flag {
    width: 32px;
    height: 27px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 250ms ease;
}


.new-here {
    color: #747579;
    font-weight: 600;
    margin-bottom: 30px;
}

.new-here a {
    color: var(--primary-color);
    text-decoration: none;
    transition: .5s all;
}



.input-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-row {
    display: flex;
    flex-direction: column;
}

.input-row label {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 400;
}

.input-row input {
    width: 100%;
    border: 1px solid rgba(164, 164, 164, 0.314);
    outline: none;
    padding: 8px 10px;
    border-radius: 6px;
}

.password-row {
    position: relative;
}

.password-row i {
    position: absolute;
    right: 20px;
    bottom: 50%;
    transform: translateY(50%);
    color: var(--primary-color);
    cursor: pointer;
}


.remember-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #747579;
    margin-top: 15px;
}

.remember-row label {
    color: black;
    font-size: 17px;
}

.forgot a{
    color: var(--primary-color);
}

.log-in-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

.log-in-button button {
    background-color: var(--primary-color);
    color: var(--white-color);
    outline: none;
    border: none;
    width: 100%;
    padding: 15px 22px;
    margin-bottom: 20px;
    border-radius: 22px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s ease-in-out;
}

.log-in-button button:hover {
    background-color: var(--primary-hover-color);
    box-shadow: 0px 0px 7px var(--primary-hover-color);
    transform: translateY(-2px);
}

.or-signin-with {
    position: relative;
    margin: 30px 0;
}

hr {
    margin: 1rem 0;
    color: #85878a;
    border: 0;
    border-top: 1px solid;
    opacity: 0.25;
}

.or-signin-with p {
    position: absolute;
    left: 50%;
    background-color: #fff;
    padding: 0 10px;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #747579;
}

.google {
    background-color: #f5f5f6;
    border: none;
    border-radius: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    color: #000;
    font-weight: 600;
    transition: 0.3s linear;
    cursor: pointer;
    margin-top: 40px;
    gap: 10px;
}

.google i {
    background: conic-gradient(from -45deg, #ea4335 110deg, #4285f4 90deg 180deg, #34a853 180deg 270deg, #fbbc05 270deg) 73% 55% / 150% 150% no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.google:hover {
    background: rgba(128, 128, 128, 0.242);
}

.last {
    text-align: center;
    color: #747579;
    margin-top: 20px;
}


.error{
    color: red;
    font-size: 13px;
    margin-top: 7px;
}