/* *****************************************************
   Ardan Hosting - Boxed WHMCS Theme Custom Stylesheet
   Matching ardanhosting.com Visual Identity
***************************************************** */

:root {
    --white: #ffffff;
    --primary-50: #f0f9ff;
    --primary-100: #e0f2fe;
    --primary-200: #bae6fd;
    --primary-300: #7dd3fc;
    --primary-400: #38bdf8;
    --primary-500: #0ea5e9;
    --primary-600: #0284c7;
    --primary-700: #0369a1;
    --primary-800: #075985;
    --primary-900: #0c4a6e;
    --primary-950: #082f49;

    --primary: #0284c7;
    --primary-lifted: #0369a1;
    --primary-accented: #075985;
    --secondary: #64748b;
    --secondary-lifted: #475569;
    --secondary-accented: #334155;

    --success: #10b981;
    --success-lifted: #059669;
    --success-accented: #047857;

    --info: #0284c7;
    --info-lifted: #0369a1;
    --info-accented: #075985;

    --warning: #f59e0b;
    --warning-lifted: #d97706;
    --warning-accented: #b45309;

    --error: #ef4444;
    --error-lifted: #dc2626;
    --error-accented: #b91c1c;

    --grayscale: #1e242b;
    --grayscale-lifted: #2d333b;
    --grayscale-accented: #3f4752;

    --neutral: #64748b;
    --neutral-lifted: #475569;
    --neutral-accented: #334155;

    --text-inverted: #ffffff;
    --text-muted: #64748b;
    --text-lifted: #475569;
    --text-accented: #334155;
    --text: #1e293b;

    --border-muted: #f1f5f9;
    --border: #e2e8f0;
    --border-lifted: #cbd5e1;
    --border-accented: #94a3b8;

    --bg: #ffffff;
    --bg-muted: #f8fafc;
    --bg-lifted: #f1f5f9;
    --bg-accented: #e2e8f0;
    --bg-inverted: #0284c7;

    --rounding-sm: 0.25rem;
    --rounding-md: 0.5rem;
    --rounding-lg: 0.75rem;

    --accent-green: #00e599;
    --accent-cyan: #38bdf8;
    --dark-slate: #1e242b;
    --darker-slate: #161b22;
    --deep-bg: #11151a;
}

/* Base Body with Outer Pattern */
body {
    background-color: #1b2028 !important;
    background-image: url('../img/bg.png') !important;
    background-repeat: repeat !important;
    background-position: left top !important;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #334155;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Boxed Container */
.wrapper_boxed {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
}

.site_wrapper {
    width: 100%;
    background-color: #ffffff;
    -webkit-box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Top Header Bar */
#topHeader {
    background: #11151a;
    border-bottom: 1px solid #242b35;
    color: #94a3b8;
    font-size: 12px;
    line-height: 36px;
    position: relative;
    z-index: 102;
}

#topHeader a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
}

#topHeader a:hover {
    color: #38bdf8;
}

.tci_list {
    margin: 0;
    padding: 0;
}

.tci_list li {
    display: inline-flex;
    align-items: center;
    line-height: 36px;
}

.tci_list li i {
    color: #38bdf8;
    margin-right: 5px;
    font-size: 13px;
}

.tci_list li.empty.two a {
    color: #cbd5e1;
    font-weight: 600;
}

.tci_list li.empty.two a:hover {
    color: #00e599;
}

.tci_list .social-item a {
    color: #64748b;
    padding: 0 6px;
    font-size: 13px;
}

.tci_list .social-item a:hover {
    color: #00e599;
}

.tci_list li.space {
    width: 14px;
}

/* Header & Navbars */
.header {
    background: #1e242b !important;
    border-bottom: 3px solid #0284c7;
    position: relative;
    z-index: 101;
}

.header .topbar {
    background: #161b22;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 0;
    color: #cbd5e1;
}

.header .topbar .btn {
    color: #cbd5e1;
    font-size: 13px;
}

.header .topbar .btn:hover {
    color: #38bdf8;
}

.header .navbar-light {
    background: #1e242b !important;
    padding: 12px 0;
}

.header .navbar-brand {
    padding: 0;
    margin: 0;
}

.header .navbar-brand img {
    max-height: 42px;
    height: 42px;
    width: auto;
}

.header .search .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 0 4px 4px 0;
}

.header .search .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #0284c7;
    color: #ffffff;
    box-shadow: none;
}

.header .search .btn-default {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-right: none;
    color: #94a3b8;
    border-radius: 4px 0 0 4px;
}

.header .cart-btn {
    color: #e2e8f0 !important;
    font-size: 18px;
    position: relative;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.header .cart-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
}

.header .cart-btn #cartItemCount {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #0284c7;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
}

.header .main-navbar-wrapper {
    background: #161a22 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
}

.header .main-navbar-wrapper .nav-link {
    color: #e2e8f0 !important;
    font-weight: 600;
    font-size: 13.5px;
    padding: 12px 16px !important;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.header .main-navbar-wrapper .nav-link:hover,
.header .main-navbar-wrapper .nav-item.active > .nav-link {
    color: #ffffff !important;
    background-color: #0284c7;
}

.header .main-navbar-wrapper .dropdown-menu {
    background-color: #1e242b !important;
    border: 1px solid #334155;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    margin-top: 0;
    padding: 6px 0;
}

.header .main-navbar-wrapper .dropdown-item {
    color: #cbd5e1 !important;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 18px;
    transition: all 0.15s ease;
}

.header .main-navbar-wrapper .dropdown-item:hover {
    background-color: #0284c7 !important;
    color: #ffffff !important;
    padding-left: 22px;
}

.header .navbar-toggler {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Breadcrumb */
.master-breadcrumb {
    background-color: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 0;
    font-size: 13px;
}

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

.master-breadcrumb a {
    color: #0284c7;
    text-decoration: none;
}

.master-breadcrumb a:hover {
    text-decoration: underline;
}

/* Main Content Area */
#main-body {
    flex: 1 0 auto;
    background-color: #f8fafc;
    padding: 30px 0 45px;
}

.card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    background: #fff;
}

.card-header {
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
    color: #1e293b;
}

.sidebar .card-header {
    background: #1e242b;
    color: #ffffff;
}

.sidebar .list-group-item.active {
    background-color: #0284c7;
    border-color: #0284c7;
}

.list-group-item:hover {
    background-color: #f1f5f9;
}

/* ============================================================
   BUTTONS & CONTRAST FIXES (HIGH CONTRAST & NEVER WHITE-ON-WHITE)
   ============================================================ */

/* Primary Buttons */
body .btn-primary,
button.btn-primary,
a.btn-primary {
    background: #0284c7 !important;
    background-image: linear-gradient(180deg, #0284c7, #0369a1) !important;
    border: 1px solid #0284c7 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 4px rgba(2, 132, 199, 0.3) !important;
    transition: all 0.2s ease !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

body .btn-primary:hover,
body .btn-primary:focus,
body .btn-primary:active {
    background: #0369a1 !important;
    background-image: linear-gradient(180deg, #0369a1, #075985) !important;
    border-color: #075985 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.4) !important;
}

/* Success Buttons & Order Buttons */
body .btn-success,
body a.btn-success,
body button.btn-success,
body #order-standard_cart .products .product footer .btn-order-now,
body #order-standard_cart .btn-order-now,
body .btn-order-now,
body a[id*="order-button"],
body a[id*="-order-btn"],
body a.btn-order {
    background: #10b981 !important;
    background-image: linear-gradient(180deg, #10b981, #059669) !important;
    border: 1px solid #047857 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    padding: 9px 24px !important;
    border-radius: 6px !important;
    display: inline-block !important;
    box-shadow: 0 3px 8px rgba(16, 185, 129, 0.4) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body .btn-success:hover,
body .btn-success:focus,
body .btn-success:active,
body #order-standard_cart .products .product footer .btn-order-now:hover,
body .btn-order-now:hover,
body a[id*="order-button"]:hover {
    background: #059669 !important;
    background-image: linear-gradient(180deg, #059669, #047857) !important;
    border-color: #065f46 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 14px rgba(16, 185, 129, 0.5) !important;
}

body .btn-success i,
body .btn-order-now i,
body a[id*="order-button"] i {
    color: #ffffff !important;
    margin-right: 6px !important;
}

/* Secondary & Default Buttons */
body .btn-default,
body .btn-secondary,
body .btn-light {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    font-weight: 600 !important;
}

body .btn-default:hover,
body .btn-secondary:hover,
body .btn-light:hover {
    background: #e2e8f0 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

/* Outline Buttons */
body .btn-outline-primary {
    color: #0284c7 !important;
    border: 2px solid #0284c7 !important;
    background: transparent !important;
    font-weight: 600 !important;
}

body .btn-outline-primary:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
}

body .btn-outline-secondary {
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
    background: transparent !important;
}

body .btn-outline-secondary:hover {
    background: #475569 !important;
    color: #ffffff !important;
}

/* Checkout & Complete Order Buttons */
body #btnCompleteOrder,
body .btn-checkout,
body #checkout,
body a#btnCheckout {
    background: #10b981 !important;
    background-image: linear-gradient(180deg, #10b981, #059669) !important;
    border: 1px solid #047857 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 12px 28px !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4) !important;
}

/* ============================================================
   ORDERFORM / STORE PRODUCT CARDS ENHANCEMENT
   ============================================================ */

#order-standard_cart .products .product {
    background: #ffffff !important;
    border: 1px solid #dbeafe !important;
    border-top: 3px solid #0284c7 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    padding: 0 !important;
    margin-bottom: 24px !important;
    overflow: hidden !important;
    transition: all 0.25s ease !important;
}

#order-standard_cart .products .product:hover {
    border-color: #0284c7 !important;
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.18) !important;
    transform: translateY(-2px) !important;
}

#order-standard_cart .products .product header {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 14px 18px !important;
    position: relative !important;
    margin: 0 !important;
}

#order-standard_cart .products .product header span {
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    letter-spacing: 0.3px !important;
}

#order-standard_cart .products .product header .qty {
    color: #64748b !important;
    font-size: 12px !important;
}

#order-standard_cart .products .product div.product-desc {
    color: #334155 !important;
    font-size: 12.5px !important;
    line-height: 1.6 !important;
    padding: 16px 18px !important;
}

#order-standard_cart .products .product div.product-desc ul {
    margin: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
}

#order-standard_cart .products .product div.product-desc ul li {
    color: #334155 !important;
    border-bottom: 1px dashed #f1f5f9 !important;
    padding: 5px 0 !important;
    font-size: 12.5px !important;
}

#order-standard_cart .products .product div.product-desc span.feature-value {
    color: #0f172a !important;
    font-weight: 700 !important;
}

#order-standard_cart .products .product footer {
    padding: 16px 18px !important;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    margin: 0 !important;
    float: right !important;
    width: 40% !important;
    text-align: center !important;
}

#order-standard_cart .products .product div.product-pricing {
    margin-bottom: 12px !important;
}

#order-standard_cart .products .product div.product-pricing span.price {
    color: #0284c7 !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    display: block !important;
}

/* Categories Sidebar */
#order-standard_cart .cart-sidebar .card,
.sidebar .card {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

#order-standard_cart .cart-sidebar .card-header,
.sidebar .card-header {
    background: #1e242b !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 12px 18px !important;
    font-size: 14px !important;
}

#order-standard_cart .cart-sidebar .list-group-item {
    color: #334155 !important;
    font-size: 13px !important;
    border-color: #f1f5f9 !important;
    padding: 10px 18px !important;
    transition: all 0.15s ease !important;
}

#order-standard_cart .cart-sidebar .list-group-item:hover {
    background-color: #f0f9ff !important;
    color: #0284c7 !important;
    padding-left: 22px !important;
}

#order-standard_cart .cart-sidebar .list-group-item.active {
    background-color: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Footer Styling */
.footer {
    background: #181d24 !important;
    color: #94a3b8;
    padding: 45px 0 25px;
    border-top: 3px solid #0284c7;
    font-size: 13px;
}

.footer h3.footer-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    position: relative;
}

.footer h3.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: #0284c7;
}

.footer-list li {
    margin-bottom: 9px;
    font-size: 13px;
}

.footer-list li a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s;
}

.footer-list li a:hover {
    color: #38bdf8;
    padding-left: 5px;
}

.footer-list li i {
    color: #0284c7;
    margin-right: 7px;
    font-size: 11px;
}

.footer_sectwo {
    background: #13171d !important;
    border-top: 1px solid #242b35;
    border-bottom: 1px solid #242b35;
    padding: 18px 0;
}

.copyright_info {
    background: #0c0f13 !important;
    padding: 16px 0;
    font-size: 12px;
}

.footer_social_links li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #1e242c;
    color: #94a3b8;
    border-radius: 4px;
    margin-left: 6px;
    transition: all 0.2s;
    text-decoration: none;
}

.footer_social_links li a:hover {
    background: #0284c7;
    color: #ffffff;
    transform: translateY(-2px);
}

.floating-wa-btn a {
    transition: transform 0.2s ease;
}

.floating-wa-btn a:hover {
    transform: scale(1.08);
}

/* Responsive Media Queries */
@media (max-width: 1240px) {
    .wrapper_boxed {
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    .header .main-navbar-wrapper {
        padding: 10px 15px;
    }
}

@media (max-width: 767px) {
    .site_wrapper {
        box-shadow: none;
    }
    #topHeader {
        line-height: 28px;
        padding: 6px 0;
    }
    .tci_list {
        justify-content: center;
        width: 100%;
    }
    .tci_list li {
        line-height: 24px;
        margin: 2px 4px;
    }
    .footer h3.footer-title {
        margin-top: 15px;
    }
    #order-standard_cart .products .product div.product-desc {
        width: 100% !important;
        float: none !important;
    }
    #order-standard_cart .products .product footer {
        width: 100% !important;
        float: none !important;
    }
}
