/* *****************************************************
    ** Custom Stylesheet **
***************************************************** */

/* ===== SYVON footer (clean balanced version) ===== */
.syvon-footer {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    background: linear-gradient(180deg, #0c1530 0%, #0a132a 100%);
    color: rgba(255, 255, 255, .88);
    padding: 70px 0 0;
    margin-top: 80px;
}

.syvon-footer * {
    box-sizing: border-box;
}

.syvon-footer__container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 26px;
}

.syvon-footer__grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 56px;
    align-items: start;
}

/* ===== LEFT SIDE ===== */

.syvon-footer__logo img {
    height: 80px;
    width: auto;
    display: block;
    margin-bottom: 18px;
}

.syvon-footer__desc {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .72);
    max-width: 420px;
    margin: 0 0 26px 0;
}

/* ===== SOCIAL ===== */

.syvon-footer__social {
    display: flex;
    gap: 14px;
    margin-top: 10px;
}

.syvon-social {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: rgba(255, 255, 255, .9) !important;
    transition: transform .15s ease, background .15s ease;
}

.syvon-social:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .20);
}

/* ===== TITLES ===== */

.syvon-footer__title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .4px;
    margin-bottom: 20px;
}

/* ===== LINKS ===== */

.syvon-footer__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    text-decoration: none !important;
    color: rgba(255, 255, 255, .75) !important;
    font-size: 16px;
    line-height: 1.4;
}

.syvon-footer__link i {
    color: rgba(140, 220, 255, .95);
    font-size: 16px;
}

.syvon-footer__link:hover {
    color: #fff !important;
}

/* ===== CONTACT ===== */

.syvon-footer__contact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 16px;
    color: rgba(255, 255, 255, .75);
}

.syvon-footer__contact i {
    color: rgba(140, 220, 255, .95);
    font-size: 16px;
}

.syvon-footer__contact a {
    color: rgba(140, 220, 255, .95) !important;
    text-decoration: none !important;
}

/* ===== BOTTOM ===== */

.syvon-footer__bottom {
    margin-top: 40px;
    background: #ffffff;
    padding: 0px 0;
}

.syvon-footer__bottom-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.syvon-footer__copy {
    color: #667085;
    font-size: 14px;
}

.syvon-footer__totop {
    position: absolute;
    right: 26px;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #1d77d5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none !important;
}

.syvon-footer__totop:hover {
    filter: brightness(1.05);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {

    .syvon-footer__title {
        font-size: 22px;
    }

    .syvon-footer__link,
    .syvon-footer__contact {
        font-size: 15px;
    }
}

@media (max-width: 992px) {

    .syvon-footer__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .syvon-footer__bottom-inner {
        justify-content: flex-start;
    }

    .syvon-footer__totop {
        right: 18px;
    }
}
html,
body {
    height: auto !important;
    min-height: 0 !important;
}

body {
    margin: 0 !important;
    padding: 0 !important;
}

/* Nuimam WHMCS apačios padding/margin, kuris palieka baltą tarpą */
#main-body,
.main-body,
.main-content,
.main-content .container,
.master-container,
.wrapper,
.content-wrapper,
.body-content,
#content,
.container {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    min-height: 0 !important;
}

/* Jeigu WHMCS bando "pratempti" puslapį iki 100vh */
.wrapper,
.master-container,
#main-body {
    height: auto !important;
    min-height: 0 !important;
}

/* Nuimam default WHMCS footer (kad jis nepridėtų tarpo) */
#footer {
    display: none !important;
}

/* Užtikrinam, kad po tavo footer niekas nepaliktų tarpo */
.syvon-footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Kartais tarpas atsiranda dėl paskutinio elemento margin */
.syvon-footer__bottom {
    margin-bottom: 0 !important;
}

.syvon-footer__bottom-inner {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}
/* ===== SYVON Billing Header (no overflow) ===== */
.syvon-billing-header,
.syvon-billing-header * {
    box-sizing: border-box;
}

.syvon-billing-header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.syvon-billing-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.syvon-billing-left {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.syvon-billing-logo img {
    height: 34px;
    width: auto;
    display: block;
    max-width: 100%;
}

/* Desktop layout */
.syvon-billing-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex: 1 1 auto;
    min-width: 0;
    /* labai svarbu flex overflow fix */
}

.syvon-billing-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    /* kad tablet’e nesustumtų už ribų */
    min-width: 0;
}

.syvon-billing-nav a {
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
    opacity: .95;
}

.syvon-billing-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    /* kad tablet’e mygtukai nesistumtų */
    justify-content: flex-end;
    min-width: 0;
}

.syvon-btn {
    border: 0;
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    padding: 10px 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.syvon-btn--ghost {
    background: rgba(29, 119, 213, .10);
    color: #1d77d5;
}

.syvon-btn--primary {
    background: #1d77d5;
    color: #fff;
}

/* Burger (hidden desktop) */
.syvon-billing-burger {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, .10);
    background: #fff;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.syvon-billing-burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #0f172a;
    border-radius: 2px;
}

/* ===== Tablet & Mobile ===== */
@media (max-width: 1100px) {
    .syvon-billing-container {
        flex-wrap: wrap;
    }

    .syvon-billing-burger {
        display: inline-flex;
    }

    /* menu collapsed */
    .syvon-billing-menu {
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding-top: 8px;
    }

    .syvon-billing-menu.is-open {
        display: flex;
    }

    .syvon-billing-nav {
        gap: 10px;
        flex-wrap: wrap;
    }

    .syvon-billing-actions {
        justify-content: flex-start;
        gap: 10px;
    }

    .syvon-btn {
        padding: 10px 12px;
        font-size: 14px;
    }
}

@media (max-width: 520px) {
    .syvon-billing-logo img {
        height: 32px;
    }

    .syvon-btn {
        width: 100%;
        justify-content: center;
    }

    .syvon-billing-actions {
        width: 100%;
    }
}
/* ===== SYVON header layout FIX (logo left, burger right) ===== */
.syvon-billing-header .syvon-billing-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
}

.syvon-billing-header .syvon-billing-left {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    /* tarpas tarp logo ir kitų elementų */
    min-width: 0 !important;
}

.syvon-billing-header .syvon-billing-logo {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

.syvon-billing-header .syvon-billing-logo img {
    height: 34px !important;
    width: auto !important;
    display: block !important;
}

/* ===== SaaS Burger (override Bootstrap icon-bar) ===== */
.syvon-billing-header .navbar-toggle {
    margin: 0 !important;
    margin-left: auto !important;
    float: none !important;

    width: 46px !important;
    height: 46px !important;

    border-radius: 16px !important;
    border: 1px solid rgba(15, 23, 42, .10) !important;
    background: rgba(255, 255, 255, .92) !important;

    box-shadow:
        0 18px 45px rgba(15, 23, 42, .10),
        0 1px 0 rgba(255, 255, 255, .70) inset !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    position: relative !important;
    overflow: hidden !important;
    -webkit-appearance: none !important;
    appearance: none !important;

    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease !important;
}

/* subtilus “glow” kaip SaaS */
.syvon-billing-header .navbar-toggle::after {
    content: "" !important;
    position: absolute !important;
    inset: -20px !important;
    background: radial-gradient(circle at 30% 25%, rgba(29, 119, 213, .20), transparent 55%) !important;
    pointer-events: none !important;
    opacity: .9 !important;
}

.syvon-billing-header .navbar-toggle:hover {
    transform: translateY(-1px) !important;
    border-color: rgba(29, 119, 213, .25) !important;
    box-shadow:
        0 22px 55px rgba(29, 119, 213, .14),
        0 18px 45px rgba(15, 23, 42, .10),
        0 1px 0 rgba(255, 255, 255, .70) inset !important;
}

.syvon-billing-header .navbar-toggle:focus {
    outline: none !important;
}

.syvon-billing-header .navbar-toggle:focus-visible {
    outline: 3px solid rgba(29, 119, 213, .20) !important;
    outline-offset: 2px !important;
}

/* Paslepiam bootstrap brūkšnelius */
.syvon-billing-header .navbar-toggle .icon-bar {
    width: 18px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
    margin: 0 !important;
}

/* Vidurinė linija (naudosim 2-ą icon-bar kaip “real” line per pseudo hack) */
.syvon-billing-header .navbar-toggle .icon-bar:nth-child(2) {
    background: #0f172a !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

/* Viršutinė ir apatinė linijos – piešiam ant mygtuko */
.syvon-billing-header .navbar-toggle::before {
    content: "" !important;
    position: absolute !important;
    width: 18px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: #0f172a !important;

    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, calc(-50% - 7px)) !important;
    transition: transform .18s ease, opacity .18s ease !important;
}

.syvon-billing-header .navbar-toggle span.icon-bar:nth-child(3) {
    /* paliekam kaip “nematomas”, kad bootstrap nepjautų */
}

/* Apatinė linija – pseudo ant mygtuko */
.syvon-billing-header .navbar-toggle i,
.syvon-billing-header .navbar-toggle::marker {
    display: none !important;
}

.syvon-billing-header .navbar-toggle::after {
    /* paliekam glow, bet reikia ir apatinės linijos – todėl apatinę darysim per box-shadow ant middle */
}

/* AUKSINIS triukas: 3 linijos per vieną middle + box-shadow */
.syvon-billing-header .navbar-toggle .icon-bar:nth-child(2) {
    box-shadow: 0 -7px 0 #0f172a, 0 7px 0 #0f172a !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}

/* Kai meniu atidarytas (Bootstrap nuima .collapsed) -> X */
.syvon-billing-header .navbar-toggle:not(.collapsed) .icon-bar:nth-child(2) {
    background: #0f172a !important;
    box-shadow: none !important;
    transform: translate(-50%, -50%) rotate(45deg) !important;
}

.syvon-billing-header .navbar-toggle:not(.collapsed)::before {
    opacity: 1 !important;
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}

/* Mobile dydžiai */
@media (max-width: 520px) {
    .syvon-billing-header .navbar-toggle {
        width: 42px !important;
        height: 42px !important;
        border-radius: 14px !important;
    }

    .syvon-billing-header .navbar-toggle .icon-bar:nth-child(2) {
        width: 16px !important;
    }

    .syvon-billing-header .navbar-toggle::before {
        width: 16px !important;
        transform: translate(-50%, calc(-50% - 6px)) !important;
    }

    .syvon-billing-header .navbar-toggle .icon-bar:nth-child(2) {
        box-shadow: 0 -6px 0 #0f172a, 0 6px 0 #0f172a !important;
    }
}