﻿
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Nunito', sans-serif;
    padding: 2rem;
}

.card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    overflow: hidden;
}

.card-top {
    background: rgb(255, 235, 235);
    padding: 1.8rem 2rem 1.4rem;
    text-align: center;
}

.logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

    .logo-wrap img {
        width: 90px;
        height: auto;
        object-fit: contain;
    }

.card-top h1 {
    color: black;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 3px;
}

.card-top p {
    color: black;
    font-size: 12.5px;
}

.card-body {
    padding: 1.4rem 1.8rem 1.8rem;
}

.field {
    margin-bottom: 0.85rem;
}

    .field label {
        display: block;
        font-size: 11.5px;
        font-weight: 700;
        color: #999;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        margin-bottom: 5px;
    }

.inp-wrap {
    position: relative;
}

    .inp-wrap input {
        width: 100%;
        border: 1.5px solid #e8e8e8;
        border-radius: 10px;
        padding: 10px 38px 10px 14px;
        font-family: 'Nunito', sans-serif;
        font-size: 14px;
        color: #333;
        outline: none;
        transition: border-color 0.2s, box-shadow 0.2s;
        background: #fafafa;
    }

        .inp-wrap input:focus {
            border-color: #2c3e50;
            background: #fff;
            box-shadow: 0 0 0 3px rgba(44,62,80,0.1);
        }

.eye {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #ccc;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

    .eye:hover {
        color: #2c3e50;
    }

.msg {
    min-height: 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: #e74c3c;
    margin-bottom: 0.9rem;
    text-align: center;
}

    .msg.ok {
        color: #27ae60;
    }

.btn {
    width: 100%;
    background: #c0392b;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

    .btn:hover {
        background: rgb(139, 0, 0);
    }

.login-link {
    text-align: center;
    margin-top: 14px;
    font-size: 13px;
    color: #aaa;
}

    .login-link a {
        color: #2c3e50;
        font-weight: 700;
        text-decoration: none;
    }

        .login-link a:hover {
            text-decoration: underline;
        }
