/* Zazi Digital WHMCS Theme */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --zazi-teal: #0797a8;
    --zazi-light-teal: #86d4d2;
    --zazi-dark: #252d3a;
    --zazi-grey: #f6f8fa;
    --zazi-border: #e3e8ec;
}

body {
    font-family: "Poppins", Arial, sans-serif;
    color: var(--zazi-dark);
    background: #ffffff;
}

/* Header */
section#header,
header.header {
    background: #ffffff;
    border-bottom: 1px solid var(--zazi-border);
    box-shadow: 0 4px 18px rgba(20, 40, 60, 0.06);
}

.logo-img {
    max-height: 65px;
    width: auto;
}

/* Navigation */
.navbar-main {
    background: #ffffff;
    border: 0;
}

.navbar-main .navbar-nav > li > a {
    color: var(--zazi-dark);
    font-weight: 500;
}

.navbar-main .navbar-nav > li > a:hover,
.navbar-main .navbar-nav > li > a:focus {
    color: var(--zazi-teal);
    background: transparent;
}

/* Main headings */
h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", Arial, sans-serif;
    color: var(--zazi-dark);
    font-weight: 600;
}

/* Buttons */
.btn-primary,
.btn-success,
.domain-checker-bg .btn-primary {
    background: var(--zazi-teal);
    border-color: var(--zazi-teal);
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 22px;
    transition: all 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-success:hover,
.btn-success:focus {
    background: #067f8e;
    border-color: #067f8e;
    transform: translateY(-1px);
}

/* Domain search section */
.home-domain-search {
    background: linear-gradient(135deg, #edfafa 0%, #ffffff 100%);
    padding: 65px 20px;
}

.home-domain-search h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 24px;
}

.home-domain-search .form-control {
    border: 1px solid var(--zazi-border);
    border-radius: 8px;
    min-height: 50px;
}

/* Homepage background */
section#main-body {
    background: var(--zazi-grey);
}

/* Cards and shortcuts */
.home-shortcuts .col-md-4,
.home-shortcuts .col-sm-6,
.tiles .tile,
.panel {
    border-radius: 12px;
}

.home-shortcuts .col-md-4 > a,
.home-shortcuts .col-sm-6 > a,
.tiles .tile {
    background: #ffffff;
    border: 1px solid var(--zazi-border);
    box-shadow: 0 8px 24px rgba(20, 40, 60, 0.06);
    transition: all 0.2s ease;
}

.home-shortcuts .col-md-4 > a:hover,
.home-shortcuts .col-sm-6 > a:hover,
.tiles .tile:hover {
    border-color: var(--zazi-light-teal);
    box-shadow: 0 12px 28px rgba(7, 151, 168, 0.12);
    transform: translateY(-3px);
}

/* Links */
a {
    color: var(--zazi-teal);
}

a:hover,
a:focus {
    color: #067f8e;
}

/* Footer */
section#footer,
footer.footer {
    background: var(--zazi-dark);
    color: #ffffff;
    padding-top: 35px;
    padding-bottom: 35px;
}

section#footer a,
footer.footer a {
    color: var(--zazi-light-teal);
}

/* Mobile */
@media (max-width: 767px) {
    .home-domain-search {
        padding: 40px 15px;
    }

    .home-domain-search h2 {
        font-size: 27px;
    }

    .logo-img {
        max-height: 52px;
    }
}/* ==================================================
   ZAZI CUSTOM HOMEPAGE
================================================== */

/* Hide the old WHMCS homepage domain-search section */
.home-domain-search {
    display: none !important;
}

/* Break the homepage out of WHMCS's narrow container */
.zazi-home {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-top: -20px;
    background: #ffffff;
    color: #252d3a;
}

/* Hero */
.zazi-hero {
    padding: 100px 24px;
    text-align: center;
    background:
        radial-gradient(circle at 15% 20%, rgba(134, 212, 210, 0.30), transparent 35%),
        linear-gradient(135deg, #effafa 0%, #ffffff 55%, #f5fbfc 100%);
}

.zazi-hero-content {
    max-width: 940px;
    margin: 0 auto;
}

.zazi-eyebrow,
.zazi-section-heading > span {
    display: inline-block;
    margin-bottom: 14px;
    color: #0797a8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.zazi-hero h1 {
    max-width: 850px;
    margin: 0 auto 22px;
    color: #252d3a;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.16;
}

.zazi-hero p {
    max-width: 720px;
    margin: 0 auto 34px;
    color: #5f6975;
    font-size: 17px;
    line-height: 1.8;
}

.zazi-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.zazi-hero-buttons .btn,
.zazi-portal-actions .btn {
    min-width: 210px;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.zazi-outline-button {
    color: #0797a8 !important;
    background: #ffffff;
    border: 2px solid #0797a8;
}

.zazi-outline-button:hover {
    color: #ffffff !important;
    background: #0797a8;
}

/* Services */
.zazi-services {
    padding: 90px 24px;
    background: #ffffff;
}

.zazi-section-heading {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.zazi-section-heading h2 {
    margin: 0 0 14px;
    font-size: 36px;
}

.zazi-section-heading p {
    color: #66717d;
    font-size: 16px;
}

.zazi-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    max-width: 1120px;
    margin: 0 auto;
}

.zazi-service-card {
    position: relative;
    padding: 42px 34px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e3e8ec;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(26, 51, 67, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.zazi-service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 42px rgba(7, 151, 168, 0.16);
}

.zazi-service-card.featured {
    border: 2px solid #86d4d2;
}

.zazi-card-label {
    position: absolute;
    top: 0;
    right: 0;
    padding: 7px 14px;
    color: #ffffff;
    background: #0797a8;
    border-radius: 0 14px 0 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.zazi-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 26px;
    color: #0797a8;
    background: #e9f9f9;
    border-radius: 14px;
    font-size: 26px;
}

.zazi-service-card h3 {
    margin: 0 0 15px;
    font-size: 23px;
}

.zazi-service-card p {
    min-height: 84px;
    margin-bottom: 20px;
    color: #66717d;
    font-size: 14px;
    line-height: 1.75;
}

.zazi-service-card a {
    color: #0797a8;
    font-weight: 600;
}

/* Customer portal */
.zazi-portal-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1120px;
    margin: 0 auto 80px;
    padding: 55px 60px;
    color: #ffffff;
    background: #252d3a;
    border-radius: 18px;
}

.zazi-portal-copy {
    max-width: 650px;
}

.zazi-portal-copy h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 32px;
}

.zazi-portal-copy p {
    margin: 0;
    color: #d5dbe1;
    line-height: 1.7;
}

.zazi-portal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Trust bar */
.zazi-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px 90px;
}

.zazi-trust > div {
    display: grid;
    grid-template-columns: 46px 1fr;
    padding: 20px 30px;
    border-right: 1px solid #e3e8ec;
}

.zazi-trust > div:last-child {
    border-right: 0;
}

.zazi-trust i {
    grid-row: 1 / 3;
    color: #0797a8;
    font-size: 27px;
}

.zazi-trust strong {
    color: #252d3a;
    font-size: 14px;
}

.zazi-trust span {
    color: #7a8490;
    font-size: 12px;
}

/* Tablet */
@media (max-width: 991px) {
    .zazi-service-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
    }

    .zazi-service-card p {
        min-height: auto;
    }

    .zazi-portal-section {
        margin-right: 24px;
        margin-left: 24px;
        padding: 45px 35px;
        flex-direction: column;
        text-align: center;
    }

    .zazi-portal-actions {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .zazi-hero {
        padding: 70px 20px;
    }

    .zazi-hero h1 {
        font-size: 34px;
    }

    .zazi-services {
        padding: 65px 18px;
    }

    .zazi-section-heading h2 {
        font-size: 29px;
    }

    .zazi-portal-section {
        margin-bottom: 60px;
    }

    .zazi-trust {
        grid-template-columns: 1fr;
        padding-bottom: 60px;
    }

    .zazi-trust > div {
        border-right: 0;
        border-bottom: 1px solid #e3e8ec;
    }

    .zazi-trust > div:last-child {
        border-bottom: 0;
    }
}
/* Responsive WHMCS product-card grid */
#order-standard_cart #products > .row.row-eq-height {
    display: flex;
    flex-wrap: wrap;
}

/* Mobile: one card per row */
#order-standard_cart #products > .row.row-eq-height > .col-md-6 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    float: none;
    display: flex;
}

#order-standard_cart #products .product {
    width: 100%;
}

/* Tablet: two cards per row */
@media (min-width: 768px) {
    #order-standard_cart #products > .row.row-eq-height > .col-md-6 {
        width: 50%;
        max-width: 50%;
        flex: 0 0 50%;
    }
}

/* Desktop: three cards per row */
@media (min-width: 992px) {
    #order-standard_cart #products > .row.row-eq-height > .col-md-6 {
        width: 33.333333%;
        max-width: 33.333333%;
        flex: 0 0 33.333333%;
    }
}
/* Zazi domain search section */
.zazi-domain-search {
    padding: 55px 20px;
    background: #ffffff;
    text-align: center;
}

.zazi-domain-inner {
    max-width: 850px;
    margin: 0 auto;
}

.zazi-domain-search .zazi-section-label {
    display: block;
    margin-bottom: 8px;
    color: #009cad;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.zazi-domain-search h2 {
    margin: 0 0 10px;
    color: #18263d;
    font-size: 30px;
    font-weight: 700;
}

.zazi-domain-search p {
    margin-bottom: 24px;
    color: #667085;
}

.zazi-domain-form {
    display: flex;
    max-width: 720px;
    margin: 0 auto;
    padding: 7px;
    border: 1px solid #d9e2e8;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(24, 38, 61, 0.08);
}

.zazi-domain-form input[type="text"] {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    border: 0;
    outline: 0;
    font-size: 16px;
}

.zazi-domain-form button {
    padding: 14px 24px;
    border: 0;
    border-radius: 7px;
    background: #009cad;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.zazi-domain-form button:hover {
    background: #007f8d;
}

@media (max-width: 600px) {
    .zazi-domain-search {
        padding: 40px 20px;
    }

    .zazi-domain-search h2 {
        font-size: 25px;
    }

    .zazi-domain-form {
        display: block;
        padding: 10px;
    }

    .zazi-domain-form input[type="text"],
    .zazi-domain-form button {
        width: 100%;
    }

    .zazi-domain-form button {
        margin-top: 8px;
    }
}
/* Zazi domain search section */
.zazi-domain-search {
    padding: 55px 20px;
    background: #ffffff;
    text-align: center;
}

.zazi-domain-inner {
    max-width: 850px;
    margin: 0 auto;
}

.zazi-domain-search .zazi-section-label {
    display: block;
    margin-bottom: 8px;
    color: #009cad;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.zazi-domain-search h2 {
    margin: 0 0 10px;
    color: #18263d;
    font-size: 30px;
    font-weight: 700;
}

.zazi-domain-search p {
    margin-bottom: 24px;
    color: #667085;
}

.zazi-domain-form {
    display: flex;
    max-width: 720px;
    margin: 0 auto;
    padding: 7px;
    border: 1px solid #d9e2e8;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(24, 38, 61, 0.08);
}

.zazi-domain-form input[type="text"] {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    border: 0;
    outline: 0;
    font-size: 16px;
}

.zazi-domain-form button {
    padding: 14px 24px;
    border: 0;
    border-radius: 7px;
    background: #009cad;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.zazi-domain-form button:hover {
    background: #007f8d;
}

@media (max-width: 600px) {
    .zazi-domain-search {
        padding: 40px 20px;
    }

    .zazi-domain-search h2 {
        font-size: 25px;
    }

    .zazi-domain-form {
        display: block;
        padding: 10px;
    }

    .zazi-domain-form input[type="text"],
    .zazi-domain-form button {
        width: 100%;
    }

    .zazi-domain-form button {
        margin-top: 8px;
    }
}
.zazi-domain-button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 7px;
    background: #009cad;
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none;
}

.zazi-domain-button:hover {
    background: #007f8d;
    color: #ffffff !important;
    text-decoration: none;
}
/* Zazi: hosting order domain selection */
#order-standard_cart #frmProductDomain .option {
    background: #fff;
    border: 1px solid #dce6e8;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 14px;
}

#order-standard_cart #frmProductDomain .option > label {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #243746;
}

#order-standard_cart #frmProductDomain #domainregister {
    margin-top: 18px;
}

#order-standard_cart #frmProductDomain textarea#message {
    width: 100%;
    min-height: 110px;
    box-sizing: border-box;
    padding: 16px;
    border: 1px solid #b9cdd1;
    border-radius: 10px;
    background: #f8fbfc;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    resize: vertical;
}

#order-standard_cart #frmProductDomain textarea#message:focus {
    outline: 2px solid #009baa;
    outline-offset: 2px;
}

#order-standard_cart #frmProductDomain #btnCheckAvailability {
    min-height: 52px;
    border-radius: 10px;
    background: #009baa;
    border-color: #009baa;
    font-size: 16px;
    font-weight: 600;
}