@import url("/res/css/root.css?v=1.0.0");

main {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: flex;
    padding: 50px 20px 80px;
}

main.sidebar-yas {
    margin-left: 260px;
}

.login-box {
    padding: 40px;
    position: relative;
    width: 380px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

.login-box h1 {
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.login-box p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 30px;
}

.login-box p a {
    color: #00ffd5;
}

.input-box {
    position: relative;
    margin-bottom: 25px;
}

.input-box input,
.input-box select {
    width: 100%;
    padding: 12px 10px;
    background: transparent;
    border: none;
    border-bottom: 2px solid #00ffd5;
    outline: none;
    color: #fff;
    font-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.input-box select option{
    background: white;
    color: black;
    border-bottom: 1px solid black;
}

.input-box .nice-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: var(--text-secondary, #ccc);
    user-select: none;
}

.input-box label {
    position: absolute;
    left: 10px;
    top: 12px;
    color: #aaa;
    font-size: 13px;
    transition: 0.3s;
    pointer-events: none;
}

.input-box input:focus+label,
.input-box input:valid+label,
.input-box select+label {
    top: -10px;
    font-size: 11px;
    color: #00ffd5;
}

button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(45deg, #00ffd5, #00aaff);
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    transform: scale(1.02);
    box-shadow: 0 0 10px #00ffd5;
}

.footer {
    margin-top: 20px;
    font-size: 12px;
    color: #aaa;
}

@media(max-width: 768px) {
    main.sidebar-yas {
        margin: 0;
    }
}