@import url('https://fonts.cdnfonts.com/css/montserrat');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f2f5;
}

.container {
    max-width: 350px;
    width: 90%;
    background: linear-gradient(0deg, rgb(255, 255, 255) 0%, rgb(244, 247, 251) 100%);
    border-radius: 20px;
    padding: 25px 35px;
    border: 2px solid rgb(255, 255, 255);
    box-shadow: rgba(133, 189, 215, 0.8) 0px 15px 30px -10px;
}

.heading {
    text-align: center;
    font-weight: 700;
    font-size: 24px;
    color: rgb(16, 137, 211);
}

.form {
    margin-top: 20px;
}

.form .input {
    width: 100%;
    background: white;
    border: none;
    padding: 12px 15px;
    border-radius: 12px;
    margin-top: 12px;
    box-shadow: #cff0ff 0px 8px 10px -5px;
    border-inline: 2px solid transparent;
    font-size: 16px;
    transition: 0.3s;
}

.form .input::placeholder {
    color: rgb(150, 150, 150);
}

.form .input:focus {
    outline: none;
    border-inline: 2px solid #12b1d1;
}

.password-container {
    position: relative;
    width: 100%;
}

#toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: gray;
    transition: color 0.3s ease-in-out;
}

#toggle-password:hover {
    color: #12b1d1;
}

.form .login-button {
    width: 100%;
    font-weight: bold;
    background: linear-gradient(45deg, rgb(16, 137, 211) 0%, rgb(18, 177, 209) 100%);
    color: white;
    padding: 12px;
    margin-top: 20px;
    border-radius: 15px;
    box-shadow: rgba(133, 189, 215, 0.8) 0px 10px 10px -5px;
    border: none;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.form .login-button:hover {
    transform: scale(1.05);
    box-shadow: rgba(133, 189, 215, 0.8) 0px 15px 15px -10px;
}

.form .login-button:active {
    transform: scale(0.95);
}

.social-account-container {
    margin-top: 20px;
}

.social-account-container .title {
    display: block;
    text-align: center;
    font-size: 12px;
    color: rgb(120, 120, 120);
}

.social-account-container .social-accounts {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 8px;
}

.social-account-container .social-accounts .social-button {
    background: linear-gradient(45deg, rgb(0, 0, 0) 0%, rgb(112, 112, 112) 100%);
    border: 3px solid white;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: rgba(133, 189, 215, 0.8) 0px 8px 10px -5px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.social-account-container .social-accounts .social-button .svg {
    fill: white;
    width: 18px;
    height: 18px;
}

.social-account-container .social-accounts .social-button:hover {
    transform: scale(1.15);
}

.agreement {
    text-align: center;
    margin-top: 15px;
}

.agreement a {
    text-decoration: none;
    color: #0099ff;
    font-size: 10px;
    text-align: center;
}

@media (max-width: 400px) {
    .container {
        padding: 20px;
        border-radius: 15px;
    }

    .heading {
        font-size: 22px;
    }

    .form .input,
    .form .login-button {
        padding: 10px;
        font-size: 14px;
    }

    .social-account-container .social-accounts .social-button {
        width: 35px;
    }
}
