* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at 10% 20%, #f3fbfd 0%, #e6f6fb 30%, #f7fbfd 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-font-smoothing: antialiased;
}

.page {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Decorative steps image on the left */
.steps {
    position: absolute;
    left: 400px;
    bottom: 5px;
    width: 150px;
    opacity: 0.5;
    z-index: 1;
}

/* Login Card */
.login-box {
    width: 440px;
    background: rgba(255, 255, 255, 0.98);
    padding: 48px 40px 40px 40px;
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(15, 40, 60, 0.12);
    text-align: center;
    position: relative;
    z-index: 3;
    overflow: hidden;
}

/* Small logo background inside card */
.login-box::before {
    content: "";
    position: absolute;
    bottom: -40px;
    right: -20px;
    width: 200px;
    height: 300px;
    background-image: url('/logo/kotutimu_small_logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
}

.logo {
    width: 200px;
    margin-bottom: 20px;
}

.login-box h2 {
    color: #144f63;
    margin-bottom: 18px;
    font-weight: 700;
    font-size: 22px;
    position: relative;
    z-index: 2;
}

/* Inputs */
.login-box input {
    width: 100%;
    padding: 14px 14px 14px 48px;
    margin-bottom: 14px;
    border-radius: 10px;
    border: 1px solid #e0eef3;
    font-size: 15px;
    outline: none;
    background-color: #fbfeff;
    transition: box-shadow 0.18s ease, border-color 0.12s ease;
    position: relative;
    z-index: 2;
}

.login-box input::placeholder {
    color: #6b8793;
}

.login-box input:focus {
    border-color: #2a95bf;
    box-shadow: 0 6px 22px rgba(42, 149, 191, 0.12);
}

/* Input icons as SVG background */
.login-box input[type="email"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b8793' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V7'%3E%3C/path%3E%3Cpolyline points='3 7 12 13 21 7'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 18px 18px;
}

.login-box input[type="password"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b8793' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 16px 16px;
}

/* Button */
.login-box button {
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(90deg, #2f91ba 0%, #1870a0 100%);
    margin-top: 8px;
    box-shadow: 0 12px 30px rgba(28, 111, 136, 0.14);
    position: relative;
    z-index: 2;
    transition: opacity 0.2s ease;
}

.login-box button:hover {
    opacity: 0.95;
}

/* Forgot link */
.forgot {
    display: inline-block;
    margin-top: 18px;
    font-size: 14px;
    color: #19607a;
    text-decoration: none;
    position: relative;
    z-index: 2;
    transition: text-decoration 0.2s ease;
}

.forgot:hover {
    text-decoration: underline;
}
/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 20px;
    }

    .login-box {
        width: 100%;
        max-width: 440px;
        padding: 40px 30px;
    }

    .logo {
        width: 180px;
        margin: -90px auto 10px auto;
    }

    .steps {
        width: 200px;
        opacity: 0.85;
    }
}

@media (max-width: 480px) {
    .login-box {
        width: 100%;
        padding: 30px 20px;
        border-radius: 16px;
    }

    .login-box::before {
        width: 200px;
        height: 200px;
        bottom: -30px;
        right: -40px;
    }

    .logo {
        width: 140px;
        margin: -70px auto 8px auto;
    }

    .login-box h2 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .login-box input {
        padding: 12px 12px 12px 40px;
        margin-bottom: 12px;
        font-size: 14px;
    }

    .login-box button {
        padding: 12px 16px;
        font-size: 14px;
    }

    .forgot {
        font-size: 12px;
        margin-top: 14px;
    }

    .steps {
        width: 150px;
        bottom: 50px;
        left: 20px;
        opacity: 0.8;
    }
}