        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            background: #f3f5f9;
            font-family: Tahoma, Arial, sans-serif;
            color: #202938;
        }

        .login-card {
            width: 100%;
            max-width: 420px;
            background: white;
            border-radius: 18px;
            padding: 32px 26px;
            box-shadow: 0 12px 40px rgba(0,0,0,.07);
        }

        .logo {
            width: 58px;
            height: 58px;
            margin: 0 auto 20px;
            display: grid;
            place-items: center;
            border-radius: 16px;
            background: #e9efff;
            color: #3159bd;
            font-size: 27px;
            font-weight: bold;
        }

        h1 {
            text-align: center;
            font-size: 22px;
            margin: 0 0 10px;
        }

        .description {
            text-align: center;
            color: #778196;
            font-size: 13px;
            line-height: 2;
            margin-bottom: 28px;
        }

        label {
            display: block;
            font-size: 13px;
            margin-bottom: 9px;
            font-weight: bold;
        }

        input {
            width: 100%;
            height: 52px;
            border: 1px solid #dce1ea;
            border-radius: 10px;
            padding: 0 14px;
            font-size: 17px;
            outline: none;
            direction: ltr;
            text-align: center;
            letter-spacing: 2px;
        }

        input:focus {
            border-color: #3159bd;
            box-shadow: 0 0 0 3px rgba(49,89,189,.1);
        }

        button {
            width: 100%;
            height: 52px;
            border: 0;
            border-radius: 10px;
            margin-top: 18px;
            background: #3159bd;
            color: white;
            font-size: 15px;
            font-weight: bold;
            cursor: pointer;
        }

        button:disabled {
            opacity: .6;
            cursor: wait;
        }

        .message {
            display: none;
            padding: 12px;
            margin-top: 16px;
            border-radius: 9px;
            font-size: 13px;
            line-height: 1.8;
        }

        .message.error {
            display: block;
            background: #fff0f0;
            color: #b42318;
        }

        .message.success {
            display: block;
            background: #eaf8ef;
            color: #18743a;
        }

        .hidden {
            display: none;
        }

        .resend {
            margin-top: 18px;
            text-align: center;
            font-size: 13px;
            color: #778196;
        }

        .resend button {
            width: auto;
            height: auto;
            margin: 0;
            padding: 5px;
            background: none;
            color: #3159bd;
            font-size: 13px;
        }

        .back {
            display: block;
            margin: 16px auto 0;
            background: none;
            color: #596579;
            height: auto;
            font-size: 13px;
        }

        @media (max-width: 480px) {
            .login-card {
                padding: 28px 20px;
            }
        }
