.dlit-math-captcha-wrap {
margin: 12px 0;
padding: 14px 16px;
background: #f8f9fa;
border: 1px solid #dee2e6;
border-radius: 4px;
font-size: 14px;
line-height: 1.5;
}
.dlit-math-captcha-wrap label {
display: block;
margin-bottom: 6px;
color: #333;
}
.dlit-math-captcha-wrap label strong {
display: block;
margin-bottom: 2px;
}
.dlit-captcha-note {
font-size: 13px;
color: #555;
}
.dlit-captcha-question {
display: inline-block;
padding: 6px 12px;
margin: 8px 0;
background: #fff;
border: 1px solid #ced4da;
border-radius: 4px;
font-size: 18px;
font-weight: 700;
letter-spacing: 0.05em;
}
.dlit-captcha-input {
display: block;
width: 100px;
margin-top: 8px;
padding: 6px 10px;
font-size: 16px;
border: 1px solid #ced4da;
border-radius: 4px;
background: #fff;
color: #212529;
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
-moz-appearance: textfield;
appearance: textfield;
} .dlit-captcha-input::-webkit-outer-spin-button,
.dlit-captcha-input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.dlit-captcha-input:focus {
border-color: #80bdff;
outline: 0;
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}
.dlit-math-captcha-simple {
display: flex !important;
align-items: center !important;
justify-content: space-between !important;
width: 100% !important;
max-width: 250px !important;
gap: 6px;
background: transparent !important;
border: 0 !important;
box-sizing: border-box !important;
flex-wrap: nowrap !important;
} .dlit-math-captcha-simple label {
display: inline !important;
margin: 0 !important;
padding: 0 !important;
color: inherit !important;
}
.dlit-captcha-simple-right {
display: flex !important;
align-items: center !important;
gap: 6px;
}
.dlit-captcha-simple-label {
display: flex !important;
align-items: center !important;
gap: 4px;
}
.dlit-captcha-simple-title {
display: inline !important;
margin: 0 !important;
padding: 0 !important;
font-weight: 600 !important;
color: inherit !important;
line-height: 1 !important;
vertical-align: middle !important;
}
.dlit-captcha-info {
display: inline-flex !important;
align-items: center !important;
text-decoration: none !important;
position: relative;
cursor: pointer;
flex-shrink: 0;
opacity: 1;
color: inherit !important;
padding-left: 5px;
margin-top: -2px;
}
.dlit-captcha-info:hover {
opacity: 1;
}
.dlit-captcha-info::after {
content: attr(data-tooltip);
display: none;
position: absolute;
bottom: calc(100% + 6px);
left: 50%;
transform: translateX(-50%);
white-space: normal;
width: max-content;
max-width: 220px;
text-align: center;
background: #333;
color: #fff;
font-size: 12px;
font-weight: 400;
line-height: 1.4;
padding: 4px 8px;
border-radius: 4px;
z-index: 9999;
pointer-events: none;
} .dlit-captcha-info:hover::after,
.dlit-captcha-info:focus::after {
display: block;
}
.dlit-captcha-info:focus-visible {
outline: 1px dotted currentColor;
outline-offset: 2px;
}
.dlit-math-captcha-simple .dlit-captcha-question {
display: inline-flex !important;
align-items: center !important;
margin: 0 !important;
padding: 0 !important;
background: transparent !important;
border: 0 !important;
border-radius: 0 !important;
font-size: 14px !important;
font-weight: 600 !important;
letter-spacing: 0 !important;
line-height: 1 !important;
color: inherit !important;
vertical-align: middle !important;
}
.dlit-math-captcha-simple .dlit-captcha-input {
display: inline-block !important;
width: 70px !important;
padding: 3px 6px !important;
font-size: 14px !important;
height: auto !important;
vertical-align: middle !important; color: #212529 !important;
box-sizing: border-box !important;
} .dlit-math-captcha-text-light,
.dlit-math-captcha-text-light label,
.dlit-math-captcha-text-light .dlit-captcha-simple-title,
.dlit-math-captcha-text-light .dlit-captcha-info,
.dlit-math-captcha-text-light .dlit-captcha-question,
.dlit-math-captcha-text-light .dlit-captcha-note {
color: #f5f5f5 !important;
}
.dlit-math-captcha-text-dark,
.dlit-math-captcha-text-dark label,
.dlit-math-captcha-text-dark .dlit-captcha-simple-title,
.dlit-math-captcha-text-dark .dlit-captcha-info,
.dlit-math-captcha-text-dark .dlit-captcha-question,
.dlit-math-captcha-text-dark .dlit-captcha-note {
color: #1f2937 !important;
} body.login .dlit-math-captcha-wrap {
margin: 16px 0;
}