:root {
    --bg: #f3f6fb;
    --card: #ffffff;
    --accent: #f6c94d;
    --text: #10223a
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: Inter, system-ui, Arial, sans-serif;
    background: linear-gradient(180deg, #eef4ff 0%, var(--bg) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text)
}

.card {
    width: 360px;
    background: var(--card);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(16, 34, 58, 0.12);
    padding: 28px;
    text-align: center
}

.logo {
    width: 96px;
    height: 96px;
    margin: 0 auto 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block
}

h1 {
    font-size: 20px;
    margin: 6px 0 18px
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px
}

label {
    font-size: 13px;
    text-align: left;
    color: #334155
}

.input {
    position: relative
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px 40px 12px 12px;
    border: 1px solid #e6eefb;
    border-radius: 10px;
    background: #fbfdff;
    font-size: 14px;
    color: var(--text)
}

.icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: #7b8aa3;
    cursor: pointer;
    user-select: none
}

.actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px
}

.remember {
    font-size: 13px;
    color: #556b86;
    display: flex;
    align-items: center;
    gap: 8px
}

button {
    background: linear-gradient(90deg, #ffd54a, #f6c94d);
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    color: #092036;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(246, 201, 77, 0.3)
}

.msg {
    font-size: 13px;
    color: #0b6b0b;
    display: none;
    margin-top: 12px;
    text-align: left;
    white-space: pre-wrap
}

.error {
    color: #b00020;
    display: none
}

.footer {
    font-size: 12px;
    color: #7b8aa3;
    margin-top: 14px
}

@media (max-width:420px) {
    .card {
        width: 92vw;
        padding: 20px
    }
}