/*
 * HostingCaptain.com — Custom Stylesheet
 * Extends the Hostiko template with HC-specific styles
 */

/* ============================================================
   FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --hc-primary: #1a1a2e;
    --hc-secondary: #16213e;
    --hc-accent: #2563eb;
    --hc-accent-hover: #1d4ed8;
    --hc-success: #16a34a;
    --hc-text: #374151;
    --hc-text-light: #6b7280;
    --hc-bg-light: #f8fafc;
    --hc-border: #e2e8f0;
    --hc-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.05);
    --hc-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
    --hc-radius: 12px;
    --hc-radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   NAV — CART & AUTH EXTENSIONS
   ============================================================ */
.nav-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--hc-primary);
    text-decoration: none;
    font-size: 18px;
    margin-right: 8px;
    transition: var(--transition);
}

.nav-cart-btn:hover {
    background: var(--hc-accent);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ============================================================
   PRICING CARDS
   ============================================================ */
.hc-pricing-card {
    background: #fff;
    border: 2px solid var(--hc-border);
    border-radius: var(--hc-radius);
    padding: 28px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hc-pricing-card:hover {
    border-color: var(--hc-accent);
    box-shadow: var(--hc-shadow-lg);
    transform: translateY(-6px);
}

.hc-pricing-featured {
    border-color: var(--hc-accent) !important;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15) !important;
}

.hc-pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--hc-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 0 var(--hc-radius) 0 var(--hc-radius);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hc-pricing-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--hc-primary);
    margin-bottom: 4px;
}

.hc-pricing-header p {
    color: var(--hc-text-light);
    font-size: 13px;
    margin-bottom: 0;
}

.hc-pricing-price {
    margin: 20px 0;
    padding: 16px 0;
    border-top: 1px solid var(--hc-border);
    border-bottom: 1px solid var(--hc-border);
}

.hc-pricing-price .price-currency {
    font-size: 22px;
    font-weight: 700;
    color: var(--hc-primary);
    vertical-align: top;
    margin-top: 6px;
    display: inline-block;
}

.hc-pricing-price .price-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--hc-primary);
    line-height: 1;
}

.hc-pricing-price .price-period {
    font-size: 14px;
    color: var(--hc-text-light);
}

.price-inr-note {
    color: var(--hc-text-light);
    font-size: 12px;
    margin-top: 4px;
}

.hc-pricing-features {
    flex: 1;
    margin: 16px 0;
}

.hc-pricing-features li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--hc-text);
    border-bottom: 1px dashed #f0f0f0;
}

.hc-pricing-features li:last-child {
    border-bottom: none;
}

.hc-pricing-features li i {
    margin-right: 8px;
    color: var(--hc-success);
}

/* Server specs (dedicated) */
.hc-server-specs {
    background: var(--hc-bg-light);
    border-radius: var(--hc-radius-sm);
    padding: 12px;
    margin: 12px 0;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--hc-border);
}

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

.spec-label {
    color: var(--hc-text-light);
}

.spec-value {
    font-weight: 600;
    color: var(--hc-primary);
}

/* VPS Benefits */
.vps-benefit-inner-con {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.vps-benefit-box {
    text-align: center;
    padding: 24px 16px;
    background: #fff;
    border-radius: var(--hc-radius);
    box-shadow: var(--hc-shadow);
    transition: var(--transition);
}

.vps-benefit-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--hc-shadow-lg);
}

.vps-benefit-box figure {
    margin-bottom: 12px;
}

.vps-benefit-box figure img {
    max-height: 60px;
}

.vps-benefit-box h6 {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--hc-primary);
}

.vps-benefit-box p {
    font-size: 13px;
    color: var(--hc-text-light);
    margin-bottom: 0;
}

/* ============================================================
   BILLING TOGGLE
   ============================================================ */
.billing-toggle-con {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.toggle-label {
    font-weight: 600;
    font-size: 15px;
    color: var(--hc-text-light);
    cursor: pointer;
    transition: var(--transition);
}

.toggle-label.active {
    color: var(--hc-primary);
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--hc-border);
    transition: .4s;
}

.slider.round {
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

.slider.round:before {
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--hc-accent);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

/* ============================================================
   CART BUTTONS (site-wide)
   ============================================================ */
.btn-primary-hc {
    background: var(--hc-accent);
    color: #fff !important;
    border: 2px solid var(--hc-accent);
    border-radius: 50px;
    font-weight: 600;
    padding: 12px 28px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary-hc:hover {
    background: var(--hc-accent-hover);
    border-color: var(--hc-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

.btn-outline-hc {
    background: transparent;
    color: var(--hc-accent) !important;
    border: 2px solid var(--hc-accent);
    border-radius: 50px;
    font-weight: 600;
    padding: 12px 28px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-outline-hc:hover {
    background: var(--hc-accent);
    color: #fff !important;
    transform: translateY(-2px);
}

.btn-add-to-cart {
    font-size: 14px;
    padding: 12px 20px;
}

/* ============================================================
   FAQ CARDS
   ============================================================ */
.hc-faq-card {
    border: 1px solid var(--hc-border) !important;
    border-radius: var(--hc-radius-sm) !important;
    margin-bottom: 12px !important;
    overflow: hidden;
}

.hc-faq-card .card-header {
    background: #fff;
    border-bottom: none;
    padding: 0;
}

.hc-faq-card .btn-link {
    color: var(--hc-primary);
    font-weight: 600;
    font-size: 15px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    width: 100%;
    text-decoration: none !important;
}

.hc-faq-card .btn-link:hover {
    color: var(--hc-accent);
}

.hc-faq-card .btn-link i {
    flex-shrink: 0;
    transition: var(--transition);
}

.hc-faq-card .btn-link:not(.collapsed) i {
    transform: rotate(180deg);
}

.hc-faq-card .card-body {
    padding: 0 24px 18px;
    color: var(--hc-text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* ============================================================
   CART PAGE
   ============================================================ */
.hc-cart-table {
    background: #fff;
    border-radius: var(--hc-radius);
    box-shadow: var(--hc-shadow);
    overflow: hidden;
}

.hc-cart-table .table {
    margin-bottom: 0;
}

.hc-cart-table thead th {
    background: var(--hc-primary);
    color: #fff;
    border: none;
    padding: 14px 16px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-remove-cart {
    background: none;
    border: none;
    cursor: pointer;
}

.hc-empty-cart {
    padding: 80px 20px;
}

.hc-order-summary {
    background: #fff;
    border-radius: var(--hc-radius);
    padding: 24px;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08) !important;
}

.hc-order-summary h5 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--hc-primary);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--hc-border);
    font-size: 15px;
}

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

.summary-total {
    font-weight: 700;
    font-size: 17px;
    color: var(--hc-primary);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--hc-text-light);
}

.trust-item i {
    font-size: 18px;
}

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.hc-checkout-block {
    background: #fff;
    border-radius: var(--hc-radius);
    padding: 28px;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08) !important;
    margin-bottom: 24px;
}

.hc-checkout-block h4 {
    font-weight: 700;
    color: var(--hc-primary);
    margin-bottom: 20px;
    font-size: 18px;
}

.hc-stripe-input {
    padding: 14px 16px;
    border: 2px solid var(--hc-border);
    border-radius: var(--hc-radius-sm);
    background: #fff;
    transition: border-color 0.3s;
    min-height: 48px;
}

.hc-stripe-input.StripeElement--focus {
    border-color: var(--hc-accent);
}

.hc-stripe-input.StripeElement--invalid {
    border-color: #ef4444;
}

.order-summary-item {
    display: flex;
    flex-direction: column !important;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--hc-border);
}

.order-summary-item:last-child {
    border-bottom: none;
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */

.hc-success-icon {
    font-size: 80px;
    animation: bounceIn 0.8s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hc-order-badge {
    display: inline-block;
    background: var(--hc-bg-light);
    border: 2px solid var(--hc-border);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 16px;
    color: var(--hc-text);
    margin-top: 16px;
}

.hc-thankyou-card {
    background: #fff;
    border-radius: var(--hc-radius);
    padding: 28px;
    box-shadow: var(--hc-shadow);
    margin-bottom: 20px;
}

.hc-next-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.next-step-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-icon span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--hc-accent);
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
}

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-section {
    min-height: 60vh;
}

.hc-auth-card {
    background: #fff;
    border-radius: var(--hc-radius);
    padding: 40px;
    box-shadow: var(--hc-shadow-lg);
}

/* ============================================================
   ACCOUNT PAGES
   ============================================================ */
.hc-account-nav {
    background: #fff;
    border-radius: var(--hc-radius);
    box-shadow: var(--hc-shadow);
    overflow: hidden;
}

.account-avatar {
    margin-bottom: 8px;
}

.hc-account-nav .nav-link {
    color: var(--hc-text);
    padding: 10px 16px;
    border-radius: var(--hc-radius-sm);
    transition: var(--transition);
}

.hc-account-nav .nav-link.active,
.hc-account-nav .nav-link:hover {
    background: var(--hc-bg-light);
    color: var(--hc-accent);
}

.hc-dash-welcome {
    background: linear-gradient(135deg, var(--hc-primary) 0%, #2563eb 100%);
    color: #fff;
    border-radius: var(--hc-radius);
    padding: 28px;
}

.hc-dash-welcome h4 {
    color: #fff;
    margin-bottom: 8px;
}

.hc-dash-welcome p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.hc-stat-card {
    background: #fff;
    border-radius: var(--hc-radius);
    padding: 20px;
    box-shadow: var(--hc-shadow);
    display: flex;
    gap: 16px;
    align-items: center;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--hc-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-info h3 {
    font-weight: 800;
    font-size: 28px;
    margin-bottom: 0;
    color: var(--hc-primary);
}

.stat-info p {
    color: var(--hc-text-light);
    margin-bottom: 0;
    font-size: 13px;
}

.hc-dash-card {
    background: #fff;
    border-radius: var(--hc-radius);
    padding: 24px;
    box-shadow: var(--hc-shadow);
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.quick-action-btn {
    display: block;
    padding: 14px;
    text-align: center;
    background: var(--hc-bg-light);
    border-radius: var(--hc-radius-sm);
    color: var(--hc-text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.quick-action-btn:hover {
    background: var(--hc-accent);
    color: #fff;
    text-decoration: none;
}

/* ============================================================
   ACCOUNT ORDERS (order-summary-like)
   ============================================================ */
.hc-order-card {
    background: #fff;
    border-radius: var(--hc-radius);
    padding: 20px;
    box-shadow: var(--hc-shadow);
    margin-bottom: 16px;
    border-left: 4px solid var(--hc-border);
}

.hc-order-card.status-paid {
    border-left-color: var(--hc-success);
}

.hc-order-card.status-pending {
    border-left-color: #f59e0b;
}

/* ============================================================
   PRICING SPECS (VPS/Dedicated)
   ============================================================ */
.hc-pricing-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: var(--hc-bg-light);
    border-radius: var(--hc-radius-sm);
    padding: 12px;
    margin-top: 12px;
}

.hc-pricing-specs span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--hc-text);
}

.hc-pricing-specs span i {
    color: var(--hc-accent);
    width: 14px;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 991px) {
    .vps-benefit-inner-con {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-actions-grid {
        grid-template-columns: 1fr;
    }

    .hc-pricing-specs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hc-auth-card {
        padding: 24px;
    }

    .hc-checkout-block {
        padding: 20px;
    }

    .trust-badges {
        gap: 12px;
    }

    .vps-benefit-inner-con {
        grid-template-columns: 1fr 1fr;
    }

    .hc-pricing-price .price-amount {
        font-size: 38px;
    }
}

/* ============================================================
   WHY CHOOSE HOSTING CAPTAIN OVERRIDES (prevent counters wrapping)
   ============================================================ */
.why-choose-hostiko-content ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    margin-top: 44px !important;
}

.why-choose-hostiko-content ul li {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    flex: 1 !important;
    min-width: 140px !important;
}

.why-choose-hostiko-content ul li span {
    font-size: 40px !important;
    line-height: 1.2 !important;
    color: var(--accent) !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

.why-choose-hostiko-content ul li small {
    font-size: 14px !important;
    line-height: 1.4 !important;
    color: #ffffff !important;
    /* ensure it matches primary text color of the section (white on blue background) */
    white-space: normal !important;
}

/* ============================================================
   DEDICATED SERVER PRICING CARD OVERRIDES
   ============================================================ */
.dedicated-price-heading .primary-btn button {
    background: transparent !important;
    border: 1px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    border-radius: 25px !important;
    padding: 10px 40px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: 0.3s ease-in-out !important;
    cursor: pointer !important;
    outline: none !important;
}

.dedicated-price-outer-box:hover .dedicated-price-heading .primary-btn button {
    border-color: var(--secondary-color) !important;
    color: var(--secondary-color) !important;
    background: var(--accent) !important;
}

/* ============================================================
   GLOBAL OVERFLOW FIX — prevent horizontal scrollbar
   ============================================================ */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* ============================================================
   HOSTING PAGES — Reduce hero→pricing gap for conversion
   ============================================================ */
.shared-hosting-plans-main-con.padding-top,
.vps-con.padding-top,
.dedicated-price-main-con.padding-top {
    padding-top: 30px !important;
}

.sub-banner-main-con {
    height: auto !important;
    min-height: 360px !important;
    padding: 130px 0 40px !important;
}

@media only screen and (max-width: 991px) {
    .sub-banner-main-con {
        min-height: 280px !important;
        padding: 110px 0 30px !important;
    }
}

/* ============================================================
   CHECKOUT — Billing Cycle Select in Order Summary
   ============================================================ */
.order-cycle-select {
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 6px 30px 6px 12px !important;
    height: auto !important;
    border-radius: 8px !important;
    border: 2px solid #10b981 !important;
    /* Premium green border emphasizing savings */
    background: #ecfdf5 url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23047857'%3e%3cpath d='M7 10l5 5 5-5H7z'/%3e%3c/svg%3e") no-repeat right 8px center/16px !important;
    color: #047857 !important;
    cursor: pointer !important;
    margin-top: 6px !important;
    max-width: 180px !important;
    display: block !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    transition: all 0.2s ease-in-out !important;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.08) !important;
}

.order-cycle-select:hover {
    border-color: #059669 !important;
    background-color: #d1fae5 !important;
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.15) !important;
    transform: translateY(-1px) !important;
}

.order-cycle-select:focus {
    outline: none !important;
    border-color: #059669 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25) !important;
}

.billing-cycle-select {
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 6px 30px 6px 12px !important;
    height: auto !important;
    border-radius: 8px !important;
    border: 2px solid #10b981 !important;
    /* Premium green border emphasizing savings */
    background: #ecfdf5 url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23047857'%3e%3cpath d='M7 10l5 5 5-5H7z'/%3e%3c/svg%3e") no-repeat right 8px center/16px !important;
    color: #047857 !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    transition: all 0.2s ease-in-out !important;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.08) !important;
}

.billing-cycle-select:hover {
    border-color: #059669 !important;
    background-color: #d1fae5 !important;
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.15) !important;
}

.billing-cycle-select:focus {
    outline: none !important;
    border-color: #059669 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25) !important;
}

/* ============================================================
   ADMIN MESSAGES PAGE
   ============================================================ */
.hc-msg-unread td {
    font-weight: 600;
}

.hc-msg-unread {
    background: #f0f7ff;
    border-left: 3px solid var(--hc-accent);
}

.hc-msg-badge-unread {
    display: inline-block;
    background: var(--hc-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
}

/* ============================================================
   PRICING PAGES — Premium dropdown selections
   ============================================================ */
.plan-price-select {
    display: block !important;
    width: 100% !important;
    max-width: 250px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    height: 38px !important;
    border-radius: 8px !important;
    border: 2px solid #2563eb !important;
    /* Premium brand blue border */
    background-color: #ffffff !important;
    color: #1e293b !important;
    padding: 4px 32px 4px 12px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%232563eb' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 14px 10px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.1) !important;
    transition: all 0.2s ease-in-out !important;
    margin: 10px auto 0 !important;
    outline: none !important;
}

.plan-price-select:hover {
    border-color: #1d4ed8 !important;
}

.plan-price-select:focus {
    border-color: #1d4ed8 !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25) !important;
}

/* ============================================================
   FOOTER LOGO UI FIXES — prevent vertical wrapping
   ============================================================ */
.copyright-logo-con {
    flex-wrap: nowrap !important;
}

.copyright-logo-con a {
    flex-shrink: 0 !important;
}

.copyright-logo-con a img {
    max-width: 170px !important;
    height: auto !important;
}

.copyright-logo-con p {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

/* ============================================================
   UPSELL SUGGESTION BANNER HOVER
   ============================================================ */
.upsell-suggest-banner:hover {
    background: #bae6fd !important;
    color: #000000 !important;
    border-color: #0369a1 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(2, 132, 199, 0.1);
}

/* ============================================================
   VPS PAGE MOBILE SPACING — slider-outer gaps
   ============================================================ */
@media only screen and (max-width: 767px) {
    .vps-con.padding-top {
        padding-top: 20px !important;
    }

    .vps-con .slider-box-inner-con {
        padding: 20px 15px !important;
    }

    .slider-outer {
        padding: 20px 10px 10px !important;
    }

    .vps-con .slider-outer {
        margin-bottom: 15px !important;
    }

    .slider-container #slider {
        margin: 0 auto 15px !important;
    }
}

/* ============================================================
   UPSELL SUGGESTION BANNER BASE STYLES
   ============================================================ */
.upsell-suggest-banner {
    display: block;
    width: 100% !important;
    background: #000000 !important;
    border: 1px dashed #0284c7 !important;
    border-radius: 6px !important;
    padding: 8px 14px !important;
    font-size: 11px !important;
    color: #ffffff !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
}

/* Highlight Domain Name Input & Label */
.cart-product-name .item-domain-input,
.order-summary-item .item-domain-input {
    border: 2px solid #0284c7 !important;
    background-color: #f0f9ff !important;
    font-weight: 600 !important;
    color: #0369a1 !important;
    box-shadow: 0 1px 2px rgba(2, 132, 199, 0.05) !important;
    transition: all 0.2s ease-in-out !important;
}

.cart-product-name .item-domain-input:focus,
.order-summary-item .item-domain-input:focus {
    border-color: #0284c7 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25) !important;
    color: #0f172a !important;
}

.cart-product-name .item-domain-input::placeholder,
.order-summary-item .item-domain-input::placeholder {
    color: #93c5fd !important;
}

.cart-product-name label,
.order-summary-item label {
    color: #0369a1 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    margin-bottom: 3px !important;
    display: inline-block !important;
}

/* ============================================================
   MOBILE HEADER NAVBAR LAYOUT UI/UX IMPROVEMENTS
   ============================================================ */
@media only screen and (max-width: 991px) {
    .header-main-con .navbar {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    .header-main-con .navbar-brand {
        margin-right: auto !important;
        flex-shrink: 0 !important;
    }

    .header-main-con .navbar-brand img {
        max-width: 130px !important;
        /* Scale down logo on mobile to leave space */
        height: auto !important;
    }

    .header-main-con .nav-btns {
        display: flex !important;
        align-items: center !important;
        order: 2 !important;
        margin-right: 12px !important;
        flex-shrink: 0 !important;
    }

    .header-main-con .navbar-toggler {
        order: 3 !important;
        margin-left: 0 !important;
        flex-shrink: 0 !important;
        border: none !important;
        padding: 5px !important;
    }

    .header-main-con .navbar-toggler:focus {
        outline: none !important;
        box-shadow: none !important;
    }

    /* Scale down Login / Profile dropdown buttons to fit neatly */
    .header-main-con .nav-btns .secondary-btn a,
    .header-main-con .nav-btns .secondary-btn.dropdown-toggle,
    .header-main-con .nav-btns .dropdown>a.secondary-btn {
        height: 32px !important;
        padding: 4px 12px !important;
        font-size: 12px !important;
        line-height: 22px !important;
        border-radius: 16px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .header-main-con .nav-btns .nav-cart-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
        margin-right: 6px !important;
    }

    .header-main-con .nav-btns .cart-badge {
        width: 15px !important;
        height: 15px !important;
        font-size: 8px !important;
        top: -4px !important;
        right: -4px !important;
    }
}

/* ============================================================
   GLOBAL FOOTER — Centered Copyright & Hidden Social Links
   ============================================================ */
.footer-copyright-con {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

.copyright-logo-con {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

@media only screen and (max-width: 767px) {
    .copyright-logo-con {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .copyright-logo-con a {
        margin-right: 0 !important;
        padding-right: 0 !important;
        border-right: none !important;
    }
}

/* ============================================================
   CHECKOUT PAGE — Reduce sub-banner height on PC devices
   ============================================================ */
@media only screen and (min-width: 992px) {

    .checkout-page .sub-banner-main-con,
    .cart-page .sub-banner-main-con,
    .login-page .sub-banner-main-con,
    .register-page .sub-banner-main-con,
    .dashboard-page .sub-banner-main-con,
    .orders-page .sub-banner-main-con,
    .profile-page .sub-banner-main-con,
    .sub-banner-main-con.sub-banner-short {
        min-height: 300px !important;
        padding: 120px 0 20px !important;
    }

    .checkout-page .sub-banner-main-con .sub-banner-img-con,
    .cart-page .sub-banner-main-con .sub-banner-img-con,
    .login-page .sub-banner-main-con .sub-banner-img-con,
    .register-page .sub-banner-main-con .sub-banner-img-con,
    .dashboard-page .sub-banner-main-con .sub-banner-img-con,
    .orders-page .sub-banner-main-con .sub-banner-img-con,
    .profile-page .sub-banner-main-con .sub-banner-img-con,
    .sub-banner-main-con.sub-banner-short .sub-banner-img-con {
        max-width: 250px !important;
        margin-top: -30px !important;
    }

    .checkout-page .sub-banner-main-con .sub-banner-img-con figure img,
    .cart-page .sub-banner-main-con .sub-banner-img-con figure img,
    .login-page .sub-banner-main-con .sub-banner-img-con figure img,
    .register-page .sub-banner-main-con .sub-banner-img-con figure img,
    .dashboard-page .sub-banner-main-con .sub-banner-img-con figure img,
    .orders-page .sub-banner-main-con .sub-banner-img-con figure img,
    .profile-page .sub-banner-main-con .sub-banner-img-con figure img,
    .sub-banner-main-con.sub-banner-short .sub-banner-img-con figure img {
        max-height: 120px !important;
        width: auto !important;
    }
}

/* ============================================================
   MOBILE RESPONSIVE CART TABLE UI/UX (Collapsing rows to cards)
   ============================================================ */
@media (max-width: 767px) {

    .hc-cart-table table,
    .hc-cart-table tbody,
    .hc-cart-table tr.cart-row,
    .hc-cart-table td {
        display: block !important;
        width: 100% !important;
    }

    .hc-cart-table thead,
    .hc-cart-table tr.upsell-row {
        display: none !important;
    }

    .hc-cart-table tr.cart-row {
        position: relative !important;
        background: #ffffff !important;
        border: 1px solid var(--hc-border) !important;
        border-radius: var(--hc-radius) !important;
        padding: 16px !important;
        margin-bottom: 16px !important;
        box-shadow: var(--hc-shadow) !important;
    }

    .hc-cart-table td {
        border: none !important;
        padding: 8px 0 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        font-size: 14px !important;
    }

    /* Stack the first cell (plan details) vertically */
    .hc-cart-table td:first-child {
        display: block !important;
        text-align: left !important;
        padding-top: 0 !important;
        padding-bottom: 12px !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }

    /* Generate labels dynamically for other fields */
    .hc-cart-table td:nth-child(2):before {
        content: "Billing Cycle" !important;
        font-weight: 700 !important;
        color: var(--hc-text-light) !important;
    }

    .hc-cart-table td:nth-child(3):before {
        content: "Price (USD)" !important;
        font-weight: 700 !important;
        color: var(--hc-text-light) !important;
    }

    .hc-cart-table td:nth-child(4):before {
        content: "Price (INR)" !important;
        font-weight: 700 !important;
        color: var(--hc-text-light) !important;
    }

    /* Floating delete icon in top right corner */
    .hc-cart-table td:last-child {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        width: auto !important;
        padding: 0 !important;
        display: block !important;
    }

    .hc-cart-table td:last-child .btn-remove-cart {
        padding: 6px !important;
        font-size: 16px !important;
    }

    .hc-cart-table td select.billing-cycle-select {
        max-width: 100% !important;
        width: 160px !important;
        text-align: right !important;
    }

    .cart-product-name .item-domain-input {
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* ============================================================
   CHECKOUT PAGE GRID LAYOUT & MOBILE UX REORDER
   ============================================================ */
@media (min-width: 992px) {
    .checkout-grid-container {
        display: grid !important;
        grid-template-columns: 7fr 5fr !important;
        grid-gap: 30px !important;
        align-items: start !important;
        width: 100% !important;
    }

    .grid-billing {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .grid-payment {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }

    .grid-summary {
        grid-column: 2 !important;
        grid-row: 1 / span 2 !important;
        position: sticky !important;
        top: 20px !important;
        z-index: 100 !important;
    }
}

@media (max-width: 991px) {
    .checkout-grid-container {
        display: flex !important;
        flex-direction: column !important;
    }

    .grid-billing {
        order: 1 !important;
    }

    .grid-summary {
        order: 2 !important;
    }

    .grid-payment {
        order: 3 !important;
    }

    /* Stronger shadow and border to clearly differentiate sections on mobile */
    .hc-checkout-block,
    .hc-order-summary {
        border: 1px solid #cbd5e1 !important;
        box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08) !important;
        margin-bottom: 24px !important;
        border-radius: var(--hc-radius) !important;
        padding: 20px !important;
    }
}

/* ============================================================
   CUSTOM CONFIRMATION MODAL (GLASSMORPHISM)
   ============================================================ */
.custom-confirm-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 10000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.2s ease-in-out !important;
}

.custom-confirm-modal.show {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.confirm-modal-backdrop {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(4px) !important;
}

.confirm-modal-content {
    position: relative !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    max-width: 400px !important;
    width: 90% !important;
    padding: 24px !important;
    text-align: center !important;
    animation: modalScale 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    border: 1px solid #cbd5e1 !important;
}

@keyframes modalScale {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.confirm-modal-header h5 {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-top: 8px !important;
    margin-bottom: 12px !important;
}

.confirm-modal-body p {
    font-size: 14px !important;
    color: #475569 !important;
    margin-bottom: 8px !important;
}

.confirm-modal-body small {
    display: block !important;
    font-size: 12px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
}

.confirm-modal-footer {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-top: 20px !important;
}

.confirm-modal-footer .btn {
    padding: 8px 20px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    border-radius: 6px !important;
}

/* Center align cart page upsell text */
.hc-cart-table .upsell-suggest-banner {
    text-align: center !important;
}

/* Ensure Save text in upsell suggestions displays in red */
.upsell-suggest-banner .text-danger {
    color: #dc3545 !important;
}

/* Proceed to Checkout button styling */
#checkout-btn {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 2px solid #10b981 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease-in-out !important;
    display: inline-block !important;
    width: 100% !important;
    text-align: center !important;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.08) !important;
}

#checkout-btn:hover {
    background-color: #d1fae5 !important;
    border-color: #059669 !important;
    color: #047857 !important;
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.15) !important;
    text-decoration: none !important;
}

/* Coupon code input styling */
#coupon_code_input {
    border: 2px solid #10b981 !important;
    background-color: #f0fdf4 !important;
    color: #047857 !important;
    font-weight: 600 !important;
    border-radius: 8px 0 0 8px !important;
    font-size: 13px !important;
    height: auto !important;
    padding: 8px 12px !important;
}

#coupon_code_input:focus {
    border-color: #059669 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2) !important;
    outline: none !important;
}

#coupon_code_input::placeholder {
    color: #6b7280 !important;
}

/* Coupon apply button styling */
#btn-apply-coupon {
    background-color: #ecfdf5 !important;
    border: 2px solid #10b981 !important;
    color: #047857 !important;
    font-weight: 700 !important;
    border-radius: 0 8px 8px 0 !important;
    transition: all 0.2s ease-in-out !important;
    font-size: 13px !important;
    padding: 8px 20px !important;
}

#btn-apply-coupon:hover {
    background-color: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.1) !important;
}

/* Hide yellow CTA builder banner on Checkout page to improve conversion */
.checkout-page .builder-main-con {
    display: none !important;
}

/* Flash message container clear header */
.flash-message-con {
    margin-top: 0 !important;
    position: relative !important;
    z-index: 1000 !important;
}

.has-flash-message .flash-message-con {
    position: absolute !important;
    top: 120px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 1000 !important;
    width: 100% !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.has-flash-message .sub-banner-main-con {
    padding-top: 210px !important;
    transition: padding-top 0.3s ease;
}

.has-flash-message .banner-main-con {
    padding-top: 260px !important;
    transition: padding-top 0.3s ease;
}

.has-flash-message .thankyou-main-con {
    padding-top: 180px !important;
    transition: padding-top 0.3s ease;
}

.sub-banner-main-con,
.banner-main-con,
.thankyou-main-con {
    transition: padding-top 0.3s ease;
}

@media only screen and (max-width: 991px) {
    .has-flash-message .flash-message-con {
        position: absolute !important;
        top: 80px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 1000 !important;
        width: 100% !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .has-flash-message .sub-banner-main-con {
        padding-top: 175px !important;
    }

    .has-flash-message .banner-main-con {
        padding-top: 225px !important;
    }

    .has-flash-message .thankyou-main-con {
        padding-top: 165px !important;
    }
}

/* ============================================================
   VPS PAGE CONFIGURATIONS 2x2 GRID FOR TABLET & PC VIEW
   ============================================================ */
@media only screen and (min-width: 768px) {
    .vps-con .product-con {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px 50px !important;
        justify-items: center !important;
    }

    .vps-con .price_content .smallbox {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 !important;
        border-right: none !important;
        justify-content: flex-start !important;
        padding-left: 20px !important;
    }

    .vps-con .image_holder {
        width: 100% !important;
        justify-content: flex-start !important;
    }
}

/* ============================================================
   CHECKOUT PAGE HIGH-CONTRAST INPUTS AND PLACEHOLDERS
   ============================================================ */
#checkout-form input.form-control,
#checkout-form select.form-control,
#checkout-form textarea.form-control,
.item-domain-input {
    color: #0f172a !important;
    /* Slate-900 (deep blackish-blue) */
    font-weight: 600 !important;
}

#checkout-form input.form-control::placeholder,
#checkout-form textarea.form-control::placeholder,
.item-domain-input::placeholder {
    color: #94a3b8 !important;
    /* Slate-400 (light gray for placeholder) */
    font-weight: 400 !important;
    opacity: 1 !important;
}

#checkout-form input.form-control:-ms-input-placeholder,
.item-domain-input:-ms-input-placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
}

#checkout-form input.form-control::-ms-input-placeholder,
.item-domain-input::-ms-input-placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
}

/* ============================================================
   HEADER NAV — Highlighted Logged-In User Dropdown Name
   ============================================================ */
.header-main-con .nav-btns .dropdown a.secondary-btn.dropdown-toggle {
    color: #ffffff !important;
    border: 1px solid var(--accent) !important;
    background: transparent !important;
    padding: 5px;
    border-radius: 15px;
}

.header-main-con .nav-btns .dropdown a.secondary-btn.dropdown-toggle:hover,
.header-main-con .nav-btns .dropdown a.secondary-btn.dropdown-toggle:focus,
.header-main-con .nav-btns .dropdown.show a.secondary-btn.dropdown-toggle {
    color: var(--secondary-color) !important;
    background: var(--accent) !important;
}

/* ============================================================
   FOOTER — Correct Font Color of Address Text
   ============================================================ */
.footer-contact-info ul li {
    color: #ffffff !important;
}

/* ============================================================
   RESPONSIVE TABLES IN ACCOUNTS SECTION (Prevents single letter wrap on mobile)
   ============================================================ */
.account-section .table-responsive th,
.account-section .table-responsive td {
    white-space: nowrap !important;
}