/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */
.top-left-menu {
    display: flex;
    align-items: center;
}

.top-left-menu a {
    margin-right: 15px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.top-left-menu a:hover {
    color: #28a745;
}

/* Mobile hide */
@media (max-width: 768px) {
    .top-left-menu {
        display: none !important;
    }
}

/* LEFT MENU */
.top-left-menu a {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    margin-right: 15px;
}

.top-left-menu a:hover {
    color: #28a745;
}
/* POPUP FIX */
.offer-popup {
    display: none;
    position: fixed !important;
    z-index: 999999 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}

.offer-box {
    background: #fff;
    width: 90%;
    max-width: 400px;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 22px;
    cursor: pointer;
}

.offer-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #28a745;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
}
/* FORCE MOBILE BOTTOM MENU FIX */
.mobile-bottom-menu {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: #fff !important;
    border-top: 1px solid #ddd;
    display: none;
    justify-content: space-around;
    align-items: center;
    z-index: 999999 !important;
    padding: 8px 0;
}

/* MOBILE ONLY SHOW */
@media (max-width: 992px) {
    .mobile-bottom-menu {
        display: flex !important;
    }

    body {
        padding-bottom: 65px;
    }
}

.mobile-bottom-menu a {
    text-align: center;
    color: #333;
    font-size: 12px;
    text-decoration: none;
}

.mobile-bottom-menu i {
    display: block;
    font-size: 18px;
    margin-bottom: 3px;
}

.mobile-bottom-menu {
    background: #ffffff;
    border-top: 2px solid #198754;
}

/* MOBILE MENU BASE */
.mobile-bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 2px solid #198754;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 99999;
    padding: 8px 0;
}

/* MENU ITEM */
.mobile-bottom-menu .menu-item {
    text-align: center;
    font-size: 12px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ICON */
.mobile-bottom-menu .menu-item i {
    display: block;
    font-size: 18px;
    margin-bottom: 3px;
    transition: 0.3s;
}

/* ACTIVE STYLE (GREEN) */
.mobile-bottom-menu .menu-item.active {
    color: #198754;
}

.mobile-bottom-menu .menu-item.active i {
    color: #198754;
    transform: translateY(-3px) scale(1.1);
}

/* HOVER EFFECT */
.mobile-bottom-menu .menu-item:hover {
    color: #198754;
}

.mobile-bottom-menu .menu-item:hover i {
    transform: translateY(-2px);
}

/* MOBILE ONLY */
@media (min-width: 992px) {
    .mobile-bottom-menu {
        display: none !important;
    }
}

/* BODY SPACE */
@media (max-width: 992px) {
    body {
        padding-bottom: 65px;
    }
}

.mobile-bottom-menu .menu-item.active {
    color: #198754;
    font-weight: 600;
}

.mobile-bottom-menu .menu-item.active i {
    color: #198754;
    transform: translateY(-4px) scale(1.15);
}

.mobile-bottom-menu .menu-item {
    transition: all 0.3s ease;
}

.mobile-bottom-menu .menu-item:active {
    transform: scale(0.9);
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 18px;
    background: #dc3545;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 50%;
}

.mobile-bottom-menu {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.9);
}

.cart-icon-header {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #198754;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 50%;
    line-height: 1;
    min-width: 18px;
    text-align: center;
}

/* HOSTING POPUP MENU */
.hosting-popup {
    display: none;
    position: fixed;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    width: 90%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 99999;
    padding: 10px 0;
}

.hosting-popup a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.hosting-popup a:hover {
    background: #f5f5f5;
    color: #198754;
}

.mobile-bottom-menu .icon-wrapper {
    position: relative;
    display: inline-block;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #198754;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 50%;
}

.mobile-bottom-menu .menu-item span {
    display: block;
    font-size: 12px;
    margin-top: 2px;
}

.mobile-bottom-menu .menu-item {
    text-align: center;
}

/* ICON WRAPPER */
.mobile-bottom-menu .icon-wrapper {
    position: relative;
    display: inline-block;
}

/* BADGE FIX */
.cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #198754;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 50%;
}

/* TEXT FIX (MAIN FIX) */
.mobile-bottom-menu .menu-text {
    display: block;
    font-size: 12px;
    margin-top: 3px;
    color: #333;
}

/* ALIGN FIX */
.mobile-bottom-menu .menu-item {
    text-align: center;
}

.mobile-bottom-menu .menu-item {
    text-align: center;
    font-size: 12px;
    color: #333;
    text-decoration: none;
}

/* icon wrapper */
.mobile-bottom-menu .icon-wrapper {
    position: relative;
    display: inline-block;
}

/* badge */
.cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #198754;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 50%;
}

/* LABEL FIX (MAIN) */
.mobile-bottom-menu .menu-label {
    display: block;
    margin-top: 4px;
    font-size: 12px;
}

.mobile-bottom-menu .menu-item {
    text-align: center;
    font-size: 12px;
    color: #333;
    text-decoration: none;
}

.mobile-bottom-menu .menu-item i {
    display: block;
    font-size: 18px;
    margin-bottom: 3px;
}

/* OFFERS ICON SPECIAL */
.offer-item i {
    color: #ff5722;
    animation: pulse 1.5s infinite;
}

/* GLOW EFFECT */
.offer-item {
    position: relative;
}

.offer-item::after {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: red;
    border-radius: 50%;
    transform: translateX(-50%);
    animation: blink 1s infinite;
}

/* PULSE ANIMATION */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* BLINK DOT */
@keyframes blink {
    0% {opacity: 1;}
    50% {opacity: 0;}
    100% {opacity: 1;}
}

.domain-row {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.domain-row:last-child {
    border-bottom: none;
}

.domain-left {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.price-text {
    font-size: 14px;
    color: #6c757d;
}

.domain-row:hover {
    background: #f8f9fa;
    transition: 0.2s;
}


.offer-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.offer-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin: 0 auto 15px;
    display: block;
}

.offer-tld {
    color: #1a8f3c;
    font-weight: bold;
    margin-bottom: 10px;
}

.offer-price {
    font-size: 22px;
    font-weight: bold;
    color: #222;
}

.offer-price span {
    font-size: 14px;
    text-decoration: line-through;
    color: #888;
    margin-left: 5px;
}

.offer-desc {
    color: #777;
    font-size: 14px;
    margin: 10px 0;
}

.offer-btn {
    display: inline-block;
    margin-top: 15px;
    background: #1a8f3c;
    color: #fff;
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

.offer-btn:hover {
    background: #146c2e;
}

/* ===============================
   DNS TOOL CLEAN FIX
================================*/

/* BOX CENTER */
.dns-box {
    max-width: 900px;
    margin: 60px auto;
    text-align: center;
}

/* FORM INLINE */
.dns-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* INPUT FIX */
.dns-input {
    width: 60% !important;
    max-width: 500px;
    padding: 12px;
    border-radius: 8px;
}

/* BUTTON FIX */
button.dns-btn {
    background: #198754 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 12px 25px !important;
    border: none !important;
    white-space: nowrap;
}

/* FILTER CENTER */
.dns-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 25px 0;
}

/* FILTER BUTTON */
.dns-filters button {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: #f8f9fa;
    cursor: pointer;
}

/* ACTIVE */
.dns-filters button.active,
.dns-filters button:hover {
    background: #198754;
    color: #fff;
    border-color: #198754;
}

/* TABLE HEADER */
.dns-table thead th {
    background: #198754 !important;
    color: #fff !important;
}

/* LOADING */
#loading {
    text-align: center;
    color: #198754;
    margin: 10px 0;
}

@media (max-width: 600px) {
    .dns-form {
        flex-direction: column;
    }

    .dns-input {
        width: 100% !important;
    }

    button.dns-btn {
        width: 100%;
    }
}




/* ==========================================
   ALIHOST - MOBILE FOOTER PAYMENT FIX
   ========================================== */

@media screen and (max-width: 767px) {

    /* Keep footer content above the bottom menu */
    .main-footer {
        padding-bottom: 85px !important;
        overflow: visible !important;
    }

    /* Payment method section */
    .main-footer .payment-methods {
        display: block !important;
        width: 100% !important;
        margin-bottom: 20px !important;
        padding: 0 5px 15px !important;
        box-sizing: border-box !important;
    }

    /* Payment gateway image */
    .main-footer .payment-methods ul {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        align-items: center !important;
        width: 100% !important;
        margin-bottom: 15px !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .main-footer .payment-methods ul li {
        max-width: 100% !important;
        margin-bottom: 10px !important;
    }

    .main-footer .payment-methods ul li img {
        display: block !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }

    /* Prevent fixed navigation from covering footer */
    .mobile-bottom-menu {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 99990 !important;
    }
}
/* AliHost Mobile Footer Spacing Fix */
@media screen and (max-width: 767px) {

    .main-footer {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        overflow: visible !important;
    }

    .main-footer .payment-methods {
        margin-top: 0 !important;
        margin-bottom: 10px !important;
        padding-bottom: 10px !important;
    }

    .main-footer .payment-methods h4 {
        margin-top: 0 !important;
        margin-bottom: 10px !important;
    }

    .main-footer .payment-methods ul {
        margin-bottom: 10px !important;
    }

    .main-footer .payment-methods ul li {
        margin-bottom: 5px !important;
    }

    .mobile-bottom-menu {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 99990 !important;
    }
}