﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #07101a, #0d1726);
    font-family: Inter, Arial, sans-serif;
    color: #edf4ff
}

.card {
    width: min(420px, 94vw);
    background: linear-gradient(180deg, rgba(15, 26, 42, .98), rgba(11, 19, 31, .98));
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 0;
    padding: 40px 36px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5)
}

.logo {
    text-align: center;
    margin-bottom: 32px;
    display: flex;
    align-content: center;
}

.logo h1 {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: .04em
}

.logo span {
    color: #cc0000
}
.logo img {
    width: 150px;
    float: left;
}

.logo p {
    color: #9eb0cb;
    font-size: 14px;
    margin-top: 6px
}
.title {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #9eb0cb;
    margin-bottom: 8px
}

input[type=text], input[type=password] {
    width: 100%;
    padding: 14px 16px;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(20, 35, 55, .8);
    color: #edf4ff;
    font: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color .2s
}

input:focus {
    border-color: #cc0000
}

.field {
    margin-bottom: 20px
}

.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 0;
    background: linear-gradient(135deg, #cc0000, #860101);
    color: #ffffff;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: opacity .15s;
    margin-top: 8px;
    display: block;
    text-align: center;
    text-decoration: none;
}

.btn.btn-secondary {
    background: linear-gradient(135deg, #ccc, #fff);
    color: #860101;
}
.btn:hover {
    opacity: .88
}

.btn:disabled {
    opacity: .5;
    cursor: default
}

.error {
    background: rgba(255, 111, 126, .12);
    border: 1px solid rgba(255, 111, 126, .3);
    color: #ff9ca7;
    border-radius: 0;
    padding: 12px 14px;
    font-size: 14px;
    margin-bottom: 16px;
    display: none
}

.error.show {
    display: block
}

.hint {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #9eb0cb
}

