      :root {
            --ink: #100d08;
            --ink-soft: #17130d;
            --charcoal: #1c1710;
            --charcoal-hi: #262015;
            --gold: #c99a3b;
            --gold-hi: #e4be63;
            --gold-dim: #8a6a28;
            --champagne: #e9d9af;
            --parchment: #f6f1e4;
            --success: #43c98b;
            --danger: #ff6262;
        }

        * {
            box-sizing: border-box;
        }

        body {
            min-height: 100vh;
            margin: 0;
            font-family: "Segoe UI", Arial, sans-serif;
            color: var(--parchment);
            background:
                linear-gradient(120deg, rgba(10, 8, 5, .88), rgba(18, 13, 6, .72)),
                url("{{ asset('assets/img/bg.png') }}") center / cover no-repeat fixed;
        }

        .login-wrapper {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 30px 16px;
            position: relative;
            overflow: hidden;
        }

        .login-wrapper::before,
        .login-wrapper::after {
            content: "";
            position: absolute;
            width: 320px;
            height: 320px;
            border-radius: 50%;
            filter: blur(100px);
            opacity: .16;
            pointer-events: none;
        }

        .login-wrapper::before {
            background: var(--gold);
            top: -120px;
            left: -100px;
        }

        .login-wrapper::after {
            background: #b87920;
            bottom: -140px;
            right: -100px;
        }

        .login-card {
            width: 100%;
            max-width: 440px;
            position: relative;
            z-index: 1;
            padding: 2px;
            border-radius: 22px;
            background: conic-gradient(
                from var(--border-angle, 0deg),
                var(--gold-dim),
                #fff0b2,
                #8a6424,
                var(--gold-hi),
                var(--gold-dim)
            );
            animation: borderRotate 5s linear infinite;
            box-shadow: 0 25px 80px rgba(0, 0, 0, .55);
        }

        @property --border-angle {
            syntax: "<angle>";
            initial-value: 0deg;
            inherits: false;
        }

        @keyframes borderRotate {
            to {
                --border-angle: 360deg;
            }
        }

        .login-card-inner {
            background: rgba(20, 16, 10, .96);
            border-radius: 20px;
            padding: 42px 38px;
            backdrop-filter: blur(18px);
        }

        .brand-icon {
            width: 66px;
            height: 66px;
            margin: 0 auto 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(228, 190, 99, .5);
            border-radius: 20px;
            background: linear-gradient(145deg, #302512, #17130d);
            color: var(--gold-hi);
            font-size: 28px;
            box-shadow: 0 0 28px rgba(201, 154, 59, .13);
        }

        .brand-title {
            color: var(--gold-hi);
            font-size: 25px;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-align: center;
            margin-bottom: 6px;
        }

        .brand-subtitle {
            color: #a99e88;
            font-size: 13px;
            text-align: center;
            margin-bottom: 30px;
        }

        .form-label {
            color: var(--champagne);
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 9px;
        }

        .input-group-custom {
            display: flex;
            align-items: center;
            border: 1px solid #453923;
            border-radius: 12px;
            background: var(--ink-soft);
            overflow: hidden;
            transition: .25s ease;
        }

        .input-group-custom:focus-within {
            border-color: var(--gold);
            box-shadow: 0 0 0 3px rgba(201, 154, 59, .12);
        }

        .input-icon {
            color: var(--gold);
            padding-left: 16px;
            font-size: 17px;
        }

        .input-group-custom .form-control {
            background: transparent;
            border: 0;
            box-shadow: none;
            color: var(--parchment);
            padding: 14px 13px;
            min-width: 0;
        }

        .input-group-custom .form-control::placeholder {
            color: #766d5d;
        }

        .input-group-custom .form-control:focus {
            background: transparent;
            color: var(--parchment);
        }

        .country-code {
            color: var(--champagne);
            font-size: 14px;
            padding: 0 12px 0 15px;
            border-right: 1px solid #453923;
            white-space: nowrap;
        }

        .btn-gold {
            width: 100%;
            border: 0;
            border-radius: 12px;
            padding: 14px 18px;
            color: #1b1408;
            background: linear-gradient(135deg, #e4be63, #bd8b2d);
            font-weight: 700;
            letter-spacing: .4px;
            transition: .25s ease;
        }

        .btn-gold:hover {
            color: #100d08;
            background: linear-gradient(135deg, #f2d58d, #d2a344);
            transform: translateY(-2px);
            box-shadow: 0 8px 22px rgba(201, 154, 59, .2);
        }

        .btn-gold:disabled {
            opacity: .55;
            transform: none;
            box-shadow: none;
            cursor: not-allowed;
        }

        .otp-section {
            display: none;
            animation: fadeSlide .45s ease both;
        }

        .otp-section.show {
            display: block;
        }

        @keyframes fadeSlide {
            from {
                opacity: 0;
                transform: translateY(12px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .otp-boxes {
            display: flex;
            justify-content: center;
            gap: 9px;
            margin: 25px 0;
        }

        .otp-input {
            width: 48px;
            height: 54px;
            border: 1px solid #514329;
            border-radius: 10px;
            background: #17130d;
            color: var(--gold-hi);
            font-size: 21px;
            font-weight: 700;
            text-align: center;
            outline: none;
            transition: .2s ease;
            caret-color: var(--gold-hi);
        }

        .otp-input:focus {
            border-color: var(--gold-hi);
            box-shadow: 0 0 0 3px rgba(201, 154, 59, .13);
        }

        .otp-input.filled {
            border-color: var(--gold-dim);
            background: #211b10;
        }

        .otp-input.error {
            border-color: var(--danger);
            color: var(--danger);
            animation: shake .35s ease;
        }

        .otp-input.success {
            border-color: var(--success);
            color: var(--success);
            animation: pop .3s ease;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            20%, 60% { transform: translateX(-5px); }
            40%, 80% { transform: translateX(5px); }
        }

        @keyframes pop {
            0% { transform: scale(.9); }
            60% { transform: scale(1.12); }
            100% { transform: scale(1); }
        }

        .otp-hint {
            color: #a99e88;
            font-size: 13px;
            text-align: center;
            margin-bottom: 0;
        }

        .otp-hint strong {
            color: var(--champagne);
            font-weight: 600;
        }

        .resend-row {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 5px;
            margin-top: 17px;
            font-size: 13px;
            color: #a99e88;
        }

        .resend-btn {
            color: var(--gold-hi);
            border: 0;
            background: transparent;
            font-weight: 600;
            padding: 0;
        }

        .resend-btn:disabled {
            color: #71664f;
            cursor: not-allowed;
        }

        .change-number {
            display: block;
            margin: 15px auto 0;
            color: #c5b68f;
            background: transparent;
            border: 0;
            font-size: 13px;
        }

        .change-number:hover,
        .resend-btn:not(:disabled):hover {
            color: #fff0b2;
            text-decoration: underline;
        }

        .feedback {
            display: none;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin: 16px 0 0;
            font-size: 13px;
            font-weight: 600;
            text-align: center;
        }

        .feedback.show {
            display: flex;
            animation: fadeSlide .3s ease both;
        }

        .feedback.error {
            color: var(--danger);
        }

        .feedback.success {
            color: var(--success);
        }

        .feedback-icon {
            font-size: 17px;
        }

        .success-animation {
            display: none;
            text-align: center;
            padding: 10px 0 18px;
            animation: fadeSlide .45s ease both;
        }

        .success-animation.show {
            display: block;
        }

        .success-check {
            width: 78px;
            height: 78px;
            margin: 0 auto 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid var(--success);
            border-radius: 50%;
            color: var(--success);
            font-size: 38px;
            animation: successPop .55s cubic-bezier(.18, .89, .32, 1.28) both;
            box-shadow: 0 0 30px rgba(67, 201, 139, .16);
        }

        @keyframes successPop {
            0% { transform: scale(0) rotate(-30deg); opacity: 0; }
            70% { transform: scale(1.18) rotate(8deg); opacity: 1; }
            100% { transform: scale(1) rotate(0); }
        }

        .success-title {
            color: var(--success);
            font-weight: 700;
            font-size: 21px;
            margin-bottom: 7px;
        }

        .success-text {
            color: #b7ad9b;
            font-size: 13px;
        }

        .footer-text {
            color: #807664;
            font-size: 11px;
            text-align: center;
            margin: 26px 0 0;
        }

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

            .login-card {
                max-width: 390px;
            }

            .login-card-inner {
                padding: 34px 22px;
            }

            .brand-title {
                font-size: 22px;
            }

            .otp-boxes {
                gap: 7px;
            }

            .otp-input {
                width: min(12vw, 45px);
                height: 50px;
                font-size: 19px;
            }
        }

        @media (max-width: 350px) {
            .login-card-inner {
                padding: 30px 16px;
            }

            .otp-boxes {
                gap: 5px;
            }

            .otp-input {
                width: 39px;
                height: 47px;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: .01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: .01ms !important;
            }
        }
     .register-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 15px 10px;
    border: 1px solid rgba(201, 154, 59, .25);
    border-radius: 12px;
    background: rgba(201, 154, 59, .06);
    color: #a99e88;
    font-size: 13px;
}

.register-link a {
    color: var(--gold-hi);
    font-weight: 700;
    text-decoration: none;
    transition: .25s ease;
}

.register-link a:hover {
    color: var(--parchment);
}

.register-link a i {
    transition: transform .25s ease;
}

.register-link a:hover i {
    transform: translateX(4px);
}

.login-footer .footer-text {
    margin-top: 20px;

}