/*
    =====================================================
    MyChooseHosting Theme Structure (WHMCS Twenty-One)
    =====================================================
*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* 01. Tokens */
:root {
    --bg: #eef2f8;
    --surface: #ffffff;
    --surface-alt: #f2f7ff;
    --text: #10162f;
    --muted: #5b657f;
    --brand: #1f66ff;
    --brand-dark: #0f40bf;
    --accent: #23c7ff;
    --line: #d7e3ff;
    --shadow: 0 18px 40px rgba(19, 20, 43, 0.08);
}

/* 02. Base */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    color: var(--text);
    background: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    line-height: 1.12;
    font-family: "Poppins", sans-serif;
}

#main-body {
    padding-top: 1.5rem;
}

.master-breadcrumb {
    background: transparent;
    border-bottom: 0;
}

.tpl-homepage .master-breadcrumb,
.tpl-homepage .home-domain-search {
    display: none;
}

/* 03. Header + Navbar */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
}

.ionos-header {
    border-bottom: 1px solid #1a1a1a;
    background: #000;
}

.ionos-topbar {
    background: #000;
    color: #fff;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 76px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    flex: 0 0 auto;
}

.logo-image-nav {
    height: 34px;
    width: 34px;
    border-radius: 8px;
}

.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(140deg, var(--brand), #2eb5ff);
    font-weight: 800;
}

.logo-word {
    color: #f4f7ff;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0;
}

.menu-toggle {
    display: none;
    border: 1px solid rgba(209, 224, 255, 0.35);
    color: #e8f1ff;
    background: rgba(255, 255, 255, 0.1);
    padding: 7px 11px;
    border-radius: 10px;
    font-weight: 700;
}

.nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

.nav-actions a {
    color: #fff;
    font-weight: 600;
    font-size: 0.94rem;
    white-space: nowrap;
}

.nav-actions a:hover {
    color: #fff;
}

.nav-user-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
}

.nav-user-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(150, 177, 232, 0.7);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}

.nav-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(208, 223, 255, 0.7);
    background: #1c2f59;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.86rem;
}

.nav-logout-btn {
    border: 1px solid rgba(206, 220, 247, 0.75);
    background: transparent;
    color: #fff;
    border-radius: 8px;
    padding: 0.38rem 0.72rem;
    font-weight: 700;
}

.ionos-subbar {
    background: #e6e6e6;
    border-top: 1px solid #171717;
    border-bottom: 1px solid #cbcbcb;
}

.ionos-main-nav {
    min-height: 42px;
    display: flex;
    align-items: center;
}

.ionos-main-nav .navbar-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ionos-main-nav .navbar-nav > li > a {
    color: #0f1011;
    font-weight: 700;
    font-size: 0.94rem;
    padding: 12px 0;
    padding-right: 0 !important;
    display: inline-flex;
    align-items: center;
}

.ionos-main-nav .navbar-nav > li > a.dropdown-toggle::after {
    display: none;
}

.ionos-main-nav .navbar-nav > li > a:hover {
    color: #000;
}

.ionos-main-nav .dropdown-menu {
    border-radius: 10px;
    border: 1px solid #d5deef;
    box-shadow: var(--shadow);
}

/* 04. Homepage Pricing */
.mc-pricing-home {
    padding: 1.1rem 0 1rem;
}

.mc-pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.mc-pricing-header h1 {
    color: #111b3d;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.mc-billing-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #4a587c;
    font-weight: 700;
    font-size: 1.5rem;
}

.mc-toggle-pill {
    width: 52px;
    height: 30px;
    border-radius: 999px;
    background: #d9e0ed;
    position: relative;
}

.mc-toggle-pill::after {
    content: "";
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 3px;
    left: 3px;
    box-shadow: 0 2px 6px rgba(5, 11, 28, 0.22);
}

.mc-billing-switch strong {
    color: #2d66ff;
}

.mc-pricing-grid {
    align-items: stretch;
}

.mc-plan-card {
    background: #eef3fb;
    border: 1px solid #c6d7fb;
    border-radius: 22px;
    height: 100%;
    overflow: hidden;
    box-shadow: none;
}

.mc-plan-card.is-popular {
    border-color: #2e68de;
    box-shadow: none;
}

.mc-plan-top-badge {
    text-align: center;
    background: linear-gradient(90deg, #1f64e0, #3f88ff);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 8px 11px;
}

.mc-plan-body {
    padding: 21px;
}

.mc-discount-badge {
    float: right;
    border-radius: 999px;
    padding: 4px 10px;
    background: #e2ecff;
    color: #1f58d6;
    font-size: 0.8rem;
    font-weight: 800;
}

.mc-plan-body h2 {
    clear: both;
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

.mc-plan-tagline {
    margin: 6px 0 12px;
    color: #4b6592;
}

.mc-old-price {
    margin: 0;
    color: #7589ad;
    text-decoration: line-through;
}

.mc-price-line {
    display: flex;
    align-items: flex-end;
    gap: 0.2rem;
}

.mc-price {
    font-size: 2.45rem;
    font-weight: 700;
    color: #123476;
}

.mc-per-month {
    color: #35558e;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.mc-free-months {
    margin: 2px 0 0;
    color: #1f58d6;
    font-weight: 700;
}

.mc-limited-deal {
    margin: 12px 0 10px;
    border-radius: 10px;
    background: #dfe8f9;
    color: #1f58d6;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 10px;
}

.mc-plan-button {
    width: 100%;
    border-radius: 12px;
    background: #fff;
    color: #0f46ad;
    border: 1px solid #2a61d8;
    box-shadow: none;
    font-weight: 700;
}

.mc-plan-card.is-popular .mc-plan-button {
    background: #2157cb;
    color: #fff;
    border-color: #2157cb;
}

.mc-renews-text {
    margin: 10px 0 14px;
    color: #5b719a;
    font-size: 0.82rem;
    line-height: 1.5;
    border-bottom: 1px solid #d4dfef;
    padding-bottom: 12px;
}

.mc-plan-features {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 9px;
}

.mc-plan-features li {
    position: relative;
    padding-left: 24px;
    line-height: 1.45;
}

.mc-plan-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: -1px;
    color: #1d6aee;
    font-weight: 700;
}

/* 05. Checkout */
#order-standard_cart.mc-checkout-shell {
    padding: 1.25rem 0 2.25rem;
}

#order-standard_cart.mc-checkout-shell .mc-order-wrap {
    margin-bottom: 1rem;
}

#order-standard_cart.mc-checkout-shell .mc-order-top,
#order-standard_cart.mc-checkout-shell .mc-order-hero,
#order-standard_cart.mc-checkout-shell .already-registered,
#order-standard_cart.mc-checkout-shell #containerExistingUserSignin,
#order-standard_cart.mc-checkout-shell #containerExistingAccountSelect,
#order-standard_cart.mc-checkout-shell #containerNewUserSignup,
#order-standard_cart.mc-checkout-shell .mc-checkout-submit-wrap,
#order-standard_cart.mc-checkout-shell #paymentGatewaysContainer {
    background: #fff;
    border: 1px solid #d5deef;
    border-radius: 16px;
}

#order-standard_cart.mc-checkout-shell .mc-order-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1rem;
    margin-bottom: 0.9rem;
}

#order-standard_cart.mc-checkout-shell .mc-order-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text);
    font-weight: 800;
}

#order-standard_cart.mc-checkout-shell .mc-order-brand img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

#order-standard_cart.mc-checkout-shell .mc-order-cart-link {
    color: var(--brand);
    font-weight: 700;
}

#order-standard_cart.mc-checkout-shell .mc-order-hero {
    padding: 1.1rem 1.25rem;
}

#order-standard_cart.mc-checkout-shell .mc-order-hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
}

#order-standard_cart.mc-checkout-shell .row.mc-checkout-layout {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
}

#order-standard_cart.mc-checkout-shell .cart-body,
#order-standard_cart.mc-checkout-shell .cart-sidebar {
    float: none;
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
}

#order-standard_cart.mc-checkout-shell .cart-body.mc-checkout-left {
    order: 1;
}

#order-standard_cart.mc-checkout-shell .cart-sidebar.mc-checkout-right {
    order: 2;
}

#order-standard_cart.mc-checkout-shell .header-lined h2 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

#order-standard_cart.mc-checkout-shell .mc-checkout-muted {
    color: #5f7096;
    margin-bottom: 0.9rem;
}

#order-standard_cart.mc-checkout-shell .sidebar-collapsed {
    display: none !important;
}

#order-standard_cart.mc-checkout-shell #containerNewUserSignup,
#order-standard_cart.mc-checkout-shell .already-registered,
#order-standard_cart.mc-checkout-shell #containerExistingUserSignin,
#order-standard_cart.mc-checkout-shell #containerExistingAccountSelect,
#order-standard_cart.mc-checkout-shell .mc-checkout-submit-wrap,
#order-standard_cart.mc-checkout-shell #paymentGatewaysContainer {
    padding: 1rem;
    margin-bottom: 1rem;
}

#order-standard_cart.mc-checkout-shell .sub-heading {
    border-top: 1px solid #dce4f3;
    margin-top: 1.25rem;
    margin-bottom: 1.4rem;
}

#order-standard_cart.mc-checkout-shell .sub-heading span {
    color: #142450;
    background: #fff;
    font-weight: 800;
    font-size: 1.05rem;
}

#order-standard_cart.mc-checkout-shell .form-control,
#order-standard_cart.mc-checkout-shell .field {
    border: 1px solid #cdd8ed;
    border-radius: 10px;
    min-height: 46px;
}

#order-standard_cart.mc-checkout-shell .apply-credit-container,
#order-standard_cart.mc-checkout-shell .cc-input-container {
    background: #f5f8fe;
    border: 1px solid #d9e2f3;
    border-radius: 14px;
}

#order-standard_cart.mc-checkout-shell #btnCompleteOrder {
    width: 100%;
    border-radius: 12px;
    border: 0;
    background: #2f65ff;
    color: #fff;
    font-weight: 800;
    padding: 0.9rem 1rem;
}

#order-standard_cart.mc-checkout-shell .mc-checkout-right .panel,
#order-standard_cart.mc-checkout-shell .mc-checkout-right .card-sidebar {
    background: #fff;
    border: 1px solid #d5deef;
    border-radius: 16px;
    overflow: hidden;
}

#order-standard_cart.mc-checkout-shell .mc-checkout-right .panel-heading,
#order-standard_cart.mc-checkout-shell .mc-checkout-right .card-header {
    background: #fff;
    border-bottom: 1px solid #e3e9f6;
}

/* 06. Responsive */
@media (min-width: 1200px) {
    #order-standard_cart.mc-checkout-shell .cart-body.mc-checkout-left {
        width: 67%;
    }

    #order-standard_cart.mc-checkout-shell .cart-sidebar.mc-checkout-right {
        width: 33%;
        position: sticky;
        top: 88px;
        align-self: flex-start;
    }
}

@media (max-width: 980px) {
    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-wrap {
        flex-wrap: wrap;
        align-items: center;
        padding: 10px 0;
    }

    .nav-actions {
        width: 100%;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 12px 14px;
        box-shadow: var(--shadow);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 11px;
        margin-left: 0;
    }

    .nav-actions.show {
        display: flex;
    }

    .nav-actions a,
    .nav-logout-btn {
        color: #1a1b20;
    }

    .ionos-main-nav {
        width: 100%;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 14px;
        box-shadow: var(--shadow);
        display: none;
        margin-bottom: 10px;
    }

    .ionos-main-nav.show {
        display: flex;
    }

    .ionos-main-nav .navbar-nav {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .ionos-main-nav .navbar-nav > li > a {
        color: #1a1b20;
        padding: 2px 0;
    }

    .mc-pricing-header {
        flex-direction: column;
        align-items: flex-start;
    }

    #order-standard_cart.mc-checkout-shell .mc-order-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }
}

@media (max-width: 640px) {
    .logo-word {
        display: none;
    }

    .mc-pricing-header h1 {
        font-size: 1.9rem;
    }

    #order-standard_cart.mc-checkout-shell .mc-order-hero h1,
    #order-standard_cart.mc-checkout-shell .header-lined h2 {
        font-size: 1.6rem;
    }
}
