html, body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1f2937;
    -webkit-font-smoothing: antialiased;
}

body {
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(245, 247, 251, 0.62), rgba(245, 247, 251, 0.82)),
        radial-gradient(circle at top left, rgba(255, 140, 0, 0.14), transparent 28%);
    pointer-events: none;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
}

.login-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(142, 164, 201, 0.24);
    border-radius: 24px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
}

.login-card-header {
    padding: 24px 28px 10px;
}

.row-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.column-image img {
    width: 62px;
    height: auto;
    display: block;
}

.colunm-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.15;
    color: #1f2937;
}

.login-subtitle {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #667085;
}

form {
    padding: 8px 28px 28px;
}

label {
    display: block;
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: #445065;
}

input {
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

input[type=text],
input[type=password] {
    width: 100%;
    height: 44px;
    margin: 0 0 18px;
    padding: 10px 12px;
    color: #1f2937;
    background: #fff;
    border: 1px solid #d8dde3;
    border-radius: 8px;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

input[type=text]:hover,
input[type=password]:hover {
    border-color: #c7d0da;
}

input[type=text]:focus,
input[type=password]:focus {
    border-color: #ff8c00;
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.12);
}

#lower {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 6px;
}

.check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #667085;
    cursor: pointer;
}

.check input[type=checkbox] {
    margin: 0;
    width: 16px;
    height: 16px;
    accent-color: #ff8c00;
}

input[type=submit] {
    border: 0;
    min-width: 108px;
    height: 42px;
    padding: 0 18px;
    border-radius: 10px;
    background: linear-gradient(180deg, #ff9d2d 0%, #ff8c00 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(255, 140, 0, 0.24);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

input[type=submit]:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(255, 140, 0, 0.28);
    filter: brightness(1.02);
}

input[type=submit]:active {
    transform: translateY(0);
    box-shadow: 0 8px 16px rgba(255, 140, 0, 0.22);
}

.login-error {
    display: none;
    margin: 0 0 18px;
    padding: 11px 12px;
    border-radius: 10px;
    border: 1px solid rgba(224, 36, 36, 0.2);
    background: rgba(224, 36, 36, 0.08);
    color: #b42318;
    font-size: 14px;
    font-weight: 600;
}

@media only screen and (max-width: 520px) {
    .login-page {
        padding: 20px 14px;
    }

    .login-card {
        border-radius: 20px;
    }

    .login-card-header,
    form {
        padding-left: 20px;
        padding-right: 20px;
    }

    .colunm-title {
        font-size: 21px;
    }

    #lower {
        flex-direction: column;
        align-items: stretch;
    }

    input[type=submit] {
        width: 100%;
    }
}
