.bodyLogin {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #091E3E;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 500;
}

.loginContainer {
    position: relative;
    z-index: 2;
    background: rgb(255, 255, 255);
    color: rgb(48, 48, 48);
    backdrop-filter: blur(60px);
    border-radius: 24px;
    padding: 72px 32px 72px;
    width: 400px;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 4px solid rgb(255, 255, 255);
    box-shadow: #8b8b8b;
}

h2 {
    color: white;
}

.loginForm {
    display: grid;
    width: 300px;
    align-content: center;
    gap: 1em;
}

.loginContainer :is(input, button) {
    box-sizing: border-box;
    height: 52px;
    font-size: 18px;
    padding: 0 12px;
    border: 0;
    border-radius: 6px;
}

.loginContainer .textBox {
    position: relative;
    width: 100%;
}

.textBox{
    font-weight: 500;
}

.textBox input {
    width: 100%;
    outline: none;
    border: 2px solid rgb(154, 154, 155);
    border-radius: 6px;
    color: inherit;
    font-size: 18px;
    padding: 14px 12px 0 12px; 
    font-weight: 500;
}


.textBox label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(154, 154, 155);
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.textBox input {
    width: 100%;
    outline: none;
    border: 2px solid rgb(154, 154, 155);
    border-radius: 6px;
    color: inherit;
    font-size: 18px;
    padding: 14px 12px 0 12px; 
}


.textBox label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(154, 154, 155);
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.textBox input:focus {
    border-color: rgb(20, 20, 112);
    box-shadow: rgb(20, 20, 75);
    color: rgb(20, 20, 112);
}


.textBox input:not(:placeholder-shown) ~ label {
    top: 2px;
    font-size: 12px;
    color: rgb(154, 154, 155);
    background: white;
    padding-right: 3px;
    padding-left: 3px;
}


.textBox input:focus ~ label {
    top: 2px;
    font-size: 12px;
    color: rgb(20, 20, 112);
    background: white;
    padding-right: 3px;
    padding-left: 3px;
}


.loginContainer button {
    color: #f9f9f9;
    background: linear-gradient(to bottom left, #0f172a, #1e1a78, #0f172a);
    cursor: pointer;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    transition: 0.8s ease;
}

.loginContainer button:hover {
    background: linear-gradient(to bottom left, #1e1a78, #1e1a78, #1e1a78);
    transition: 0.8s ease;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 40px #ffffff inset !important; 
    -webkit-text-fill-color: #383838 !important; 
    font-size: 18px !important; 
    border-radius: 6px;
    transition: background-color 5000s ease-in-out 0s; 
}


input::-webkit-contacts-auto-fill-button,
input::-webkit-credentials-auto-fill-button {
    visibility: hidden !important;
    display: none !important;
}


::-webkit-autofill-preview,
:-webkit-autofill-preview {
    color: #fff !important;
    background: #0f172a !important;
}


input:-moz-autofill {
    box-shadow: 0 0 0 40px #1e1a78 inset !important;
    -moz-text-fill-color: #fff !important;
    font-size: 18px !important;
}

@media (max-width: 480px) {
    .bodyLogin {
        padding: 20px;
        align-items: center;
    }

    .loginContainer {
        width: 100%;
        max-width: 360px;
        height: auto;
        padding: 40px 24px;
        border-radius: 16px;
        box-sizing: border-box;
    }

    .loginForm {
        width: 100%;
    }

    .loginForm img {
        width: 100%;
        max-width: 220px;
        height: auto;
    }

    .loginContainer :is(input, button) {
        font-size: 16px;
        height: 48px;
    }
}