﻿
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background: #f5f5f5;
    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.35);
    width: 100%;
    max-width: 380px;
    overflow: hidden;
}

.card-top {
    background: #8b0000;
    padding: 2rem 2rem 1.6rem;
    text-align: center;
}

.icon-circle {
    width: 54px;
    height: 54px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.card-top h1 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.card-top p {
    color: rgba(255,255,255,0.65);
    font-size: 13px;
}

.card-body {
    padding: 1.6rem 1.8rem 1.8rem;
}

.field {
    margin-bottom: 1rem;
}

    .field label {
        display: block;
        font-size: 12px;
        font-weight: 700;
        color: #888;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        margin-bottom: 6px;
    }

.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: #8b0000;
            background: #fff;
            box-shadow: 0 0 0 3px rgba(139,0,0,0.1);
        }

.eye {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #bbb;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

    .eye:hover {
        color: #8b0000;
    }

.msg {
    min-height: 18px;
    font-size: 13px;
    font-weight: 600;
    color: #8b0000;
    margin-bottom: 1rem;
    text-align: center;
}

.btn {
    width: 100%;
    background: #8b0000;
    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: #6e0000;
    }

.extra-link {
    display: block;
    text-align: center;
    margin-top: 14px;
    font-size: 13px;
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s;
}

    .extra-link:hover {
        color: #8b0000;
    }


