/* JECRING public pages only — body.tido-public on general_page layout.
   Covers guest /services, /faq, /terms, /privacy, /cookie-policy, /impressum, /api/docs.
   Does not load on auth, dashboard, admin, or the user panel. */

body.tido-public {
    --pub-bg: #0b0b0c;
    --pub-accent: #6600FF;
    --pub-accent-2: #FF5E00;
    --pub-text: #ffffff;
    --pub-muted: #A0AEC0;
    --pub-glass: rgba(18, 18, 22, 0.42);
    --pub-glass-elev: rgba(22, 22, 28, 0.55);
    --pub-line: rgba(255, 255, 255, 0.12);
    --pub-line-soft: rgba(255, 255, 255, 0.08);
    --pub-shine: inset 0 1px 0 rgba(255, 255, 255, 0.14);
    --pub-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --pub-gradient: linear-gradient(90deg, #FF5E00 0%, #C400FF 52%, #6600FF 100%);
    background-color: var(--pub-bg) !important;
    background-image:
        radial-gradient(ellipse 80% 50% at 12% -6%, rgba(102, 0, 255, 0.2), transparent 58%),
        radial-gradient(ellipse 50% 36% at 92% 6%, rgba(255, 94, 0, 0.1), transparent 56%),
        radial-gradient(ellipse 70% 40% at 50% 110%, rgba(0, 0, 0, 0.5), transparent 70%);
    background-attachment: fixed;
    color: var(--pub-text);
    font-family: "Inter", sans-serif;
    min-height: 100%;
}

body.tido-public .page,
body.tido-public .page-main,
body.tido-public .page-content,
body.tido-public .container,
body.tido-public .row,
body.tido-public .my-3,
body.tido-public .my-md-5 {
    background: transparent !important;
    background-color: transparent !important;
}

body.tido-public .header,
body.tido-public header.header {
    background: rgba(14, 14, 18, 0.55) !important;
    border-bottom: 1px solid var(--pub-line) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
}

body.tido-public .header .navbar-collapse,
body.tido-public .header .navbar-collapse.show,
body.tido-public .header .navbar-collapse.collapsing {
    background: transparent !important;
}

body.tido-public .header .navbar .navbar-nav .nav-link,
body.tido-public .header .btn-login,
body.tido-public .header .navbar .navbar-toggler {
    color: #ffffff !important;
    text-transform: none;
    font-family: "Inter", sans-serif;
    font-weight: 500;
}

body.tido-public .header .navbar .navbar-nav .nav-link:hover,
body.tido-public .header .navbar .active > .nav-link,
body.tido-public .header .btn-login:hover {
    color: #ffffff !important;
    opacity: 0.86;
}

body.tido-public .header .btn-outline-primary.sign-up,
body.tido-public .header a.btn-outline-primary.sign-up,
body.tido-public .header .btn-outline-primary.btn-statistics {
    color: #ffffff !important;
    border-color: var(--pub-accent) !important;
    background: transparent !important;
    border-radius: 999px;
    text-transform: none;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
}

body.tido-public .header a.btn-outline-primary.sign-up:hover,
body.tido-public .header .btn-outline-primary.btn-statistics:hover {
    color: #ffffff !important;
    background: rgba(102, 0, 255, 0.22) !important;
    border-color: var(--pub-accent) !important;
    background-image: none !important;
}

body.tido-public .page-header,
body.tido-public .page-title,
body.tido-public h1.page-title,
body.tido-public section.page-title,
body.tido-public .page-title h1,
body.tido-public .page-header h1,
body.tido-public .page-header .page-title {
    color: var(--pub-text) !important;
    font-family: "Montserrat", sans-serif;
    background: transparent !important;
    border: 0;
}

body.tido-public h1,
body.tido-public h2,
body.tido-public h3,
body.tido-public h4,
body.tido-public h5,
body.tido-public .title,
body.tido-public .content .title,
body.tido-public .x_content .title {
    color: var(--pub-text);
    font-family: "Montserrat", sans-serif;
}

body.tido-public p,
body.tido-public li,
body.tido-public .text-muted,
body.tido-public .note,
body.tido-public .x_content,
body.tido-public .card-body {
    color: var(--pub-muted);
}

body.tido-public .page a:not(.btn):not(.nav-link):not(.card-options-collapse):not(.card-options-remove) {
    color: #d4c4ff;
}

body.tido-public .page a:not(.btn):not(.nav-link):hover {
    color: #ffffff;
}

body.tido-public .form-control,
body.tido-public select.form-control,
body.tido-public input.form-control,
body.tido-public textarea.form-control,
body.tido-public select {
    background: rgba(11, 11, 12, 0.55) !important;
    border: 1px solid var(--pub-line) !important;
    color: #ffffff !important;
    border-radius: 12px;
    box-shadow: var(--pub-shine);
}

body.tido-public .form-control::placeholder {
    color: rgba(160, 174, 192, 0.8);
}

body.tido-public .form-control:focus,
body.tido-public select:focus {
    border-color: rgba(102, 0, 255, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(102, 0, 255, 0.18);
}

body.tido-public option {
    background: #101011;
    color: #ffffff;
}

body.tido-public .card,
body.tido-public .card.card-collapsed {
    background: var(--pub-glass) !important;
    background-color: var(--pub-glass) !important;
    border: 1px solid var(--pub-line) !important;
    border-radius: 18px !important;
    box-shadow: var(--pub-shine), 0 18px 40px rgba(0, 0, 0, 0.28) !important;
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    color: var(--pub-text);
}

body.tido-public .card-header,
body.tido-public .card-body,
body.tido-public .card-footer,
body.tido-public .card-title,
body.tido-public .card .card {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--pub-text) !important;
    border-color: var(--pub-line) !important;
    box-shadow: none !important;
}

body.tido-public .card-options,
body.tido-public .card-options a:not(.btn) {
    color: rgba(255, 255, 255, 0.55) !important;
}

body.tido-public .card-options a:not(.btn):hover {
    color: #ffffff !important;
}

body.tido-public .bg-question {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 8px;
    border-radius: 50%;
    background: rgba(102, 0, 255, 0.22) !important;
    color: #ffffff !important;
    border: 1px solid rgba(102, 0, 255, 0.4);
}

body.tido-public .table,
body.tido-public table,
body.tido-public .table-bordered,
body.tido-public .table-hover {
    color: var(--pub-text) !important;
    background: transparent !important;
    background-color: transparent !important;
}

body.tido-public .table thead th,
body.tido-public .table thead td,
body.tido-public .table th,
body.tido-public table th {
    color: var(--pub-muted) !important;
    border-color: var(--pub-line) !important;
    background: transparent !important;
    background-color: transparent !important;
    font-family: "Inter", sans-serif;
    font-weight: 600;
}

body.tido-public .table td,
body.tido-public .table tbody td,
body.tido-public table td {
    color: var(--pub-text) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    background: transparent !important;
    background-color: transparent !important;
}

body.tido-public .table-bordered,
body.tido-public .table-bordered th,
body.tido-public .table-bordered td {
    border-color: var(--pub-line) !important;
}

body.tido-public .table-hover tbody tr:hover,
body.tido-public .table-hover tbody tr:hover > td,
body.tido-public .table-hover tbody tr:hover > th {
    background: rgba(255, 255, 255, 0.04) !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
    color: var(--pub-text) !important;
}

body.tido-public .page-main .content {
    background: var(--pub-glass);
    border: 1px solid var(--pub-line);
    border-radius: 20px;
    padding: 24px 22px;
    margin-bottom: 8px;
    box-shadow: var(--pub-shine), 0 18px 40px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    color: var(--pub-muted);
}

body.tido-public .page-main .content h1,
body.tido-public .page-main .content h2,
body.tido-public .page-main .content h3,
body.tido-public .page-main .content h4,
body.tido-public .page-main .content .title {
    color: var(--pub-text) !important;
    font-family: "Montserrat", sans-serif;
}

body.tido-public .page-main .content p,
body.tido-public .page-main .content li,
body.tido-public .page-main .content span,
body.tido-public .page-main .content div,
body.tido-public .page-main .content td {
    color: var(--pub-muted);
}

body.tido-public .page-main .content a {
    color: #d4c4ff !important;
}

body.tido-public .page-main .content a:hover {
    color: #ffffff !important;
}

body.tido-public .page-main .content div,
body.tido-public .page-main .content section,
body.tido-public .page-main .content article,
body.tido-public .page-main .content table,
body.tido-public .page-main .content td,
body.tido-public .page-main .content th,
body.tido-public .page-main .content p {
    background: transparent !important;
    background-color: transparent !important;
}

body.tido-public .page-main .content *[style] {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: var(--pub-muted) !important;
    border-color: var(--pub-line) !important;
}

body.tido-public .page-main .content h1[style],
body.tido-public .page-main .content h2[style],
body.tido-public .page-main .content h3[style],
body.tido-public .page-main .content h4[style],
body.tido-public .page-main .content .title[style] {
    color: var(--pub-text) !important;
}

body.tido-public .page-main .content a[style] {
    color: #d4c4ff !important;
}

body.tido-public .page-title .border-line,
body.tido-public .border-line {
    background: var(--pub-gradient) !important;
    background-image: linear-gradient(90deg, #FF5E00 0%, #C400FF 52%, #6600FF 100%) !important;
}

body.tido-public .page-title .border-line::before,
body.tido-public .border-line::before {
    background: #6600FF !important;
    background-image: none !important;
    box-shadow: 0 0 10px rgba(102, 0, 255, 0.45);
}

body.tido-public .data-empty {
    height: auto;
    min-height: 240px;
    color: var(--pub-muted);
}

body.tido-public .data-empty .content {
    padding: 48px 16px 24px;
    background: transparent !important;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.tido-public .data-empty .title {
    color: var(--pub-muted) !important;
}

body.tido-public .api-documentation pre,
body.tido-public pre,
body.tido-public code {
    background: rgba(11, 11, 12, 0.72) !important;
    color: #f3f0ff !important;
    border: 1px solid var(--pub-line);
    border-radius: 12px;
}

body.tido-public .api-documentation .note {
    color: var(--pub-muted);
}

body.tido-public .btn-primary,
body.tido-public .btn-primary:hover,
body.tido-public .btn-primary:focus,
body.tido-public .btn-round.btn-primary {
    background: var(--pub-accent) !important;
    border-color: var(--pub-accent) !important;
    color: #ffffff !important;
    background-image: none !important;
}

body.tido-public .btn-outline-secondary {
    color: #ffffff !important;
    border-color: var(--pub-line) !important;
}

body.tido-public .list-group-item,
body.tido-public .dropdown-menu,
body.tido-public .alert,
body.tido-public .modal-content,
body.tido-public .modal-header,
body.tido-public .modal-body,
body.tido-public .modal-footer {
    background: #101011 !important;
    color: var(--pub-text) !important;
    border-color: var(--pub-line) !important;
}

body.tido-public .modal-title,
body.tido-public .modal-content h1,
body.tido-public .modal-content h2,
body.tido-public .modal-content h3,
body.tido-public .modal-content h4 {
    color: var(--pub-text) !important;
}

body.tido-public .footer,
body.tido-public .footer.footer_top,
body.tido-public .footer.footer_bottom,
body.tido-public footer.footer {
    background: #050505 !important;
    color: var(--pub-muted) !important;
    border-top: 1px solid var(--pub-line);
}

body.tido-public .footer a:not(.btn),
body.tido-public .footer .title,
body.tido-public .footer h4 {
    color: #ffffff !important;
}

body.tido-public .footer-lang-selector {
    background: rgba(16, 16, 17, 0.85);
    color: #ffffff;
    border: 1px solid var(--pub-line);
}

body.tido-public-services .card {
    background: var(--pub-glass-elev) !important;
}

body.tido-public-services .title,
body.tido-public-services .card .title {
    color: var(--pub-text) !important;
}

body.tido-public-services .text-muted {
    color: var(--pub-muted) !important;
}

@media (hover: hover) and (pointer: fine) {
    body.tido-public .header .navbar .navbar-nav .nav-link:hover {
        color: #ffffff !important;
    }

    body.tido-public .card-options a:not(.btn):hover {
        color: #ffffff !important;
    }
}

body.tido-public .page-main .content.tido-legal {
    padding: 28px 26px 32px;
}

body.tido-public .page-main .content.tido-legal h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 1.6rem 0 0.55rem;
}

body.tido-public .page-main .content.tido-legal p,
body.tido-public .page-main .content.tido-legal li {
    font-size: 0.95rem;
    line-height: 1.65;
}

body.tido-public .page-main .content.tido-legal ul {
    margin: 0 0 1rem 1.15rem;
    padding: 0;
}

body.tido-public .page-main .content.tido-legal li {
    margin: 0 0 0.45rem;
}

body.tido-public .page-main .tido-legal-meta {
    color: var(--pub-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

body.tido-public .page-main .tido-legal-switch {
    margin: 0 0 0.85rem;
    font-size: 0.88rem;
}

@media (max-width: 991.98px) {
    body.tido-public {
        background-attachment: scroll;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.tido-public * {
        scroll-behavior: auto !important;
    }

    body.tido-public .border-line::before,
    body.tido-public .page-title .border-line::before {
        animation: none !important;
        -webkit-animation: none !important;
    }
}
