input[type='checkbox']:hover {
    box-shadow: none;
}

.right.login-right-beauty #account {
    padding: 2px 10px 0;
}

.right.login-right-beauty .create {
    margin-bottom: 0;
}

.right.login-right-beauty .create > dd {
    margin-bottom: 6px;
}

.right.login-right-beauty .login-brand {
    padding-top: 10px !important;
    margin-bottom: 2px;
}

.right.login-right-beauty .login-brand .navbar-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 4px 0 10px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
}

.right.login-right-beauty .login-brand .navbar-brand::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 84px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(191, 219, 254, 0.2) 0%, rgba(59, 130, 246, 0.95) 50%, rgba(191, 219, 254, 0.2) 100%);
}

.right.login-right-beauty .login-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    max-width: 252px;
    margin: 0 auto;
    min-height: 40px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(226, 232, 240, 0.96);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.right.login-right-beauty .login-field:hover,
.right.login-right-beauty .login-field:focus-within {
    border-color: rgba(96, 165, 250, 0.88);
    border-left-color: #2563eb;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.right.login-right-beauty .login-field .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    color: #2563eb;
    background: rgba(219, 234, 254, 0.7);
    flex-shrink: 0;
}

.right.login-right-beauty .login-field .button {
    margin: 0;
    width: 100%;
    height: 40px;
    background: transparent;
    border: none;
    color: #334155;
    box-shadow: none;
    padding: 0;
    font-size: 13px;
}

.right.login-right-beauty .login-field .button:focus,
.right.login-right-beauty .login-field .button:active {
    outline: none;
    border: none;
    box-shadow: none;
    background: transparent;
}

.right.login-right-beauty .login-field .button::placeholder {
    color: #94a3b8;
}

.right.login-right-beauty .login-field .button:-webkit-autofill,
.right.login-right-beauty .login-field .button:-webkit-autofill:hover,
.right.login-right-beauty .login-field .button:-webkit-autofill:focus,
.right.login-right-beauty .login-field .button:-webkit-autofill:active {
    -webkit-text-fill-color: #334155;
    -webkit-box-shadow: 0 0 0 1000px transparent inset;
    box-shadow: 0 0 0 1000px transparent inset;
    background-color: transparent;
    transition: background-color 9999s ease-in-out 0s;
    caret-color: #334155;
}

.right.login-right-beauty .text-danger {
    display: block;
    margin-top: 5px;
    font-size: 12px;
}

.right.login-right-beauty .role-shell {
    max-width: 252px;
    margin: 0 auto;
    padding: 2px 0 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.right.login-right-beauty .role-title {
    margin-bottom: 4px;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.right.login-right-beauty .role-options {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 4px;
}

.right.login-right-beauty .role-options input[type='radio'] {
    display: none;
}

.right.login-right-beauty .role-options label {
    display: block;
    margin: 0;
    padding: 0px 10px;
    border-radius: 12px;
    border: 1px solid rgba(203, 213, 225, 0.95);
    background: rgba(255, 255, 255, 0.92);
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
    position: relative;
}

.right.login-right-beauty .role-options input[type='radio']:checked + label {
    color: #1d4ed8;
    border-color: #3b82f6;
    background: linear-gradient(180deg, rgba(239, 246, 255, 1) 0%, rgba(191, 219, 254, 0.98) 100%);
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.12), 0 6px 14px rgba(59,130,246,0.06);
    font-weight: 700;
}

.right.login-right-beauty .checkbox label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.right.login-right-beauty .login-message-area {
    padding-top: 2px;
}

.right.login-right-beauty .login-message-area #message:empty {
    display: none;
}

.right.login-right-beauty .login-message-area .note {
    color: #2563eb;
}

.right.login-right-beauty .action-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.right.login-right-beauty .action-group .icon-btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 14px;
    box-shadow: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.right.login-right-beauty .action-group .icon-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.right.login-right-beauty .action-group .submit.is-loading,
.right.login-right-beauty .action-group .submitTemp001.is-loading {
    color: #fff !important;
    pointer-events: none;
}

.right.login-right-beauty .action-group .submit.is-loading .icon,
.right.login-right-beauty .action-group .submitTemp001.is-loading .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: transparent !important;
}

.right.login-right-beauty .action-group .submit.is-loading .icon::before,
.right.login-right-beauty .action-group .submitTemp001.is-loading .icon::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.42);
    border-top-color: #ffffff;
    animation: loginSpin 0.75s linear infinite;
}

.right.login-right-beauty .action-group .submit.is-loading .letter,
.right.login-right-beauty .action-group .submitTemp001.is-loading .letter {
    color: #fff !important;
}

.right.login-right-beauty .action-group .submit {
    background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
    border-color: #2563eb;
    color: #fff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

.right.login-right-beauty .action-group .submit:hover,
.right.login-right-beauty .action-group .submit:focus {
    color: #fff !important;
    background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
    border-color: #2563eb;
    opacity: 1;
}

.right.login-right-beauty .action-group .submit:hover .icon,
.right.login-right-beauty .action-group .submit:hover .letter,
.right.login-right-beauty .action-group .submit:focus .icon,
.right.login-right-beauty .action-group .submit:focus .letter {
    color: #fff !important;
    opacity: 1;
}

.right.login-right-beauty .action-group .delete {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(203, 213, 225, 0.95);
    color: #475569;
}

.right.login-right-beauty .action-group .letter {
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    min-width: 56px;
    text-align: center;
}

.right.login-right-beauty .demo-tip-wrap {
    min-height: 30px;
    line-height: 30px;
    margin-top: 0;
}

.right.login-right-beauty .demo-tip-wrap .demo-system-tip {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 999px;
    background: rgba(254, 242, 242, 0.9);
    border: 1px solid rgba(254, 202, 202, 0.92);
    font-size: 12px;
}

@media (max-width: 576px) {
    .right.login-right-beauty #account {
        padding-left: 4px;
        padding-right: 4px;
    }

    .right.login-right-beauty .role-options {
        gap: 3px;
    }
}

.drag-verify-field {
    margin-top: 4px;
}

.drag-verify {
    width: 280px;
    max-width: 100%;
    margin: 0 auto;
    user-select: none;
    padding: 2px 10px 10px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-sizing: border-box;
}

.drag-verify-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.drag-verify-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.drag-verify-title::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.drag-verify-badge {
    padding: 2px 8px;
    min-width: 52px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 12px;

    font-size: 12px;
    line-height: 20px;
    font-weight: 600;
    text-align: center;
    box-sizing: border-box;
}

.drag-verify-panel {
    position: relative;
    height: 40px;
    box-sizing: border-box;
    border-radius: 14px;
    border: 1px solid #dbe4f0;
    background: linear-gradient(135deg, #f8fbff 0%, #eef4fb 50%, #f8fafc 100%);
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06), inset 0 -1px 0 rgba(255, 255, 255, 0.7);
}

.drag-verify-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-size: 16px 100%;
    pointer-events: none;
}

.drag-verify-panel.is-verified {
    border-color: #dbe4f0;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    box-shadow: inset 0 0 0 1px #22c55e, inset 0 1px 2px rgba(15, 23, 42, 0.06), inset 0 -1px 0 rgba(255, 255, 255, 0.7);
}

.drag-verify-panel.is-error {
    border-color: #dbe4f0;
    box-shadow: inset 0 0 0 1px #ef4444, inset 0 1px 2px rgba(15, 23, 42, 0.06), inset 0 -1px 0 rgba(255, 255, 255, 0.7);
    animation: dragVerifyShake 0.24s linear;
}

.drag-verify-target {
    position: absolute;
    top: 4px;
    left: var(--target-left);
    width: 32px;
    height: 32px;
    border: 2px dashed rgba(59, 130, 246, 0.45);
    border-radius: 10px;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.14) 0%, rgba(59, 130, 246, 0.06) 65%, rgba(59, 130, 246, 0.02) 100%);
    box-sizing: border-box;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.drag-verify-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.22) 0%, rgba(59, 130, 246, 0.18) 100%);
    transition: width 0.18s ease;
    border-radius: 14px;
}

.drag-verify-panel.is-verified .drag-verify-progress {
    background: linear-gradient(90deg, rgba(74, 222, 128, 0.24) 0%, rgba(34, 197, 94, 0.18) 100%);
}

.drag-verify-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 12px;
    letter-spacing: 0.3px;
    font-weight: 600;
    z-index: 2;
    pointer-events: none;
    white-space: nowrap;
}

.drag-verify-handle {
    position: absolute;
    top: 4px;
    left: 0;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.16), 0 2px 4px rgba(15, 23, 42, 0.08);
    z-index: 3;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 15px;
    font-weight: 700;
    touch-action: none;
}

.drag-verify-handle::before {
    content: ">>>";
    letter-spacing: -1px;
    transform: scaleX(0.88);
}

.drag-verify-panel.is-dragging .drag-verify-handle {
    cursor: grabbing;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22), 0 2px 6px rgba(15, 23, 42, 0.1);
}

.drag-verify-tip {
    min-height: 22px;
    margin-top: 6px;
    padding: 4px 8px;
    border-radius: 12px;
    background: #f8fafc;
    color: #64748b;
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-sizing: border-box;
}

.drag-verify-tip.success {
    color: #16a34a;
    background: #f0fdf4;
    border-color: rgba(187, 247, 208, 0.9);
}

.drag-verify-tip.error {
    color: #dc2626;
    background: #fef2f2;
    border-color: rgba(254, 202, 202, 0.95);
}

@media (max-width: 576px) {
    .drag-verify {
        max-width: 100%;
    }
}

@keyframes dragVerifyShake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    75% {
        transform: translateX(4px);
    }
}

@keyframes loginSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
