﻿@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');

* {
    box-sizing: border-box;
}

body {
    background: url(bg.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    margin: 0;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    font-family: "Roboto Slab", serif;
}

    body:before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.4);
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(3px);
        z-index: -1;
    }

.logo a {
    display: flex;
    width: max-content;
    margin-inline: auto;
    margin-top: 20px;
}

.container {
    position: relative;
    margin-top: 100px;
    max-width: 500px;
    width: 100%;
}

.top-circle {
    width: 100px;
    height: 100px;
    background-color: white;
    position: absolute;
    border-radius: 100px;
    top: -50px;
    left: 50%;
    transform-origin: center;
    transform: translateX(-50%);
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 4px #6374FF;
}

    .top-circle img {
        width: 50px;
    }

.container h1 {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 25px;
}

form {
    background: white;
    padding: 20px 40px;
    border-radius: 30px;
}

.input-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.input-row .input-container {
    flex: 1;
}

.input-container {
    position: relative;
}

input:not([type="checkbox"]) {
    width: 100%;
    padding: 12px 45px;
    border: none;
    border-radius: 8px;
    background-color: #EFF2F6;
    font-size: 16px;
}

.input-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.input-container img.input-icon {
    width: 22px;
}

.input-icon.input-icon-left {
    left: 10px;
}

.input-icon.input-icon-right {
    cursor: pointer;
    right: 10px;
}

input:not([type="checkbox"]):focus {
    outline: none;
    outline: 2px solid #98A3FF;
}

.forgotPassword {
    align-self: flex-end;
}

.loginBtn {
    width: 100%;
    border: none;
    color: white;
    padding: 12px 0;
    background-color: #6374FF;
    border-radius: 8px;
    font-size: 16px;
    margin: 10px 0;
}

.btn-primary {
    color: #fff;
    background-color: #667AFF;
}

@media (max-width: 600px) {
    .container {
        max-width: 400px;
    }
}

@media (max-width: 400px) {
    body {
        background: none;
        background-color: white;
    }

    .top-circle {
        display: none;
    }

    form {
        padding: 20px;
    }

    .container h1 {
        margin-top: 0;
    }
}

.text-danger {
    color: red;
}
