/* Symfonix overlays on Qore — RTL, Inertia, chatbot, forms */

#goTop {
    z-index: 90;
}

#symfonixbot-launcher-wrap {
    bottom: 90px;
}

html[dir="rtl"] {
    font-family: "Cairo", "Grotesk", system-ui, sans-serif;
}

html[dir="rtl"] body,
html[dir="rtl"] .s-title,
html[dir="rtl"] .font-3,
html[dir="rtl"] .text-body-3 {
    font-family: "Cairo", "Grotesk", system-ui, sans-serif;
}

html[dir="rtl"] .sub-menu {
    left: auto;
    right: 0;
    text-align: right;
}

html[dir="rtl"] .offcanvas.offcanvas-start {
    right: 0;
    left: auto;
    transform: translateX(100%);
}

html[dir="rtl"] .offcanvas.offcanvas-start.show {
    transform: none;
}

.toast-success,
.toast-error,
.toast-info,
.toast-warning {
    opacity: 1 !important;
}

#app .text-danger {
    color: #ff6b6b;
}

.brand-text-logo {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
}

.logo-site img,
.footer-logo img {
    max-height: 40px;
    width: auto;
}

.tf-header .menu-item.is-active > .item-link,
.tf-header .menu-item > .item-link.is-active,
.tf-header .menu-item > .item-link.active,
.nav-mb-item a.is-active,
.nav-mb-item .mb-menu-link.is-active {
    color: var(--text-2);
    opacity: 1;
}

.tf-header .sub-menu_link.active,
.nav-ul-mb .sub-nav-link.active {
    color: var(--primary);
    font-weight: 700;
}

.form-get_in input.error,
.form-get_in textarea.error,
.form-ask input.error {
    border-color: #ff6b6b;
}

.symfonix-cta-form {
    max-width: 560px;
    margin: 0 auto;
}

.symfonix-cta-form .form-content {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.symfonix-cta-form input[type="email"] {
    flex: 1 1 240px;
    min-height: 52px;
    padding: 0 18px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
}

.portal-shell-root #goTop {
    display: none !important;
}

.qore-content {
    color: inherit;
}

.qore-content img {
    max-width: 100%;
    height: auto;
}

.qore-pagination {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 32px;
}

.qore-pagination a,
.qore-pagination span {
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 0 10px;
}

.thm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    color: #fff;
    background: transparent;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.thm-btn:hover:not(:disabled) {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.thm-btn:disabled,
.thm-btn.opacity-50 {
    opacity: 0.55;
    cursor: not-allowed;
}

.auth-page,
.login-one,
.sign-up-one,
.contact-one,
.about-four,
.blog-page,
.blog-details,
.services-details,
.faq-page,
.team-page,
.products-page,
.use-cases-page {
    padding: 72px 0 96px;
}

.auth-page__panel,
.login-one__form,
.sign-up-one__form,
.shop-one__form,
.contact-one__form {
    max-width: 520px;
    margin: 0 auto;
}

.auth-page__header {
    text-align: center;
    margin-bottom: 36px;
}

.auth-page__title {
    margin: 0;
    color: #fff;
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.auth-page__subtitle {
    margin: 14px auto 0;
    max-width: 36ch;
    font-size: 15px;
    line-height: 1.55;
}

.auth-page__body .form-group {
    margin-bottom: 22px;
}

.auth-page__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
    margin-bottom: 0;
}

.auth-page input:not([type="checkbox"]):not([type="radio"]),
.login-one input:not([type="checkbox"]):not([type="radio"]),
.sign-up-one input:not([type="checkbox"]):not([type="radio"]),
.login-one textarea,
.contact-one input:not([type="checkbox"]):not([type="radio"]),
.contact-one textarea,
.shop-one input,
.form-get_in input,
.form-get_in textarea {
    width: 100%;
    min-height: 52px;
    margin-bottom: 0;
    padding: 14px 18px;
    background: var(--bg-2, rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    color: #fff;
}

.auth-page input:not([type="checkbox"]):not([type="radio"]):focus,
.login-one input:not([type="checkbox"]):not([type="radio"]):focus,
.sign-up-one input:not([type="checkbox"]):not([type="radio"]):focus {
    border-color: rgba(255, 255, 255, 0.55);
    outline: none;
}

.auth-page input.error,
.login-one input.error,
.sign-up-one input.error {
    border-color: #ff6b6b;
}

.auth-page .field-error,
.auth-page .text-danger {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #ff6b6b;
}

.auth-page__footer {
    margin-top: 28px;
    text-align: center;
}

.auth-page__footer p {
    margin: 0;
    color: rgba(244, 247, 245, 0.72);
    font-size: 15px;
}

.auth-page__footer a {
    color: #fff;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.auth-page__footer a:hover {
    color: #5997ff;
}

.auth-page .remember-forget {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin: 8px 0 4px;
}

.auth-page .remember-forget .forget a {
    color: rgba(244, 247, 245, 0.78);
    text-decoration: none;
    font-size: 14px;
}

.auth-page .remember-forget .forget a:hover {
    color: #fff;
}

.auth-page .btn-link {
    color: rgba(244, 247, 245, 0.78);
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 0;
    border: 0;
    background: transparent;
}

.auth-page .btn-link:hover {
    color: #fff;
}

.auth-flash {
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.45;
}

.auth-flash--success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #86efac;
}

.auth-flash--error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.password-input-box {
    position: relative;
}

.password-input-box input {
    padding-inline-end: 72px;
}

.password-input-box__toggle {
    position: absolute;
    inset-inline-end: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    min-width: 0;
    min-height: 0;
    height: auto;
    padding: 4px 6px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.password-input-box__toggle:hover:not(:disabled) {
    color: #fff;
}

.password-input-box__toggle:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.checked-box1 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checked-box1 input[type="checkbox"] {
    appearance: auto;
    width: 16px;
    height: 16px;
    min-height: 16px;
    margin: 0;
    accent-color: #5997ff;
}

.checked-box1 label {
    margin: 0;
    color: rgba(244, 247, 245, 0.78);
    font-size: 14px;
    cursor: pointer;
}

.checked-box1 label span {
    display: none;
}

.overlay_body,
.texture_page,
.line_page {
    pointer-events: none;
}

.overlay_body {
    background-image: url("/qore/images/section/star-sky.webp");
}

.texture_page .bg-texture {
    background-image: url("/qore/images/section/texture.webp");
}

.section-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #000;
    color: rgba(244, 247, 245, 0.78);
}

.section-cta .sect-main {
    overflow: hidden;
}

.section-cta .s-img_item img {
    max-width: min(100%, 920px);
    height: auto;
}

.section-cta .s-title,
.section-cta .s-sub_title,
.section-cta .text-body-3,
.section-cta a {
    color: inherit;
}

.section-cta .s-title {
    color: #fff;
}

.section-inner-cta .sect-title {
    padding-top: 64px;
    padding-bottom: 48px;
    text-align: center;
}

.tf-footer {
    position: relative;
    z-index: 2;
    background-color: var(--black, #000);
}

.pagination-item.active {
    color: var(--black, #000);
}

.pagination-item.active::after {
    opacity: 1;
    visibility: visible;
}

.pagination-item--prev .icon {
    transform: rotate(180deg);
}

html[dir="rtl"] .pagination-item--prev .icon {
    transform: none;
}

html[dir="rtl"] .pagination-item:not(.pagination-item--prev) .icon.icon-CaretDoubleRight {
    transform: rotate(180deg);
}

.sb-category a.active {
    color: var(--text-5, #8eb8ff);
    border-color: rgba(255, 255, 255, 0.28);
}

.sb-category a span {
    opacity: 0.7;
}

@media (max-width: 991.98px) {
    .page-blog_content {
        flex-wrap: wrap;
    }

    .page-blog_content .col-left,
    .page-blog_content .col-right {
        width: 100%;
        max-width: none;
    }
}

.section-title__title,
.blog-details__title,
.services-details__title,
.about-four__title {
    color: #fff;
}

.blog-details,
.services-details,
.about-four,
.privacy-policy,
.page-show {
    color: rgba(255, 255, 255, 0.78);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

@media (max-width: 991.98px) {
    .tf-header .box-navigation {
        display: none;
    }
}

html[dir="rtl"] .tf-header .item-link {
    white-space: nowrap;
}

html[dir="rtl"] .form-search .btn_submit {
    right: auto;
    left: 4px;
}

/* WOW sets inline visibility:hidden before animate; never leave content blank */
.wow,
.wow.animated {
    visibility: visible !important;
}

.tf-header .box-navigation .item-link {
    white-space: nowrap;
}

.blog-article .entry_image {
    margin-bottom: 16px;
}

.blog-article .entry_image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    min-height: 0 !important;
}

.blog-article .entry_meta .meta-text {
    color: rgba(244, 247, 245, 0.64);
}

/* Homepage: compact 3-up blog cards instead of stacked full-bleed posts */
.home-blogs .sect-title {
    text-align: center;
    margin-bottom: 32px;
}

.home-blogs__grid {
    gap: 20px;
    align-items: stretch;
}

.home-blogs .blog-article {
    height: 100%;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.home-blogs .blog-article .entry_image {
    margin-bottom: 14px;
}

.home-blogs .blog-article .entry_image img {
    max-height: 200px;
    aspect-ratio: 16 / 10;
}

.home-blogs .blog-article .entry_title {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.home-blogs .blog-article .entry_desc {
    margin-bottom: 14px;
    font-size: 0.92rem;
    -webkit-line-clamp: 2;
}

.home-blogs .blog-article .br-line {
    margin-bottom: 12px;
    margin-top: auto;
}

@media (max-width: 767.98px) {
    .home-blogs__grid {
        grid-template-columns: 1fr;
    }

    .home-blogs .blog-article .entry_image img {
        max-height: 220px;
    }
}

/* Cap oversized CMS / decorative photos on the homepage */
.section-feature .image-with-text {
    max-width: 920px;
}

.section-feature .image-with-text > img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.section-feature .s-img_item img,
.section-how-to .s-img_item img {
    max-width: min(100%, 720px);
    max-height: 420px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.visual-object .image {
    background: transparent !important;
}

.visual-object .image img {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
    margin-inline: auto;
    background: transparent;
}

.section-how-to .image-how_to img {
    display: block;
    width: 100%;
    max-height: 360px;
    height: auto;
    object-fit: contain;
}

/* Legacy CtaTwo / old light newsletter blocks */
.cta-two,
.newsletter-one,
.subscribe-one {
    background: #000 !important;
    color: rgba(244, 247, 245, 0.78);
}

.cta-two h2,
.cta-two h3,
.newsletter-one h2,
.newsletter-one h3,
.subscribe-one h2,
.subscribe-one h3 {
    color: #fff !important;
}
