@import url('login.css');
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: url('/img/1675466962_gas-kvas-com-p-fonovii-risunok-stroiki-1.png') center/cover fixed;
    overflow: hidden;
}
@font-face {
    font-family: Wicdock-c;
    src: url('/fonts/Widock TRIAL Bold.otf')
}
@font-face {
    font-family: TenorSans-c;
    src: url('/fonts/TenorSans-Regular.ttf');
}
    /* Стили для формы */
    form {

    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 30px;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.8);
    width: 320px;
    text-align: center;
    border-top: 2px solid rgba(248, 247, 247, 0.596);
    border-right: 2px solid rgba(247, 246, 246, 0.438);
    border-left: 2px solid rgba(247, 246, 246, 0.493);
    border-bottom: 2px solid rgba(247, 246, 246, 0.61);
    -webkit-backdrop-filter: blur(8px);
}

h2 {
    font-family: Wicdock-c;
    margin-bottom: 25px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

label {
    font-family: TenorSans-c;
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
    width: 100%;
    text-align: left;
    max-width: 240px;
}


input[type="text"],
input[type="password"],
button {
    
    width: 240px;
    padding: 12px;
    border: 2px solid #007bff;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

    input[type="text"]:focus,
    input[type="password"]:focus {
        border-color: #0056b3;
        outline: none;
    }
placeholder {
    font-family: TenorSans-c;
}

button {
    font-family: Wicdock-c;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
}

    button:hover {
        background-color: #0056b3;
    }

.error {
    color: red;
    margin: -10px 0 15px 0;
    min-height: 20px;
}
