﻿:root {
    --icon: #7875B5;
    --border-shadow: #5C5696;
    --screen-background: #53738A;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.container-fluid {
    width: 100%;
    padding: 15px;
    justify-items: center;
    align-items: center;
    align-content: center;
}

.login__field {
    padding: 20px 0px;
    position: relative;
    width: 100%;
}

.text-danger {
    font-size: 12px;
    display: block;
    color: #dc3545;
    margin-top: 5px;
}

.screen {
    background: #98bedf;
    position: relative;
    height: 600px;
    width: 360px;
    box-shadow: 0px 0px 24px var(--border-shadow);
    overflow: hidden;
    border-radius: 32px;
}

.screen__content {
    z-index: 1;
    position: relative;
    height: 100%;
}

.screen__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    clip-path: inset(0 0 0 0);
}

.screen__background__shape {
    transform: rotate(45deg);
    position: absolute;
}

.screen__background__shape1 {
    height: 520px;
    width: 520px;
    background: #FFF;
    top: -50px;
    right: 120px;
    border-radius: 0 72px 0 0;
}

.screen__background__shape2 {
    height: 220px;
    width: 220px;
    background: var(--screen-background);
    top: -172px;
    right: 0;
    border-radius: 32px;
}

.screen__background__shape3 {
    height: 540px;
    width: 190px;
    background: var(--screen-background);
    top: -24px;
    right: 0;
    border-radius: 32px;
}

.screen__background__shape4 {
    height: 400px;
    width: 200px;
    background: var(--screen-background);
    top: 420px;
    right: 50px;
    border-radius: 60px;
}

.login {
    padding: 30px;
    padding-top: 156px;
}

.login__icon {
    position: absolute;
    top: 30px;
    color: var(--icon);
}

.login__input {
    border: none;
    border-bottom: 2px solid #D1D1D4;
    background: none;
    padding: 10px 10px 10px 30px;
    font-weight: 700;
    width: 100%;
    transition: .2s;
}

.login__input:focus {
    outline: none;
    border-bottom-color: #6A679E;
}

.login__submit {
    background: #fff;
    font-size: 14px;
    margin-top: 30px;
    padding: 12px 20px;
    border-radius: 26px;
    border: 1px solid #D4D3E8;
    text-transform: uppercase;
    font-weight: 700;
    width: 100%;
    color: #4C489D;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.login__submit:hover {
    background: #e9e8f7;
}

.social-login {
    position: absolute;
    height: 50px;
    width: 100%;
    text-align: center;
    bottom: 20px;
    color: #fff;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 10px;
    font-size: 12px;
    margin-top: 15px;
    text-align: center;
}

@media (max-width: 380px) {
    .screen {
        max-width: 95%;
    }
}