/* Import Little.cloud styles */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
    /* Core colors */
    --si-primary: #4B8BF4;
    --si-secondary: #6c757d;
    --si-success: #28a745;
    --si-info: #17a2b8;
    --si-warning: #ffc107;
    --si-danger: #dc3545;
    
    /* Font family */
    --si-font-family-base: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --si-font-family-heading: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    /* Neutral colors */
    --si-white: #ffffff;
    --si-gray-50: #f8f9fa;
    --si-gray-100: #f1f3f5;
    --si-gray-200: #e9ecef;
    --si-gray-300: #dee2e6;
    --si-gray-400: #ced4da;
    --si-gray-500: #adb5bd;
    --si-gray-600: #6c757d;
    --si-gray-700: #495057;
    --si-gray-800: #343a40;
    --si-gray-900: #212529;
    --si-black: #000000;
    
    /* Dark mode colors */
    --si-dark: #0f1117;
    --si-dark-gray: #1e2028;
    --si-dropdown-bg: #131720;
    
    /* Theme colors */
    --si-body-bg: var(--si-white);
    --si-body-color: var(--si-gray-700);
    --si-nav-link-color: var(--si-gray-300);
    --si-nav-link-hover-color: var(--si-white);
    
    /* Custom properties */
    --navbar-height: 76px;
    --navbar-padding: 1.25rem;
    --header-blur: 10px;
    --card-hover-y: -4px;
    --card-hover-blur: 20px;
    --si-card-spacer-y: 1.5rem;
    --si-card-spacer-x: 1.5rem;
    --si-card-title-spacer-y: 0.75rem;
    --si-card-border-width: 1px;
    --si-card-border-color: #e2e5f1;
    --si-card-border-radius: 0.5rem;
    --si-card-box-shadow: none;
    --si-card-inner-border-radius: calc(0.5rem - 1px);
    --si-card-cap-padding-y: 1.125rem;
    --si-card-cap-padding-x: 1.5rem;
    --si-card-cap-bg: transparent;
    --si-card-height: auto;
    --si-card-bg: #fff;
    --si-card-img-overlay-padding: 1.5rem;
    --si-card-group-margin: 0.75rem;
    --si-navbar-brand-padding-y: 0.5rem;
    --si-navbar-brand-margin-end: 1rem;
    --si-navbar-brand-font-size: 1.375rem;
    --si-navbar-brand-font-weight: 800;
}

/* Core Layout Structure */
html, body {
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: var(--si-font-family-base) !important;
}

body {
    font-family: var(--si-font-family-base) !important;
    color: var(--si-body-color) !important;
    background-color: var(--si-body-bg) !important;
    -webkit-font-smoothing: antialiased !important;
    display: flex !important;
    flex-direction: column !important;
    padding-top: var(--navbar-height) !important;
}

/* Main Content Area - Core Layout */
.main-content {
    flex: 1 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Center content */
}

/* Container Constraints - Apply to all pages */
.main-content > .container,
.main-content > #main-body,
.clientarea #main-body > .container {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 40px !important;
    box-sizing: border-box !important;
}

/* Tab Content Styling */
.tab-content {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 2rem !important;
    box-sizing: border-box !important;
}

/* Client Area Specific Layouts */
.clientarea .tab-content,
.clientarea .card,
.clientarea .tab-pane {
    width: 100% !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 1.5rem !important;
    box-sizing: border-box !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-content > .container,
    .main-content > #main-body,
    .clientarea #main-body > .container,
    .clientarea .tab-content,
    .tab-content {
        padding: 1rem !important;
    }
}

/* Navigation */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1030 !important;
    height: var(--navbar-height) !important;
    background-color: #0B0F19 !important;
    padding: 0 !important;
    transition: background-color 0.3s ease !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.navbar > .container {
    max-width: 1400px !important;
    width: 100% !important;
    padding: 0 2rem !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 100% !important;
}

/* Brand styling */
.navbar-brand {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin-right: 3rem !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    gap: 1rem !important;
    font-weight: var(--si-navbar-brand-font-weight) !important;
    font-size: var(--si-navbar-brand-font-size) !important;
    color: white !important;
}

.navbar-brand:hover {
    color: white !important;
}

.navbar-brand img {
    height: auto !important;
    width: 47px !important;
}

/* Navigation items */
.navbar-nav {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0.5rem !important;
}

.navbar-nav > li {
    position: relative !important;
    margin: 0 0.25rem !important;
    list-style: none !important;
}

.navbar-nav > li > a {
    color: var(--si-nav-link-color) !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
}

.navbar-nav > li > a:hover {
    color: var(--si-nav-link-hover-color) !important;
}

/* Dropdown Styling */
.dropdown-menu {
    background: var(--si-dropdown-bg) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    padding: 0.75rem !important;
    margin-top: 0.5rem !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.dropdown-item {
    color: var(--si-nav-link-color) !important;
    font-weight: 500 !important;
    font-size: 0.9375rem !important;
    padding: 0.75rem 1rem !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.dropdown-item:hover, 
.dropdown-item:focus {
    color: var(--si-nav-link-hover-color) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1) !important;
    margin: 0.5rem 0 !important;
}

.dropdown-menu .nav-item {
    margin: 0 !important;
}

.dropdown-menu i {
    width: 20px !important;
    text-align: center !important;
    margin-right: 0.75rem !important;
    opacity: 0.7 !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .navbar > .container {
        padding: 0 1rem !important;
    }
    
    .navbar-brand {
        margin-right: 0 !important;
    }
}

@media (max-width: 768px) {
    #main-body > .container {
        padding: 20px !important;
    }
}

/* Landing Pages */
.landing-page {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 0 auto !important;
    width: 100% !important;
    margin: 0 !important;
    min-height: calc(100vh - var(--navbar-height)) !important;
}

.landing-page.bg-white {
    background: #fff !important;
}

.landing-page .main-content {
    flex: 1 0 auto !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 40px !important;
    box-sizing: border-box !important;
}

/* CodeGuard Specific Styles */
.landing-page.codeguard {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%) !important;
}

/* Hide CodeGuard's navbar since we have our own */
.landing-page.codeguard nav.navbar.navbar-light.bg-light.navbar-expand-md.p-0,
.landing-page.codeguard .navbar:not(header.header .navbar) {
    display: none !important;
}

/* Adjust content to account for removed navbar */
.landing-page.codeguard .hero {
    padding: 60px 0 !important;
    text-align: center !important;
    margin-top: 0 !important;
}

.landing-page.codeguard .content-block {
    margin-bottom: 40px !important;
}

.landing-page.codeguard .content-block.image-standout {
    margin: 40px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 40px !important;
}

.landing-page.codeguard .content-block img {
    max-width: 100% !important;
    height: auto !important;
}

/* Footer */
.footer {
    flex-shrink: 0 !important;
    width: 100% !important;
    background-color: #1B1E28 !important;
    color: #fff !important;
    padding: 50px 0 !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Responsive */
@media (max-width: 768px) {
    #main-body > .container,
    .landing-page .main-content {
        padding: 20px !important;
    }
    
    .landing-page.codeguard .hero {
        padding: 40px 0 !important;
    }
    
    .landing-page.codeguard .content-block.image-standout {
        flex-direction: column !important;
        gap: 20px !important;
    }
}

/* Container Constraints */
#main-body > .container {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Landing Pages */
.landing-page {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

.landing-page.bg-white {
    background: #fff !important;
}

@media (max-width: 768px) {
    #main-body {
        padding: 20px !important;
    }
}

/* Order Cart Styles */
#order-standard_cart {
    max-width: 90% !important;
    margin: 0 auto !important;
    width: 90% !important;
}

/* Store Product Listing Styles */
.store-page-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

.store-page-container .categories {
    padding-right: 30px !important;
}

.store-page-container .products {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

/* Core styles */
body {
    font-family: "DM Sans", sans-serif;
    color: var(--si-body-color);
    background-color: var(--si-body-bg);
    -webkit-font-smoothing: antialiased;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    padding-top: 76px !important; /* Add padding for fixed navbar */
}

/* Main Body Container */
#main-body {
    flex: 1 0 auto;
    position: relative;
    background: var(--si-body-bg);
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    overflow-x: hidden;
}

/* Primary Content Area */
.primary-content {
    position: relative;
    z-index: 1;
    padding-top: 2rem !important; /* Add padding to content area */
}

/* Container Overrides */
.container {
    position: relative;
    z-index: 2;
}

/* Search Box */
.search-box {
    position: relative;
    min-height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 0 !important;
    margin: -2px 0 0 0 !important;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('https://picsum.photos/1920/1080') center/cover no-repeat !important;
    color: var(--si-white);
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
}

.search-box .container {
    max-width: 1400px !important;
    padding: 0 2rem !important;
    margin: 0 auto !important;
    width: 100%;
}

.search-box .row {
    width: 100%;
    margin: 0 !important;
}

.search-box .col-md-8,
.search-box .col-md-offset-2,
.search-box .col-sm-10,
.search-box .col-sm-offset-1 {
    padding: 0 !important;
    margin: 0 !important;
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
}

.search-box .input-group {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.02);
    border-radius: 0.5rem;
    padding: 0.5rem;
    border: 1px solid #d4d7e5;
}

.search-box .input-group .form-control {
    border: none;
    background: transparent;
    color: white;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    width: 100%;
}

.search-box .input-group .form-control::placeholder {
    color: var(--si-gray-500);
}

.search-box-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: flex-start;
}

.search-box-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.search-box-buttons .btn-primary {
    background-color: var(--si-primary);
    border-color: var(--si-primary);
    color: white;
}

.search-box-buttons .btn-primary:hover {
    background-color: #3a7de6;
    border-color: #3a7de6;
    transform: translateY(-1px);
}

.search-box-buttons .btn-success {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--si-gray-300);
}

.search-box-buttons .btn-success:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-1px);
}

.search-box-text-primary {
	color: #1E90FF !important;
}
.search-box h1 {
    font-size: 4.5rem !important;
    font-weight: 800 !important;
    color: var(--si-white) !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.1 !important;
    text-align: left !important;
    max-width: 800px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Search description text */
.search-box p {
    font-size: 1.125rem !important;
    color: var(--si-white) !important;
    margin-bottom: 2rem !important;
    opacity: 0.9 !important;
    text-align: left !important;
    max-width: 600px !important;
}

/* Domain pricing alignment */
.domain-pricing {
    margin-top: 1.5rem !important;
    color: var(--si-white) !important;
    font-size: 0.9375rem !important;
    text-align: left !important;
    opacity: 0.9 !important;
    max-width: 600px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    align-items: center !important;
}

.tld-pricing {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    font-weight: 500 !important;
}

.domain-pricing a {
    color: var(--si-white) !important;
    text-decoration: none !important;
    opacity: 0.9 !important;
    transition: opacity 0.2s ease !important;
    font-weight: 500 !important;
    margin-left: auto !important;
}

.domain-pricing a:hover {
    opacity: 1 !important;
}

/* Container adjustments */
.search-box .container {
    max-width: 800px;
    padding: 0 1.5rem;
    margin: 0 auto !important;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-box h1 {
        font-size: 3rem !important;
        padding: 0 !important;
    }
    
    .search-box .container {
        padding: 0 1.5rem !important;
    }
    
    .search-box p {
        font-size: 1rem !important;
        padding: 0 !important;
    }
    
    .domain-pricing {
        flex-direction: row !important;
        gap: 0.75rem !important;
        padding: 0 !important;
        justify-content: flex-start !important;
    }
}

@media (max-width: 576px) {
    .search-box h1 {
        font-size: 2.5rem !important;
    }
    
    .domain-pricing {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    .domain-pricing a {
        margin-left: 0 !important;
        margin-top: 0.5rem !important;
    }
}

/* Hide all unnecessary elements that might cause spacing */
.home .announcement-single,
.home .default-content,
.home #main-body > .container > p,
.home #main-body > br,
.home #main-body > .container > br {
    display: none !important;
}

/* Remove any additional spacing */
.home #main-body > .container {
    padding: 0 !important;
    margin: -2px 0 0 0 !important;
    max-width: none !important;
    width: 100% !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--si-font-family-heading) !important;
    font-weight: 700;
    color: var(--si-gray-900);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

/* Login/Sign Up buttons */
.navbar-nav .btn {
    padding: 0.5rem 1.25rem !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    border-radius: 0.375rem !important;
}

.navbar-nav .btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.navbar-nav .btn-primary {
    background: var(--si-primary) !important;
    border-color: var(--si-primary) !important;
}

/* Forms */
.form-control {
    border: 1px solid var(--si-gray-300);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--si-primary);
    box-shadow: 0 0 0 4px rgba(75, 139, 244, 0.1);
}

/* Cards */
.card {
    border-radius: 1rem;
    border: 1px solid var(--si-gray-200);
    background: var(--si-white);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(var(--card-hover-y));
    box-shadow: 0 8px var(--card-hover-blur) rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 2rem;
}

/* Tables */
.table {
    --bs-table-bg: transparent;
    --bs-table-border-color: var(--si-gray-200);
    border-radius: 0.75rem;
    overflow: hidden;
}

.table > thead {
    background-color: var(--si-gray-100);
    font-weight: 600;
}

.table > tbody > tr {
    transition: background-color 0.2s ease;
}

.table > tbody > tr:hover {
    background-color: var(--si-gray-50);
}

/* Gradients and Effects */
.text-gradient {
    background: linear-gradient(to right, var(--si-primary), var(--si-purple), var(--si-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Dark mode */
.dark-mode {
    color-scheme: dark;
    --si-card-border-color: rgba(255, 255, 255, 0.1);
    --si-card-bg: rgba(34, 36, 51, 0.7);
}

.dark-mode body {
    color: var(--si-gray-300);
    background-color: var(--si-dark);
}

.dark-mode .navbar {
    background-color: #0B0F19;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .card {
    background: rgba(30, 32, 40, 0.7);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode h1, .dark-mode h2, .dark-mode h3,
.dark-mode h4, .dark-mode h5, .dark-mode h6 {
    color: var(--si-white);
}

.dark-mode .form-control {
    background-color: rgba(30, 32, 40, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--si-gray-300);
}

/* Theme toggle */
.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.theme-toggle-option {
    padding: 0.375rem 0.75rem;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.theme-toggle-option.active {
    background: var(--si-primary);
    color: var(--si-white);
}

/* Alerts */
.alert {
    border: 0;
}

.alert-success {
    background-color: var(--si-success);
    color: #fff;
}

.alert-danger {
    background-color: var(--si-danger);
    color: #fff;
}

.alert-warning {
    background-color: var(--si-warning);
    color: var(--si-gray-900);
}

.alert-info {
    background-color: var(--si-info);
    color: #fff;
}

/* Links */
a {
    color: var(--bs-primary);
}

a:hover {
    color: var(--bs-primary-dark);
}

/* Homepage Specific Styles */
.home {
    padding: 2rem 0;
}

/* Hero Section */
.hero-section {
    flex: 1;
    background: url('https://picsum.photos/1920/1080') center/cover fixed no-repeat;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

.hero-section .content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
    padding: 2rem 1rem;
}

.hero-section h1 {
    color: #fff;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Domain Search */
.domain-search {
    width: 100%;
}

.domain-search .input-group {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 10px;
    gap: 8px;
}

.domain-search input {
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 12px;
}

.domain-search input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.domain-search .btn {
    padding: 1.25rem 2rem;
    font-weight: 600;
    border-radius: 0.375rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.domain-search .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.domain-prices {
    color: #fff;
    margin-top: 2rem;
}

.domain-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
}

.domain-price .tld {
    font-weight: 600;
}

.domain-price .price {
    opacity: 0.9;
}

.domain-prices a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.domain-prices a:hover {
    opacity: 0.9;
}

/* Quick Links */
.quick-links {
    padding: 80px 0;
    background: var(--bs-body-bg);
}

.quick-link-card {
    display: block;
    text-decoration: none;
    color: var(--bs-body-color);
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    border-color: var(--bs-primary);
    text-decoration: none;
    color: var(--bs-body-color);
}

.quick-link-card i {
    font-size: 2rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
    display: block;
}

.quick-link-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.quick-link-card p {
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
    margin: 0;
}

/* Help & Account Sections */
.help-section,
.account-section {
    padding: 60px 0;
    background: var(--bs-tertiary-bg);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

.help-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--bs-body-color);
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.help-link:hover {
    transform: translateY(-2px);
    color: var(--bs-primary);
    text-decoration: none;
}

.help-link i {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.help-link span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Dark Mode */
[data-bs-theme="dark"] .quick-link-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .help-section,
[data-bs-theme="dark"] .account-section {
    background: rgba(255, 255, 255, 0.02);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 3rem;
    }

    .domain-search .input-group {
        flex-direction: column;
    }

    .domain-search input,
    .domain-search .btn {
        width: 100%;
        margin: 4px 0;
    }

    .domain-prices .d-flex {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

/* Products Section */
.products-section {
    padding: 4rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 1rem;
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Help Section */
.help-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(85,153,255,0.05) 0%, rgba(0,0,0,0) 100%);
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 1rem;
}

@media (max-width: 992px) {
    .help-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .help-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.help-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.help-card:hover {
    transform: translateY(var(--card-hover-y));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.help-card .icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--si-gray-600);
}

.help-card .icon i {
    font-size: 1.5rem;
}

.help-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--si-gray-900);
    margin: 0;
}

/* Dark Mode Overrides */
.dark-mode .product-card,
.dark-mode .help-card {
    background: rgba(34, 36, 51, 0.7);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .product-card h3,
.dark-mode .help-card h3 {
    color: white;
}

.dark-mode .domain-search-form input {
    background: rgba(34, 36, 51, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.dark-mode .help-card {
    background: rgba(34, 36, 51, 0.7);
}

.dark-mode .help-card .icon {
    color: var(--si-gray-400);
}

/* Remove old card-columns styles */
.card-columns.home {
    column-count: 3;
    column-gap: 1.25rem;
    orphans: 1;
    widows: 1;
    margin: 2rem 0;
}

@media (max-width: 991px) {
    .card-columns.home {
        column-count: 2;
    }
}

@media (max-width: 575px) {
    .card-columns.home {
        column-count: 1;
    }
}

/* Update action-icon-btns to match help-grid */
.action-icon-btns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 0 15px;
}

.action-icon-btns a {
    background: var(--si-white);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.dark-mode .action-icon-btns a {
    background: rgba(34, 36, 51, 0.7);
}

/* Section Headings */
.home h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 3rem 0;
    text-align: center;
    background: linear-gradient(to right, var(--si-primary), var(--si-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Dark Mode Specific */
.dark-mode .home .card,
.dark-mode .action-icon-btns a {
    background: rgba(34, 36, 51, 0.7);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .home .card:hover,
.dark-mode .action-icon-btns a:hover {
    background: rgba(34, 36, 51, 0.9);
    border-color: rgba(85, 153, 255, 0.2);
}

.dark-mode .home .card p {
    color: var(--si-gray-400);
}

.dark-mode .action-icon-btns .ico-container {
    background: rgba(85, 153, 255, 0.15);
}

/* Button Overrides for Homepage */
.home .btn-outline-primary {
    border: 2px solid var(--si-primary);
    color: var(--si-primary);
    font-weight: 600;
    padding: 0.75rem 2rem;
}

.home .btn-outline-primary:hover {
    background: var(--si-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(85, 153, 255, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Loading states */
.loading-skeleton {
    background: linear-gradient(
        90deg,
        var(--si-gray-100) 0%,
        var(--si-gray-200) 50%,
        var(--si-gray-100) 100%
    );
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.dark-mode .loading-skeleton {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 100%
    );
}

/* Hide breadcrumb */
.breadcrumb,
.master-breadcrumb,
header.header .breadcrumb {
    display: none !important;
}

/* Homepage overrides */
body.home {
    padding: 0 !important;
    background-color: var(--si-body-bg) !important;
}

.home #main-body {
    margin: 0 !important;
    padding: 0 !important;
}

/* Domain Search Hero Section */
.home .home-domain-search {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 !important;
    margin: -76px 0 0 0 !important;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('https://picsum.photos/1920/1080') center/cover no-repeat !important;
    color: var(--si-white);
    z-index: 1;
}

.home .home-domain-search .container {
    max-width: 800px;
    padding: 0 2rem;
    margin: 76px auto 0 auto;
}

.home .home-domain-search h1 {
    font-size: 4rem !important;
    font-weight: 800 !important;
    color: var(--si-white) !important;
    margin-bottom: 2rem !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

.home .home-domain-search .input-group {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px !important;
    padding: 0.5rem !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-wrap: nowrap !important;
}

.home .home-domain-search .form-control {
    height: 60px !important;
    font-size: 1.25rem !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: none !important;
    color: var(--si-white) !important;
    padding: 0 1.5rem !important;
    border-radius: 8px !important;
    width: auto !important;
    flex: 1 !important;
}

.home .home-domain-search .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.home .home-domain-search .btn {
    padding: 0 2rem !important;
    height: 60px !important;
    font-size: 1.25rem !important;
    margin: 0 0.25rem !important;
    min-width: 120px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.home .home-domain-search .btn-primary {
    background-color: var(--si-primary) !important;
    border-color: var(--si-primary) !important;
    color: var(--si-white) !important;
}

.home .home-domain-search .btn-success {
    background-color: #2ecc71 !important;
    border-color: #2ecc71 !important;
    color: var(--si-white) !important;
}

.home .domain-pricing {
    margin-top: 2rem !important;
    color: var(--si-white) !important;
    font-size: 1.125rem !important;
    text-align: center !important;
}

.home .domain-pricing a {
    color: var(--si-white) !important;
    text-decoration: none !important;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.home .domain-pricing a:hover {
    opacity: 1;
    color: var(--si-white) !important;
}

.home .tld-pricing {
    display: inline-block !important;
    margin: 0 1rem !important;
}

/* Remove any margin/padding from containers */
.home .container {
    width: 100% !important;
    max-width: 1400px !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

.home .home-domain-search + .container {
    padding-top: 4rem !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .home .home-domain-search h1 {
        font-size: 2.5rem !important;
        padding: 0 1rem !important;
    }
    
    .home .home-domain-search .input-group {
        flex-direction: column !important;
        gap: 0.5rem !important;
        padding: 1rem !important;
    }
    
    .home .home-domain-search .form-control,
    .home .home-domain-search .btn {
        width: 100% !important;
        margin: 0 !important;
    }
    
    .home .domain-pricing {
        flex-direction: column !important;
        gap: 1rem !important;
        padding: 0 1rem !important;
    }
    
    .home .tld-pricing {
        margin: 0.5rem 0 !important;
        display: block !important;
    }
}

/* Hide unnecessary elements on homepage */
.home .announcement-single,
.home .default-content {
    display: none !important;
}

/* Homepage Cards */
.home .card-columns {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem !important;
    padding: 4rem !important;
    margin: 0 auto !important;
    max-width: 1400px !important;
    width: 100% !important;
}

.home .card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    height: 100% !important;
    word-wrap: break-word !important;
    background-color: #fff !important;
    border: 1px solid #e2e5f1 !important;
    border-radius: 1rem !important;
    padding: 2rem !important;
    transition: all 0.2s ease-in-out !important;
    margin: 0 !important;
}

.home .card:hover {
    transform: translateY(-4px) !important;
    border-color: var(--si-primary) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

.home .card h3 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #1e2124 !important;
    margin-bottom: 1rem !important;
    line-height: 1.2 !important;
}

.home .card p {
    font-size: 1rem !important;
    color: #6e7681 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.6 !important;
    flex: 1 1 auto !important;
}

.home .card .btn {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #1E90FF !important;
    background: transparent !important;
    border: 1px solid #1E90FF !important;
    border-radius: 0.375rem !important;
    transition: all 0.2s ease-in-out !important;
    text-decoration: none !important;
}

.home .card .btn:hover {
    color: #fff !important;
    background: #1E90FF !important;
    transform: translateY(-2px) !important;
}

/* Icon overrides for specific cards */
.home .card .fa-globe { content: '\f0ac' !important; } /* Domains */
.home .card .fa-server { content: '\f233' !important; } /* Hosting */
.home .card .fa-headset { content: '\f590' !important; } /* Support */
.home .card .fa-cloud { content: '\f0c2' !important; } /* Cloud Solutions */

/* Responsive adjustments */
@media (max-width: 1200px) {
    .home .card-columns {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 992px) {
    .home .card-columns {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 2rem !important;
    }
}

@media (max-width: 576px) {
    .home .card-columns {
        grid-template-columns: 1fr !important;
        padding: 1rem !important;
    }
    
    .card:only-child {
        margin: 1rem !important;
    }
}

/* Dark mode styles */
.dark-mode .home .card {
    background-color: rgba(34, 36, 51, 0.7) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

.dark-mode .home .card h3 {
    color: #fff !important;
}

.dark-mode .home .card p {
    color: #a1a1aa !important;
}

/* Footer Styles */
.footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
    margin: 0 !important;
    padding: 50px 0 80px !important;
    background-color: #1B1E28 !important;
    color: #fff !important;
    font-size: 0.9rem !important;
}

.footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #fff;
    text-decoration: none;
}

.footer h5 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-logo {
    max-height: 47px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: #fff;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    color: #fff;
}

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

.footer-copyright {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #fff;
    font-size: 0.85rem;
}

.footer-copyright p {
    margin: 0;
}

/* Dark Mode Footer */
.dark-mode .footer {
    background-color: #1B1E28;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 60px;
    }
    
    .footer [class^="col-"] {
        margin-bottom: 2rem;
    }
    
    .footer [class^="col-"]:last-child {
        margin-bottom: 0;
    }
}

/* WHMCS Navigation Styles */
header.header .navbar {
    position: absolute !important;
    width: 100% !important;
    z-index: 1000 !important;
    height: var(--navbar-height) !important;
    background-color: #0B0F19 !important;
    padding: 0 !important;
    transition: background-color 0.3s ease !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

header.header .navbar > .container {
    max-width: 1400px !important;
    width: 100% !important;
    padding: 0 2rem !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 100% !important;
}

/* Brand styling */
header.header .navbar-brand {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin-right: 3rem !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    gap: 1rem !important;
    font-weight: 800 !important;
    font-size: 1.35rem !important;
    color: white !important;
}

header.header .navbar-brand:hover {
    color: #fff !important;
}

header.header .navbar-brand img {
    height: 32px !important;
    width: auto !important;
}

header.header .navbar-brand .brand-text {
    font-weight: 800 !important;
    font-size: 1.35rem !important;
    color: white !important;
}

/* Navigation items */
header.header .navbar-nav {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

header.header .navbar-nav > li {
    position: relative !important;
    margin: 0 0.25rem !important;
    list-style: none !important;
}

header.header .navbar-nav > li > a {
    color: var(--si-nav-link-color) !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
}

/* Dropdown styling */
header.header .navbar-nav > li.dropdown > a.dropdown-toggle:after {
    content: '\f107' !important;
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
    margin-left: 0.5rem !important;
    border: none !important;
    vertical-align: middle !important;
}

header.header .navbar-nav > li.dropdown.show > a.dropdown-toggle:after {
    transform: rotate(180deg) !important;
}

/* Dropdown menu */
header.header .dropdown-menu {
    background: rgba(34, 36, 51, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0.75rem !important;
    margin-top: 0.5rem !important;
    padding: 0.5rem !important;
    min-width: 200px !important;
}

header.header .dropdown-menu .dropdown-item {
    color: var(--si-nav-link-color) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease !important;
}

header.header .dropdown-menu .dropdown-item:hover,
header.header .dropdown-menu .dropdown-item:focus {
    color: var(--si-nav-link-hover-color) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Mobile Navigation Styles */
@media (max-width: 991px) {
    /* Mobile Menu Button */
    .navbar-toggler {
        padding: 0.5rem !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 0.5rem !important;
        color: var(--si-nav-link-color) !important;
        margin-left: 1rem !important;
        background: transparent !important;
        transition: all 0.2s ease !important;
    }

    .navbar-toggler:hover {
        background: rgba(255, 255, 255, 0.05) !important;
        border-color: rgba(255, 255, 255, 0.2) !important;
    }

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

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }

    /* Mobile Menu Container */
    .navbar-collapse {
        position: fixed !important;
        top: var(--navbar-height) !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: var(--si-dark) !important;
        padding: 1rem !important;
        overflow-y: auto !important;
        transition: transform 0.3s ease, opacity 0.3s ease !important;
        transform: translateX(-100%) !important;
        opacity: 0 !important;
        z-index: 1029 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }

    .navbar-collapse.show {
        transform: translateX(0) !important;
        opacity: 1 !important;
    }

    /* Mobile Menu Items */
    .navbar-nav {
        padding: 1rem 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .navbar-nav > li {
        margin: 0 !important;
        width: 100% !important;
        border-radius: 0.5rem !important;
        transition: background-color 0.2s ease !important;
    }

    .navbar-nav > li:hover {
        background-color: rgba(255, 255, 255, 0.05) !important;
    }

    .navbar-nav > li > a {
        padding: 1rem !important;
        width: 100% !important;
        color: var(--si-nav-link-color) !important;
        font-weight: 500 !important;
        font-size: 1rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .navbar-nav > li > a:hover {
        color: var(--si-nav-link-hover-color) !important;
    }

    /* Mobile Dropdowns */
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        background: transparent !important;
        border: none !important;
        padding: 0 0 0 1rem !important;
        margin: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .navbar-nav .dropdown-menu .dropdown-item {
        padding: 0.75rem 1rem !important;
        color: var(--si-nav-link-color) !important;
        font-size: 0.9375rem !important;
        border-radius: 0.375rem !important;
    }

    .navbar-nav .dropdown-menu .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.05) !important;
    }

    /* Mobile Dropdown Toggles */
    .navbar-nav .dropdown-toggle::after {
        margin-left: auto !important;
        transition: transform 0.2s ease !important;
    }

    .navbar-nav .show .dropdown-toggle::after {
        transform: rotate(180deg) !important;
    }

    /* Mobile Action Buttons */
    .navbar-nav .btn {
        margin: 0.5rem 1rem !important;
        width: calc(100% - 2rem) !important;
    }

    .navbar-nav .btn-outline-light {
        background: transparent !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: var(--si-nav-link-color) !important;
    }

    .navbar-nav .btn-primary {
        background: var(--si-primary) !important;
        border-color: var(--si-primary) !important;
        color: white !important;
    }

    /* Mobile Menu Dividers */
    .navbar-nav .dropdown-divider {
        border-color: rgba(255, 255, 255, 0.1) !important;
        margin: 0.5rem 0 !important;
    }

    /* Mobile Menu Icons */
    .navbar-nav .nav-link i,
    .navbar-nav .dropdown-item i {
        width: 20px !important;
        margin-right: 0.75rem !important;
        opacity: 0.7 !important;
        font-size: 1rem !important;
    }
}

/* Hide all badges */
header.header .badge,
header.header .navbar .badge,
header.header .navbar-nav .badge,
header.header .dropdown-menu .badge,
header.header .nav-item .badge,
header.header span.badge,
header.header .badge[class*="badge-"] {
    display: none !important;
}

/* Dark mode adjustments */
.dark-mode header.header .navbar {
    background-color: #0B0F19 !important;
}

.dark-mode header.header .dropdown-menu {
    background: rgba(34, 36, 51, 0.95) !important;
}

.dark-mode header.header .dropdown-menu .dropdown-item:hover,
.dark-mode header.header .dropdown-menu .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    header.header .navbar-nav {
        padding: 1rem 0 !important;
    }

    header.header .navbar-nav > li.nav-item {
        margin: 0 !important;
    }

    header.header .navbar-nav .dropdown-menu {
        background: transparent !important;
        border: none !important;
        padding: 0 0 0 1rem !important;
        margin: 0 !important;
    }

    header.header .navbar-nav .dropdown-menu .dropdown-item {
        padding: 0.5rem 1rem !important;
    }

    header.header .navbar-nav .dropdown-menu .dropdown-item:hover,
    header.header .navbar-nav .dropdown-menu .dropdown-item:focus {
        background: transparent !important;
    }
}

/* Hide all badges in navbar - more specific selectors */
header.header .navbar .badge,
header.header .navbar-nav .badge,
header.header .dropdown-menu .badge,
header.header .navbar-nav > li > a .badge,
header.header .navbar-nav > li > a > .badge,
header.header .navbar-nav > li > a > span.badge,
.navbar .badge[class*="badge-"],
.navbar-nav .badge[class*="badge-"],
.dropdown-menu .badge[class*="badge-"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    z-index: -1 !important;
}

/* Ensure proper spacing after main content */
#main-body {
    min-height: calc(100vh - var(--navbar-height)) !important;
    display: flex !important;
    flex-direction: column !important;
}

#main-body > .container {
    flex: 1 0 auto !important;
}

.global-footer {
    flex-shrink: 0 !important;
}

/* Show footer on all pages */
.home .global-footer,
.announcements .global-footer,
.clientarea .global-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Only hide non-essential content on homepage */
.home #main-body > .container > *:not(.home-domain-search):not(.card-columns):not(.global-footer) {
    display: none !important;
}

/* Footer Visibility Fix */
.footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
    margin: 0 !important;
    padding: 50px 0 80px !important;
    background-color: #1B1E28 !important;
    color: #fff !important;
    font-size: 0.9rem !important;
}

/* Ensure proper page structure */
html, body {
    min-height: 100vh !important;
}

body {
    display: flex !important;
    flex-direction: column !important;
}

#main-body {
    flex: 1 0 auto !important;
}

.footer {
    flex-shrink: 0 !important;
}

/* Order Cart Styles */
#order-standard_cart {
    padding: 40px !important;
    max-width: 90% !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
    width: 90% !important;
}

@media (max-width: 768px) {
    #order-standard_cart {
        padding: 20px !important;
    }
}

/* Store Product Listing Styles */
.store-page-container {
    padding: 40px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.store-page-container .categories {
    padding-right: 30px !important;
}

.store-page-container .products {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

@media (max-width: 768px) {
    .store-page-container {
        padding: 20px !important;
    }
    
    .store-page-container .categories {
        padding-right: 0 !important;
        margin-bottom: 20px !important;
    }
}

/* WHMCS Landing Pages */
.landing-page {
    padding-top: 76px !important; /* Match navbar height */
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
}

.landing-page.bg-white {
    background: #fff !important;
}

.landing-page .main-content {
    flex: 1 !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 40px !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .landing-page .main-content {
        padding: 20px !important;
    }
}

/* WHMCS Product Landing Pages */
.landing-page.codeguard,
.landing-page.mail-services,
.landing-page[class*="bg-white"] {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%) !important;
}

/* Hide all product landing page navbars since we have our own */
.landing-page nav.navbar.navbar-light,
.landing-page nav.navbar.navbar-expand-md,
.landing-page .navbar:not(header.header .navbar) {
    display: none !important;
}

/* Adjust content for all product landing pages */
.landing-page .hero {
    padding: 60px 0 !important;
    text-align: center !important;
    margin-top: 0 !important;
}

.landing-page .content-block {
    margin-bottom: 40px !important;
}

.landing-page .content-block.image-standout {
    margin: 40px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 40px !important;
}

.landing-page .content-block img {
    max-width: 100% !important;
    height: auto !important;
}

@media (max-width: 768px) {
    .landing-page .hero {
        padding: 40px 0 !important;
    }
    
    .landing-page .content-block.image-standout {
        flex-direction: column !important;
        gap: 20px !important;
    }
}

/* Single Card Pages */
body.page-type-full {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    padding-top: var(--navbar-height) !important;
}

.page-type-full #main-body {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 2rem !important;
}

.page-type-full #main-body > .container,
.announcements #main-body > .container,
.contact #main-body > .container {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding: 2rem !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

/* Single Card Display */
.page-type-full .card:only-child,
.announcements .card,
.contact .card,
.knowledgebase .card:only-child {
    width: 90vw !important;
    align-self: center !important;
    max-width: 800px !important;
    margin: 2rem auto !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    background: var(--si-white) !important;
    border: 1px solid var(--si-card-border-color) !important;
    border-radius: var(--si-card-border-radius) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02) !important;
    overflow: hidden !important;
}

/* Preserve Homepage Card Grid */
.home .card-columns .card {
    width: 100% !important;
    align-self: stretch !important;
}

/* Preserve Store Cards */
.store-page-container .card {
    width: 100% !important;
    align-self: stretch !important;
    margin-bottom: 1.5rem !important;
}

/* Dark mode adjustments */
.dark-mode .page-type-full .card:only-child,
.dark-mode .announcements .card,
.dark-mode .contact .card,
.dark-mode .knowledgebase .card:only-child {
    background-color: rgba(34, 36, 51, 0.7) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-type-full .card:only-child,
    .announcements .card,
    .contact .card,
    .knowledgebase .card:only-child {
        margin: 1rem auto !important;
        padding: 1.5rem !important;
    }
}

/* Login Form Styling */
.login-form .card {
    max-width: 540px;
    margin: 2rem auto;
    border-radius: 1.25rem !important;
    border: none !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05) !important;
}

.login-form .card-body.extra-padding {
    padding: 2.5rem;
}

.login-form h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--si-gray-900);
    margin-bottom: 0.75rem;
}

.login-form p.text-muted {
    font-size: 1.125rem;
    color: var(--si-gray-600) !important;
    margin-bottom: 2rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--si-gray-700);
    margin-bottom: 0.5rem;
}

.login-form .input-group {
    border: 1px solid #d4d7e5;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    background: #fff;
}

.login-form .input-group:focus-within {
    border-color: rgba(85, 153, 255, 0.35);
    box-shadow: 0 0.5rem 1.125rem -0.5rem rgba(85, 153, 255, 0.2);
}

.login-form .input-group-text {
    background: none;
    border: none;
    color: #b4b7c9;
    padding-left: 1.25rem;
}

.login-form .form-control {
    border: none;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    box-shadow: none;
    height: 3.25rem;
    background: transparent;
}

.login-form .form-control:focus {
    box-shadow: none;
}

.login-form .btn-reveal-pw {
    border: none;
    background: none;
    color: #b4b7c9;
    padding-right: 1.25rem;
}

.login-form .btn-reveal-pw:hover {
    color: #565973;
}

/* Login Button Styling */
.login-form .btn-primary {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    font-weight: 600;
    background: #1E90FF;
    border: none;
    border-radius: 0.375rem;
    height: 3.25rem;
    transition: all 0.2s ease;
    margin: 1.5rem 0;
}

.login-form .btn-primary:hover {
    background: #4B8BF4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(75, 139, 244, 0.25);
}

.login-form .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(75, 139, 244, 0.15);
}

/* Remember Me and Forgot Password */
.login-form .form-check {
    margin: 0;
    display: flex;
    align-items: center;
}

.login-form .form-check-input {
    margin-right: 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #d4d7e5;
    width: 1.125rem;
    height: 1.125rem;
}

.login-form .form-check-label {
    font-size: 0.9375rem;
    color: var(--si-gray-600);
    font-weight: 500;
}

.login-form .forgot-password {
    text-align: right;
}

.login-form .forgot-password a {
    font-size: 0.9375rem;
    color: var(--si-gray-600);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.login-form .forgot-password a:hover {
    color: var(--si-primary);
}

/* Google Sign In Button */
.login-form .google-signin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--si-gray-700);
    background: #fff;
    border: 1px solid #d4d7e5;
    border-radius: 0.375rem;
    height: 3.25rem;
    transition: all 0.2s ease;
    text-decoration: none;
    margin-bottom: 2rem;
}

.login-form .google-signin:hover {
    background: #f8f9fa;
    border-color: #c8ccd5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.login-form .google-signin img {
    margin-right: 0.75rem;
    width: 1.5rem;
    height: 1.5rem;
}

/* Divider */
.login-form .divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    color: var(--si-gray-500);
}

.login-form .divider::before,
.login-form .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e5f1;
}

.login-form .divider span {
    margin: 0 1rem;
    font-size: 0.9375rem;
    color: var(--si-gray-500);
}

/* Dark mode support */
.dark-mode .login-form .card {
    background: rgba(34, 36, 51, 0.7);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .login-form h1 {
    color: #fff;
}

.dark-mode .login-form p.text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.dark-mode .login-form label {
    color: rgba(255, 255, 255, 0.9);
}

.dark-mode .login-form .input-group {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.dark-mode .login-form .form-control {
    color: white;
}

.dark-mode .login-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.dark-mode .login-form .google-signin {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.dark-mode .login-form .google-signin:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dark-mode .login-form .form-check-input {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.dark-mode .login-form .form-check-label {
    color: rgba(255, 255, 255, 0.7);
}

.dark-mode .login-form .divider::before,
.dark-mode .login-form .divider::after {
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .login-form .divider span {
    color: rgba(255, 255, 255, 0.5);
}

/* 404 Error Page */
.error-page {
    min-height: calc(100vh - var(--navbar-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #FAFBFF;
}

.error-page .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-page .error-content {
    text-align: left;
    max-width: 600px;
}

.error-page h1 {
    font-size: 5rem;
    font-weight: 800;
    color: var(--si-gray-900);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.error-page p {
    font-size: 1.25rem;
    color: var(--si-gray-600);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.error-page .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.error-page .btn-primary {
    background-color: var(--si-primary);
    border-color: var(--si-primary);
    color: white;
}

.error-page .btn-primary:hover {
    background-color: #3a7de6;
    border-color: #3a7de6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(85, 153, 255, 0.25);
}

/* Dark mode support */
.dark-mode .error-page {
    background: var(--si-dark);
}

.dark-mode .error-page h1 {
    color: white;
}

.dark-mode .error-page p {
    color: var(--si-gray-400);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .error-page h1 {
        font-size: 3.5rem;
    }
    
    .error-page p {
        font-size: 1.125rem;
    }
}

@media (max-width: 576px) {
    .error-page h1 {
        font-size: 3rem;
    }
    
    .error-page {
        padding: 1rem;
        text-align: center;
    }
}

/* Client Area Styles */
#main-body > .container {
    padding: 2rem !important;
    max-width: 1400px !important;
}

.tiles {
    margin-bottom: 3rem !important;
}

.tiles .card {
    background: #fff !important;
    border: 1px solid var(--si-card-border-color) !important;
    border-radius: var(--si-card-border-radius) !important;
    transition: all 0.2s ease-in-out !important;
    height: 100% !important;
}

.tiles .card:hover {
    transform: translateY(var(--card-hover-y)) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1) !important;
}

.tiles .card-body {
    padding: 2rem !important;
}

.tiles .card i {
    font-size: 2rem !important;
    margin-bottom: 1rem !important;
    opacity: 0.9 !important;
}

.tiles .stat {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
    color: var(--si-gray-900) !important;
}

.tiles .title {
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: var(--si-gray-600) !important;
}

/* Recent Support Tickets */
.recent-tickets {
    margin-bottom: 3rem !important;
}

.recent-tickets h2 {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin-bottom: 1.5rem !important;
    color: var(--si-gray-900) !important;
}

.ticket-item {
    padding: 1.25rem !important;
    border: 1px solid var(--si-card-border-color) !important;
    border-radius: var(--si-card-border-radius) !important;
    margin-bottom: 1rem !important;
    background: #fff !important;
    transition: all 0.2s ease-in-out !important;
}

.ticket-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05) !important;
}

.ticket-item:last-child {
    margin-bottom: 0 !important;
}

.ticket-item .ticket-number {
    font-weight: 600 !important;
    color: var(--si-gray-900) !important;
    margin-bottom: 0.5rem !important;
}

.ticket-item .ticket-status {
    display: inline-block !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 50px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    margin-left: 0.5rem !important;
}

.ticket-item .ticket-status.closed {
    background-color: var(--si-gray-200) !important;
    color: var(--si-gray-700) !important;
}

.ticket-item .ticket-date {
    font-size: 0.875rem !important;
    color: var(--si-gray-600) !important;
}

/* Overdue Invoices Section */
.overdue-invoices {
    background: #fff5f5 !important;
    border: 1px solid #fee2e2 !important;
    border-radius: var(--si-card-border-radius) !important;
    padding: 1.5rem !important;
    margin-bottom: 2rem !important;
}

.overdue-invoices h3 {
    color: #dc2626 !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.overdue-invoices p {
    color: #991b1b !important;
    margin-bottom: 1rem !important;
}

.overdue-invoices .btn {
    background-color: #dc2626 !important;
    border-color: #dc2626 !important;
    color: #fff !important;
}

.overdue-invoices .btn:hover {
    background-color: #b91c1c !important;
    border-color: #b91c1c !important;
}

/* Dark Mode Styles */
.dark-mode .tiles .card {
    background: var(--si-dark-gray) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.dark-mode .tiles .stat {
    color: #fff !important;
}

.dark-mode .tiles .title {
    color: var(--si-gray-400) !important;
}

.dark-mode .ticket-item {
    background: var(--si-dark-gray) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.dark-mode .ticket-item .ticket-number {
    color: #fff !important;
}

.dark-mode .overdue-invoices {
    background: rgba(220, 38, 38, 0.1) !important;
    border-color: rgba(220, 38, 38, 0.2) !important;
}

@media (max-width: 768px) {
    #main-body > .container {
        padding: 1rem !important;
    }
    
    .tiles .card-body {
        padding: 1.5rem !important;
    }
    
    .tiles .stat {
        font-size: 2rem !important;
    }
}

@media (max-width: 576px) {
    .overdue-invoices .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Hide Cart Banner and Dev Warning */
#checkout-promotion-banner,
.promo-banner,
.header-lined,
.alert.alert-warning.global-warning-banner,
div[role="alert"],
.global-warning-banner,
.alert-warning {
    display: none !important;
}

/* Base Button Styles */
.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    border-radius: 0.375rem !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    border: 1px solid transparent !important;
}

/* Primary Button */
.btn-primary {
    background-color: var(--si-primary) !important;
    border-color: var(--si-primary) !important;
    color: white !important;
}

.btn-primary:hover {
    background-color: #3a7de6 !important;
    border-color: #3a7de6 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(85, 153, 255, 0.25) !important;
}

/* Secondary Button */
.btn-secondary {
    background-color: transparent !important;
    border: 1px solid var(--si-gray-300) !important;
    color: var(--si-gray-700) !important;
}

.btn-secondary:hover {
    border-color: var(--si-gray-400) !important;
    background-color: var(--si-gray-50) !important;
    transform: translateY(-1px) !important;
}

/* Success Button */
.btn-success {
    background-color: var(--si-success) !important;
    border-color: var(--si-success) !important;
    color: white !important;
}

.btn-success:hover {
    background-color: #249c3f !important;
    border-color: #249c3f !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.25) !important;
}

/* Outline Light Button */
.btn-outline-light {
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-1px) !important;
}

/* Outline Primary Button */
.btn-outline-primary {
    background-color: transparent !important;
    border: 1px solid var(--si-primary) !important;
    color: var(--si-primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--si-primary) !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(85, 153, 255, 0.25) !important;
}

/* Block Button */
.btn-block {
    display: flex !important;
    width: 100% !important;
}

/* Small Button */
.btn-sm {
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
}

/* Large Button */
.btn-lg {
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
}

/* Dark Mode Button Styles */
.dark-mode .btn-secondary {
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: var(--si-gray-300) !important;
}

.dark-mode .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.dark-mode .btn-outline-primary {
    color: var(--si-primary) !important;
}

.dark-mode .btn-outline-primary:hover {
    color: white !important;
}

/* Disabled Button State */
.btn:disabled,
.btn.disabled {
    opacity: 0.65 !important;
    pointer-events: none !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Button Group */
.btn-group {
    display: inline-flex !important;
    gap: 0.5rem !important;
}

/* Remove any conflicting button styles */
.search-box-buttons .btn,
.clientarea-btn,
.login-form .btn,
.error-page .btn,
.domain-search .btn,
.home .card .btn {
    /* Reset to use base styles */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    border-radius: 0.375rem !important;
    transition: all 0.2s ease !important;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .btn-block-sm {
        width: 100% !important;
    }
}

/* Client Area Template Specific Styles */
.clientarea .card,
.ssl-config .card,
.registration .card {
    width: 100% !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 1.5rem !important;
}

/* Table Containers */
.table-container {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 1.5rem !important;
    box-sizing: border-box !important;
}

/* Form Groups in Cards */
.card .form-group {
    margin-bottom: 1rem !important;
}

/* Alert Positioning */
.alert {
    width: 100% !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 1.5rem !important;
}

/* Tab Content in Client Area */
.tab-content .tab-pane {
    padding: 1.5rem !important;
}

/* Responsive Table Adjustments */
@media (max-width: 768px) {
    .table-container,
    .clientarea .card,
    .ssl-config .card,
    .registration .card {
        padding: 1rem !important;
    }
    
    .tab-content .tab-pane {
        padding: 1rem !important;
    }
}

/* Verification Banners */
.verification-banner {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto 1.5rem auto !important;
    padding: 1rem !important;
}

/* Modal Styling */
.modal-dialog {
    max-width: 800px !important;
    margin: 1.75rem auto !important;
}

.modal-content {
    border-radius: 0.5rem !important;
    border: none !important;
}

/* Breadcrumb Navigation */
.breadcrumb {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto 1.5rem auto !important;
    padding: 1rem !important;
    background-color: transparent !important;
}

/* Sidebar Components */
.card-sidebar {
    border-radius: 0.5rem !important;
    overflow: hidden !important;
}

.card-sidebar .card-header {
    padding: 1rem !important;
    background-color: #f8f9fa !important;
    border-bottom: 1px solid rgba(0,0,0,0.125) !important;
}

/* Form Elements */
.form-group {
    margin-bottom: 1rem !important;
}

.input-group-wrapper {
    max-width: 1400px !important;
    margin: 0 auto !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .verification-banner,
    .breadcrumb,
    .modal-dialog {
        padding: 0.75rem !important;
    }
    
    .card-sidebar {
        margin-bottom: 1rem !important;
    }
}

/* Client Area Home Page Specific Styles */
.tiles {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

.tiles .card {
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    height: 100% !important;
}

.tiles .card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.tiles .card-body {
    padding: 2rem 1.5rem !important;
}

.client-home-panels {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

.client-home-panels .card {
    margin-bottom: 1.5rem !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.client-home-panels .card-header {
    padding: 1.25rem 1.5rem !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.client-home-panels .card-body {
    padding: 1.5rem !important;
}

.client-home-panels .list-group-item {
    padding: 1rem 1.5rem !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tiles .card-body {
        padding: 1.5rem 1rem !important;
    }
    
    .client-home-panels .card-header,
    .client-home-panels .card-body,
    .client-home-panels .list-group-item {
        padding: 1rem !important;
    }
}

/* Client Area Stats Cards */
.tiles {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto 2rem auto !important;
    padding: 0 1rem !important;
}

.tiles .row {
    margin: 0 -1rem !important;
}

.tiles .card {
    background: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 0.5rem !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.tiles .card-body {
    padding: 2rem 1rem !important;
}

.tiles .fa-2x {
    font-size: 2.5rem !important;
    margin-bottom: 1.25rem !important;
}

.tiles .stat {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.5rem !important;
}

.tiles .title {
    font-size: 0.875rem !important;
    opacity: 0.8 !important;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .tiles .card-body {
        padding: 1.5rem 1rem !important;
    }
    
    .tiles .fa-2x {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }
    
    .tiles .stat {
        font-size: 1.75rem !important;
    }
}

@media (max-width: 576px) {
    .tiles .card-body {
        padding: 1.25rem 0.75rem !important;
    }
    
    .tiles .fa-2x {
        font-size: 1.75rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .tiles .stat {
        font-size: 1.5rem !important;
    }
}

/* Store Order Container */
.store-order-container {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto 2rem auto !important;
    padding: 0 1rem !important;
}

.store-order-container h2 {
    font-size: 1.75rem !important;
    margin-bottom: 1rem !important;
}

.store-order-container .payment-term {
    background: #f8f9fa !important;
    padding: 1.5rem !important;
    border-radius: 0.5rem !important;
    margin-bottom: 1.5rem !important;
}

.store-order-container .payment-term h4 {
    font-size: 1.125rem !important;
    margin-bottom: 1rem !important;
}

/* Domain Tabs Styling */
.store-domain-tabs {
    border: none !important;
    margin-bottom: 0 !important;
    gap: 0.5rem !important;
}

.store-domain-tabs .nav-link {
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-bottom: none !important;
    border-radius: 0.5rem 0.5rem 0 0 !important;
    background: #f8f9fa !important;
    color: #666 !important;
    transition: all 0.2s ease !important;
}

.store-domain-tabs .nav-link.active {
    background: #fff !important;
    color: #000 !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

.store-domain-tab-content {
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 0 0.5rem 0.5rem 0.5rem !important;
    padding: 2rem !important;
}

/* Domain Validation */
.domain-validation {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.5rem 0 !important;
    font-size: 0.875rem !important;
}

.domain-validation.ok {
    color: #10B981 !important;
}

/* Form Controls */
.store-order-container .form-control {
    padding: 0.75rem 1rem !important;
    border-radius: 0.375rem !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* Action Buttons */
.store-order-container .btn {
    padding: 0.75rem 1.5rem !important;
    font-weight: 500 !important;
    border-radius: 0.375rem !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .store-order-container {
        padding: 0 0.75rem !important;
    }
    
    .store-domain-tab-content {
        padding: 1.5rem !important;
    }
    
    .store-order-container .payment-term {
        padding: 1rem !important;
    }
}

/* Knowledge Base Styles */
.kb-search {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto 2rem auto !important;
}

.kb-search .form-control {
    height: auto !important;
    padding: 1rem 1.5rem !important;
    font-size: 1rem !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-right: none !important;
    border-radius: 0.5rem 0 0 0.5rem !important;
}

.kb-search .btn {
    padding: 1rem 2rem !important;
    border-radius: 0 0.5rem 0.5rem 0 !important;
}

/* Category Cards */
.kb-category {
    height: 100% !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 0.5rem !important;
}

.kb-category:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    text-decoration: none !important;
}

.kb-category .card-body {
    padding: 1.5rem !important;
}

.kb-category .badge {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
}

/* Article Listings */
.kb-article-item {
    padding: 1.25rem 1.5rem !important;
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    transition: background-color 0.2s ease !important;
}

.kb-article-item:last-child {
    border-bottom: none !important;
}

.kb-article-item i {
    margin-right: 0.75rem !important;
}

.kb-article-item small {
    display: block !important;
    margin-top: 0.5rem !important;
    margin-left: 2rem !important;
    color: #666 !important;
}

/* Article View */
.article-content {
    padding: 2rem !important;
}

.article-content h1 {
    font-size: 1.75rem !important;
    margin-bottom: 1.5rem !important;
}

.article-tags {
    margin-bottom: 1.5rem !important;
}

.article-tags .badge {
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .kb-search {
        padding: 0 1rem !important;
    }
    
    .kb-search .form-control,
    .kb-search .btn {
        padding: 0.75rem 1rem !important;
    }
    
    .kb-category .card-body {
        padding: 1rem !important;
    }
    
    .kb-article-item {
        padding: 1rem !important;
    }
    
    .article-content {
        padding: 1.5rem !important;
    }
}

/* Domain Search Container */
.home-domain-search {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto 2rem auto !important;
    padding: 3rem 1.5rem !important;
    background: #fff !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05) !important;
}

.home-domain-search h2 {
    font-size: 2rem !important;
    font-weight: 600 !important;
    margin-bottom: 2rem !important;
    color: #1a1a1a !important;
}

/* Search Input Group */
.input-group-wrapper {
    max-width: 800px !important;
    margin: 0 auto 1.5rem auto !important;
}

.input-group {
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 0.5rem !important;
    overflow: hidden !important;
}

.input-group .form-control {
    border: none !important;
    padding: 1.25rem 1.5rem !important;
    font-size: 1.125rem !important;
    height: auto !important;
    box-shadow: none !important;
}

.input-group-append .btn {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
    border: none !important;
    margin-left: 0 !important;
}

/* TLD Logos Section */
.tld-logos {
    max-width: 800px !important;
    margin: 2rem auto !important;
    padding: 0 !important;
    list-style: none !important;
    display: flex !important;
    justify-content: center !important;
    gap: 2rem !important;
}

.tld-logos li {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    font-size: 0.875rem !important;
    color: #666 !important;
}

.tld-logos img {
    height: 24px !important;
    width: auto !important;
    opacity: 0.8 !important;
}

/* Mobile Buttons */
.d-sm-none .btn {
    margin-top: 1rem !important;
    width: 100% !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .home-domain-search {
        padding: 2rem 1rem !important;
    }
    
    .home-domain-search h2 {
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .input-group .form-control {
        padding: 1rem !important;
        font-size: 1rem !important;
    }
    
    .tld-logos {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
    }
}

/* Two Factor Authentication Pages */
.mw-540 {
    width: 100% !important;
    max-width: 540px !important;
    margin: 2rem auto !important;
    background: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.mw-540 .card-body {
    padding: 2rem !important;
}

.mw-540 p {
    color: #666 !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1rem !important;
}

/* Account Selection List */
.select-account {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    margin: 1.5rem 0 !important;
}

.select-account a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1rem 1.25rem !important;
    background: #f8f9fa !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 0.375rem !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.select-account a:hover:not(.disabled) {
    background: #fff !important;
    border-color: #1E90FF !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(85, 153, 255, 0.1) !important;
}

.select-account a.disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* Account Labels */
.select-account .label {
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 0.25rem !important;
    margin-left: 0.5rem !important;
}

.select-account .label-info {
    background: #1E90FF !important;
    color: #fff !important;
}

.select-account .label-default {
    background: #e9ecef !important;
    color: #666 !important;
}

/* Button Styling */
.mw-540 .btn {
    padding: 0.75rem 1.5rem !important;
    font-weight: 500 !important;
    border-radius: 0.375rem !important;
    transition: all 0.2s ease !important;
}

.mw-540 .d-flex .btn {
    min-width: 120px !important;
}

.mw-540 .btn i {
    margin-left: 0.5rem !important;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .mw-540 {
        margin: 1rem !important;
    }
    
    .mw-540 .card-body {
        padding: 1.5rem !important;
    }
    
    .mw-540 .d-flex {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    
    .mw-540 .d-flex .btn {
        width: 100% !important;
    }
}

/* Affiliate Pages Styling */
.affiliate-stat {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 1.5rem !important;
    border-radius: 0.5rem !important;
    border: none !important;
    transition: transform 0.2s ease !important;
}

.affiliate-stat:hover {
    transform: translateY(-2px) !important;
}

.affiliate-stat i {
    font-size: 1.5rem !important;
}

.affiliate-stat span {
    font-size: 1.75rem !important;
    font-weight: 600 !important;
    margin-right: 0.5rem !important;
}

/* Referral Link Card */
.card .h3 {
    font-size: 1.25rem !important;
    margin-bottom: 1rem !important;
    color: #1a1a1a !important;
}

/* Stats Table */
.table-rounded {
    border-radius: 0.5rem !important;
    overflow: hidden !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.table-rounded td {
    padding: 1rem 1.5rem !important;
    vertical-align: middle !important;
}

.table-rounded td.text-right {
    color: #666 !important;
}

/* Withdrawal Button */
.btn-lg.btn-danger {
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    border-radius: 0.5rem !important;
    transition: all 0.2s ease !important;
}

.btn-lg.btn-danger i {
    margin-right: 0.5rem !important;
}

/* Affiliate Signup Card */
.extra-padding {
    padding: 2.5rem !important;
}

.extra-padding .lead {
    color: #666 !important;
    font-size: 1.125rem !important;
    margin-bottom: 1.5rem !important;
}

.extra-padding ul {
    padding-left: 1.5rem !important;
    color: #666 !important;
}

.extra-padding ul li {
    margin-bottom: 0.75rem !important;
}

/* Status Labels */
.label.status {
    padding: 0.5rem 1rem !important;
    border-radius: 0.375rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .affiliate-stat {
        padding: 1.25rem !important;
    }
    
    .affiliate-stat span {
        font-size: 1.5rem !important;
    }
    
    .extra-padding {
        padding: 1.5rem !important;
    }
    
    .table-rounded td {
        padding: 0.75rem 1rem !important;
    }
}

/* Support Ticket Pages */
.card .extra-padding {
    padding: 2.5rem !important;
}

/* Support Ticket Headers */
.card-title {
    font-size: 1.75rem !important;
    font-weight: 600 !important;
    margin-bottom: 1.5rem !important;
    color: #1a1a1a !important;
}

/* Department Selection */
.department-list a {
    display: flex !important;
    align-items: center !important;
    padding: 1.25rem !important;
    margin-bottom: 1rem !important;
    background: #f8f9fa !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 0.5rem !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.department-list a:hover {
    background: #fff !important;
    border-color: #1E90FF !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(85, 153, 255, 0.1) !important;
}

/* Form Controls */
.form-group {
    margin-bottom: 1.5rem !important;
}

.form-group label {
    font-weight: 500 !important;
    color: #1a1a1a !important;
    margin-bottom: 0.5rem !important;
}

.form-control {
    padding: 0.75rem 1rem !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 0.375rem !important;
    transition: border-color 0.2s ease !important;
}

.form-control:focus {
    border-color: #1E90FF !important;
    box-shadow: 0 0 0 3px rgba(85, 153, 255, 0.1) !important;
}

/* File Attachments */
.custom-file-label {
    padding: 0.75rem 1rem !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 0.375rem !important;
}

.custom-file-input:focus ~ .custom-file-label {
    border-color: #1E90FF !important;
    box-shadow: 0 0 0 3px rgba(85, 153, 255, 0.1) !important;
}

/* KB Suggestions */
.kb-article-item {
    padding: 1rem 1.25rem !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 0.375rem !important;
    margin-bottom: 0.5rem !important;
    transition: all 0.2s ease !important;
}

.kb-article-item:hover {
    background: #f8f9fa !important;
    border-color: #1E90FF !important;
}

.kb-article-item a {
    color: #1a1a1a !important;
    text-decoration: none !important;
}

.kb-article-item small {
    display: block !important;
    color: #666 !important;
    margin-top: 0.5rem !important;
}

/* Ticket List Table */
#tableTicketsList {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 0.5rem !important;
    overflow: hidden !important;
}

#tableTicketsList thead th {
    background: #f8f9fa !important;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08) !important;
    padding: 1rem !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
}

#tableTicketsList tbody td {
    padding: 1rem !important;
    vertical-align: middle !important;
}

/* Status Labels */
.label.status {
    padding: 0.5rem 1rem !important;
    border-radius: 0.375rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card .extra-padding {
        padding: 1.5rem !important;
    }
    
    .form-group {
        margin-bottom: 1rem !important;
    }
    
    #tableTicketsList thead th,
    #tableTicketsList tbody td {
        padding: 0.75rem !important;
    }
}

/* Client Registration Form */
#registration {
    max-width: 1000px !important;
    margin: 0 auto !important;
}

#registration .card {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

#registration .card-body {
    padding: 2rem !important;
}

#registration .card-title {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin-bottom: 1.5rem !important;
}

/* Form Fields */
#registration .form-group {
    margin-bottom: 1.25rem !important;
    position: relative !important;
}

#registration .prepend-icon {
    position: relative !important;
}

#registration .field-icon {
    position: absolute !important;
    top: 50% !important;
    left: 1rem !important;
    transform: translateY(-50%) !important;
    color: #666 !important;
    z-index: 2 !important;
}

#registration .field {
    padding: 0.75rem 1rem 0.75rem 2.5rem !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 0.375rem !important;
    width: 100% !important;
    transition: all 0.2s ease !important;
}

#registration .field:focus {
    border-color: #1E90FF !important;
    box-shadow: 0 0 0 3px rgba(85, 153, 255, 0.1) !important;
}

/* Custom Fields */
#registration .field-help-text {
    display: block !important;
    margin-top: 0.5rem !important;
    font-size: 0.875rem !important;
    color: #666 !important;
}

/* Password Strength */
#registration .password-strength-meter {
    margin-top: 0.5rem !important;
    height: 4px !important;
    background: #e9ecef !important;
    border-radius: 2px !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #registration .card-body {
        padding: 1.5rem !important;
    }
    
    #registration .form-group {
        margin-bottom: 1rem !important;
    }
} 

/* Server Status Page */
.server-status .card {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    margin-bottom: 2rem !important;
}

.server-status .table {
    margin-bottom: 0 !important;
}

.server-status .table th {
    background: #f8f9fa !important;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08) !important;
    padding: 1rem !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
}

.server-status .table td {
    padding: 1rem !important;
    vertical-align: middle !important;
}

/* Status Icons */
.server-status .fa-check {
    color: #10B981 !important;
}

.server-status .fa-times {
    color: #EF4444 !important;
}

.server-status .fa-spinner {
    color: #6B7280 !important;
}

/* Issue Cards */
.server-status .card-header {
    padding: 1rem 1.5rem !important;
    background: #fff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    font-weight: 500 !important;
}

/* Pagination */
.pagination {
    gap: 0.5rem !important;
}

.page-link {
    border-radius: 0.375rem !important;
    padding: 0.75rem 1rem !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.page-link:hover {
    background: #f8f9fa !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
}

.page-item.disabled .page-link {
    background: #f8f9fa !important;
    border-color: rgba(0, 0, 0, 0.05) !important;
}

/* Registration Form Refinements */
#registration .form-group {
    margin-bottom: 1.5rem !important;
}

#registration .form-control {
    height: 48px !important;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 0.375rem !important;
    width: 100% !important;
    transition: all 0.2s ease !important;
}

#registration .form-control:focus {
    border-color: #1E90FF !important;
    box-shadow: 0 0 0 3px rgba(85, 153, 255, 0.1) !important;
}

#registration label {
    font-weight: 500 !important;
    margin-bottom: 0.5rem !important;
    color: #1a1a1a !important;
}

#registration .card {
    margin-bottom: 2rem !important;
}

#registration .btn {
    height: 48px !important;
    padding: 0 2rem !important;
}

/* Client Area Home Spacing and Layout */
.tiles {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 2rem auto 3rem auto !important;
    padding: 0 1rem !important;
}

.client-home-panels {
    margin-top: 2rem !important;
    margin-bottom: 4rem !important;
}

/* Add spacing for addons */
.mb-4:has(.addon-content) {
    margin-top: 2rem !important;
    margin-bottom: 3rem !important;
}

/* Status Labels - Consolidated */
.label.status {
    padding: 0.5rem 1rem !important;
    border-radius: 0.375rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
}