.ortho-ai-wrapper {
--ortho-primary: #0d9488;
--ortho-primary-hover: #0f766e;
--ortho-primary-light: #ccfbf1;
--ortho-bg: #ffffff;
--ortho-bg-muted: #f0fdfa;
--ortho-border: #e2e8f0;
--ortho-text: #1e293b;
--ortho-text-muted: #64748b;
--ortho-error: #dc2626;
--ortho-error-bg: #fef2f2;
--ortho-radius: 12px;
--ortho-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
--ortho-shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.08);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
max-width: 640px;
margin: 2rem auto;
padding: 0 1rem;
box-sizing: border-box;
}
.ortho-ai-wrapper *,
.ortho-ai-wrapper *::before,
.ortho-ai-wrapper *::after {
box-sizing: border-box;
} .ortho-ai-card {
background: var(--ortho-bg);
border: 1px solid var(--ortho-border);
border-radius: var(--ortho-radius);
padding: 2rem;
box-shadow: var(--ortho-shadow);
} .ortho-ai-header {
display: flex;
align-items: center;
gap: 0.625rem;
margin-bottom: 0.5rem;
}
.ortho-ai-icon {
width: 28px;
height: 28px;
color: var(--ortho-primary);
flex-shrink: 0;
}
.ortho-ai-icon-sm {
width: 16px;
height: 16px;
color: var(--ortho-text-muted);
flex-shrink: 0;
vertical-align: middle;
}
.ortho-ai-title {
font-size: 1.375rem;
font-weight: 700;
color: var(--ortho-text);
margin: 0;
line-height: 1.3;
} .ortho-ai-desc {
color: var(--ortho-text-muted);
font-size: 0.9375rem;
line-height: 1.6;
margin: 0 0 1.5rem;
} .ortho-ai-form {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.ortho-ai-label {
font-size: 0.875rem;
font-weight: 600;
color: var(--ortho-text);
}
.ortho-ai-textarea {
width: 100%;
padding: 0.875rem 1rem;
border: 1.5px solid var(--ortho-border);
border-radius: 8px;
font-size: 0.9375rem;
line-height: 1.5;
color: var(--ortho-text);
background: var(--ortho-bg);
resize: vertical;
min-height: 100px;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
font-family: inherit;
}
.ortho-ai-textarea:focus {
outline: none;
border-color: var(--ortho-primary);
box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}
.ortho-ai-textarea::placeholder {
color: var(--ortho-text-muted);
opacity: 0.7;
} .ortho-ai-meta {
display: flex;
justify-content: flex-end;
margin-bottom: 0.25rem;
}
.ortho-ai-charcount {
font-size: 0.8125rem;
color: var(--ortho-text-muted);
tabular-nums: true;
font-variant-numeric: tabular-nums;
}
.ortho-ai-charcount.ortho-ai-charcount--warn {
color: #d97706;
font-weight: 600;
}
.ortho-ai-charcount.ortho-ai-charcount--max {
color: var(--ortho-error);
font-weight: 600;
} .ortho-ai-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.8125rem 1.5rem;
background: var(--ortho-primary);
color: #ffffff;
border: none;
border-radius: 8px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
line-height: 1.4;
font-family: inherit;
}
.ortho-ai-btn:hover {
background: var(--ortho-primary-hover);
box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}
.ortho-ai-btn:active {
transform: scale(0.98);
}
.ortho-ai-btn:disabled {
opacity: 0.7;
cursor: not-allowed;
transform: none;
}
.ortho-ai-btn-loading {
display: none;
align-items: center;
gap: 0.5rem;
}
.ortho-ai-btn.is-loading .ortho-ai-btn-text {
display: none;
}
.ortho-ai-btn.is-loading .ortho-ai-btn-loading {
display: inline-flex;
} .ortho-ai-spinner {
width: 20px;
height: 20px;
animation: ortho-spin 0.8s linear infinite;
}
@keyframes ortho-spin {
from { transform: rotate(0deg); }
to   { transform: rotate(360deg); }
} .ortho-ai-response {
margin-top: 1.5rem;
padding: 1.25rem 1.5rem;
border-radius: 8px;
font-size: 0.9375rem;
line-height: 1.7;
color: var(--ortho-text);
animation: ortho-fadeIn 0.3s ease;
}
.ortho-ai-response[hidden] {
display: none;
}
.ortho-ai-response.ortho-ai-response--success {
background: var(--ortho-bg-muted);
border: 1px solid #99f6e4;
}
.ortho-ai-response.ortho-ai-response--error {
background: var(--ortho-error-bg);
border: 1px solid #fecaca;
color: var(--ortho-error);
}
.ortho-ai-response p {
margin: 0 0 0.75rem;
}
.ortho-ai-response p:last-child {
margin-bottom: 0;
}
@keyframes ortho-fadeIn {
from { opacity: 0; transform: translateY(8px); }
to   { opacity: 1; transform: translateY(0); }
} .ortho-ai-disclaimer {
display: flex;
align-items: flex-start;
gap: 0.375rem;
margin: 1.25rem 0 0;
padding-top: 1rem;
border-top: 1px solid var(--ortho-border);
font-size: 0.8125rem;
color: var(--ortho-text-muted);
line-height: 1.5;
}
.ortho-ai-disclaimer svg {
margin-top: 1px;
} @media (max-width: 480px) {
.ortho-ai-card {
padding: 1.25rem;
}
.ortho-ai-title {
font-size: 1.2rem;
}
.ortho-ai-btn {
width: 100%;
}
}.menu-item-object-language_switcher .etm-flag-image {
display: inline-block;
margin: -1px 5px;
vertical-align: baseline;
padding: 0;
border: 0;
border-radius:0;
} .etm-language-switcher{
position: relative;
display: inline-block;
padding: 0;
border: 0;
margin: 2px;
box-sizing: border-box;
}
.etm-language-switcher > div {
box-sizing: border-box;
padding:3px 20px 3px 5px;
border: 1px solid #c1c1c1;
border-radius: 3px;
background-image:
linear-gradient(45deg, transparent 50%, gray 50%),
linear-gradient(135deg, gray 50%, transparent 50%);
background-position:
calc(100% - 8px) calc(1em + 0px),
calc(100% - 3px) calc(1em + 0px);
background-size:
5px 5px,
5px 5px;
background-repeat: no-repeat;
background-color: #fff;
}
.etm-language-switcher > div > a {
display: block;
padding: 2px;
border-radius: 3px;
color: rgb(7, 105, 173);
}
.etm-language-switcher > div > a:hover {
background: #f1f1f1;
}
.etm-language-switcher > div > a.etm-ls-shortcode-disabled-language {
cursor: default;
}
.etm-language-switcher > div > a.etm-ls-shortcode-disabled-language:hover {
background: none;
}
.etm-language-switcher > div > a > img{
display: inline;
margin: 0 3px;
width: 18px;
height: 12px;
border-radius: 0;
}
.etm-language-switcher .etm-ls-shortcode-current-language{
display: inline-block;
}
.etm-language-switcher:focus .etm-ls-shortcode-current-language,
.etm-language-switcher:focus-within .etm-ls-shortcode-current-language,
.etm-language-switcher:hover .etm-ls-shortcode-current-language{
visibility: hidden;
}
.etm-language-switcher .etm-ls-shortcode-language{
display: inline-block;
height: 1px;
overflow: hidden;
visibility: hidden;
z-index: 1;
max-height: 250px;
overflow-y: auto;
left: 0;
top: 0;
min-height: auto;
}
.etm-language-switcher:focus .etm-ls-shortcode-language,
.etm-language-switcher:focus-within .etm-ls-shortcode-language,
.etm-language-switcher:hover .etm-ls-shortcode-language{
visibility: visible;
max-height: 250px;
height: auto;
overflow-y: auto;
position: absolute;
left: 0;
top: 0;
display: inline-block !important;
min-height: auto;
} #wpadminbar #wp-admin-bar-etm_edit_translation .ab-icon:before {
content: '\f326';
top: 3px;
}
@media screen and ( max-width: 782px ) {
#wpadminbar #wp-admin-bar-etm_edit_translation > .ab-item {
text-indent: 0;
}
#wpadminbar li#wp-admin-bar-etm_edit_translation {
display: block;
}
}