* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;

    background: linear-gradient(
        135deg,
        #f7f8fa 0%,
        #f1f2f5 100%
    );

    position: relative;
    overflow: hidden;
}

/* Decorative background */
body::before {
    content: "";
    position: fixed;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(128, 0, 0, 0.05);
    top: -100px;
    left: -100px;
    z-index: 0;
}

body::after {
    content: "";
    position: fixed;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: rgba(128, 0, 0, 0.04);
    right: -120px;
    bottom: -120px;
    z-index: 0;
}

.box {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 430px;

    background: #ffffff;

    padding: 28px 30px 25px;

    border-radius: 18px;

    border: 1px solid rgba(128, 0, 0, 0.12);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.08),
        0 3px 10px rgba(0, 0, 0, 0.04);

    text-align: center;

    overflow: hidden;
}

/* Maroon top accent */
.box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #800000;
}

.logo {
    width: 78px;
    height: 78px;

    object-fit: contain;

    display: block;

    margin: 0 auto 14px;

    border-radius: 50%;

    filter: drop-shadow(
        0 3px 6px rgba(0, 0, 0, 0.12)
    );
}

h1 {
    color: #800000;

    font-size: 21px;
    font-weight: 700;

    margin-bottom: 8px;
}

p {
    font-size: 13px;
    line-height: 1.5;

    color: #666666;

    margin-bottom: 18px;
}

form {
    width: 100%;
}

input {
    width: 100%;

    height: 43px;

    padding: 0 13px;

    border: 1px solid #d5d7db;

    border-radius: 8px;

    background: #ffffff;

    color: #333333;

    font-size: 14px;

    outline: none;

    transition: 0.2s;
}

input:focus {
    border-color: #800000;

    box-shadow:
        0 0 0 3px rgba(128, 0, 0, 0.08);
}

input::placeholder {
    color: #999999;
}

button {
    width: 100%;

    height: 43px;

    margin-top: 13px;

    border: none;

    border-radius: 8px;

    background: #800000;

    color: #ffffff;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.2s;
}

button:hover {
    background: #680000;

    transform: translateY(-1px);

    box-shadow:
        0 5px 12px rgba(128, 0, 0, 0.18);
}

button:active {
    transform: translateY(0);
}

a {
    display: inline-block;

    margin-top: 16px;

    color: #800000;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition: 0.2s;
}

a:hover {
    color: #680000;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {

    body {
        padding: 15px;
    }

    .box {
        padding: 26px 22px 23px;
        border-radius: 16px;
    }

    .logo {
        width: 72px;
        height: 72px;
    }

    h1 {
        font-size: 20px;
    }
}

@media (max-width: 350px) {

    .box {
        padding: 24px 18px 21px;
    }

    .logo {
        width: 66px;
        height: 66px;
    }

    h1 {
        font-size: 18px;
    }

    p {
        font-size: 12px;
    }

    input,
    button {
        height: 41px;
        font-size: 13px;
    }
}