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

:root {
    --primary-color: #FFBD33;
    /* RunHost Yellow/Orange */
    --primary-hover: #ffb01f;
    --primary-text: #1a1a2e;
    /* Dark text for contrast on yellow */
    --body-bg: #f9fafb;
    /* Light gray for dashboard background */
    --card-bg: #ffffff;
    --text-main: #111827;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --border-radius-lg: 12px;
    --border-radius-md: 8px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --font-family: 'Inter', sans-serif;
}

/* Base Styles & Typography */
body,
.primary-bg-color {
    font-family: var(--font-family);
    background-color: var(--body-bg) !important;
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--text-main);
}

/* Header & Topbar */
header.header {
    background-color: var(--card-bg);
    box-shadow: var(--shadow-sm);
}

header.header .topbar {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.5rem 0;
}

header.header .topbar .btn,
header.header .topbar .active-client .input-group-text,
header.header .topbar .active-client .btn {
    color: var(--text-muted);
}

header.header .topbar .btn:hover {
    color: var(--text-main);
}

.navbar.main-navbar-wrapper {
    background: transparent;
    box-shadow: none;
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0;
}

.navbar-nav .nav-link {
    color: var(--text-muted);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
    transition: all 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
    color: var(--text-main);
    background-color: #f3f4f6;
}

/* Cards & Panels ("Sleek Boxes") */
.card,
.panel {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover,
.panel:hover {
    box-shadow: var(--shadow-md);
}

.card-header,
.panel-heading {
    background-color: transparent;
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.card-body,
.panel-body {
    padding: 1.5rem;
}

/* Buttons */
.btn-primary,
.btn-action {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-text) !important;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    padding: 0.6rem 1.2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.btn-primary:hover,
.btn-action:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-default,
.btn-secondary {
    background-color: white;
    border-color: var(--border-color);
    color: var(--text-main);
    border-radius: var(--border-radius-md);
}

.btn-default:hover,
.btn-secondary:hover {
    background-color: #f3f4f6;
    border-color: #d1d5db;
}

/* Form Controls */
.form-control {
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1rem;
    height: auto;
    box-shadow: var(--shadow-sm);
    color: var(--text-main);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 189, 51, 0.2);
}

/* Sidebar Improvements */
.sidebar {
    background: transparent;
}

.sidebar .card {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--border-radius-lg) !important;
    box-shadow: var(--shadow-sm) !important;
    margin-bottom: 1.5rem !important;
    overflow: hidden;
    /* Ensure rounded corners clip content */
}

.sidebar .card:hover {
    box-shadow: var(--shadow-md) !important;
}

.sidebar .card-header {
    background-color: transparent !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding: 1rem 1.25rem !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Sidebar Titles */
.sidebar .card-title {
    margin: 0 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--text-main) !important;
    text-transform: none !important;
    /* Remove uppercase if default */
    display: flex;
    align-items: center;
    width: 100%;
}

.sidebar .card-title i {
    color: var(--text-muted);
    font-size: 1rem;
    margin-right: 0.75rem;
    margin-top: -2px;
    /* Visual alignment */
    transition: color 0.2s;
}

.sidebar .card-title .card-minimise {
    margin-left: auto !important;
    margin-right: 0 !important;
    float: none !important;
    /* Override bootstrap float-right */
}

.sidebar .card:hover .card-title i {
    color: var(--primary-color);
}

.sidebar .card-body {
    padding: 1.25rem !important;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Support Pin Styling */
.sidebar .card-body .pin,
.sidebar .card-body #supportPin {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    border: 1px dashed var(--border-color);
    display: block;
    /* Ensure it takes full width/block */
}

/* Sidebar List Items */
.sidebar .list-group-item {
    border: none !important;
    border-left: 3px solid transparent !important;
    border-radius: 0 !important;
    padding: 0.75rem 1.25rem;
    color: var(--text-muted);
    background: transparent !important;
    margin-bottom: 0 !important;
    font-weight: 500;
    transition: all 0.2s;
}

.sidebar .list-group-item:hover {
    background-color: #f9fafb !important;
    color: var(--text-main);
}

.sidebar .list-group-item.active {
    background-color: #fffbeb !important;
    /* Very light yellow */
    color: var(--text-main) !important;
    border-left-color: var(--primary-color) !important;
    font-weight: 600;
}

.sidebar .list-group-item .badge {
    background-color: #f3f4f6;
    color: var(--text-muted);
}

.sidebar .list-group-item.active .badge {
    background-color: var(--primary-color);
    color: var(--primary-text);
}

/* Sidebar Buttons (Update, etc) */
.sidebar .btn {
    width: 100%;
    margin-top: 0.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
}

.sidebar .btn-success {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-text) !important;
}

.sidebar .btn-success:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

/* Chevron/Collapse Icon */
.sidebar .card-header .fa-chevron-up,
.sidebar .card-header .fa-chevron-down {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Footer of panel if exists */
.sidebar .card-footer {
    background: #f9fafb;
    border-top: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
}

/* Sleek Tiles / Home Shortcuts */
.tile-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .tile-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .tile-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

.tile-grid .tile {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--border-radius-lg) !important;
    box-shadow: var(--shadow-sm);
    padding: 1.75rem 1.5rem !important;
    height: 100%;
    display: flex !important;
    flex-direction: row !important;
    /* Row layout for content vs icon */
    align-items: center !important;
    justify-content: space-between !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden;
    position: relative;
    text-decoration: none !important;
    min-height: 120px;
}

.tile-grid .tile:hover {
    box-shadow: var(--shadow-md) !important;
    transform: translateY(-4px);
    border-color: var(--primary-color) !important;
}

.tile-grid .tile .tile-content {
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.tile-grid .tile .stat {
    font-size: 2.75rem !important;
    font-weight: 800 !important;
    color: var(--text-main) !important;
    margin: 0 !important;
    line-height: 1 !important;
    letter-spacing: -0.02em;
}

.tile-grid .tile .title {
    color: var(--text-muted) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

/* Icon Wrapper */
.tile-grid .tile .tile-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

/* SVG Styling */
.tile-grid .tile .svg-icon {
    width: 56px;
    height: 56px;
    color: #9ca3af;
    /* Gray-400 equivalent */
    transition: all 0.3s ease;
}

.tile-grid .tile:hover .svg-icon {
    color: var(--primary-color) !important;
    /* Icon lights up on hover */
    transform: scale(1.1) rotate(2deg);
}

/* Highlight Bar */
.tile-grid .tile .highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    margin: 0 !important;
    border-radius: 0 !important;
    opacity: 0.5 !important;
    transition: opacity 0.3s;
}

.tile-grid .tile:hover .highlight {
    opacity: 1 !important;
    height: 4px;
}

/* MarketConnect / "Recommended for You" Section Customization */
.mc-promo,
.promo-banner,
.product-promo {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--border-radius-lg) !important;
    box-shadow: var(--shadow-sm) !important;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 2rem !important;
    transition: all 0.3s ease;
}

.mc-promo:hover,
.promo-banner:hover {
    box-shadow: var(--shadow-md) !important;
    transform: translateY(-2px);
}

/* Typography in Promo */
.mc-promo h3,
.mc-promo h2,
.promo-banner h3 {
    font-family: var(--font-family);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.mc-promo h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.mc-promo p,
.mc-promo li {
    color: var(--text-muted);
}

.mc-promo ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.mc-promo li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.mc-promo li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    /* Green checkmark */
    font-weight: bold;
}

/* Buttons in Promo - Override the green success button */
.mc-promo .btn.btn-success,
.mc-promo .btn-add,
.promo-banner .btn-success {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-text) !important;
    /* Dark text on yellow */
    font-weight: 600 !important;
    border-radius: var(--border-radius-md) !important;
    padding: 0.75rem 1.5rem !important;
    text-transform: none !important;
    font-size: 0.95rem !important;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.mc-promo .btn.btn-success:hover,
.mc-promo .btn-add:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Image/Logo Styling */
.mc-promo img,
.promo-banner img {
    max-height: 80px;
    width: auto;
    margin-bottom: 1rem;
}

/* Separator lines override */
.mc-promo hr {
    border-color: var(--border-color);
}

/* Footer */
#footer {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    margin-top: 4rem;
    color: var(--text-muted);
}

#footer p {
    margin-bottom: 0.5rem;
}

/* High Quality DataTables / Services List */
.table-container {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 0 !important;
    /* Remove internal padding to let table fill */
    margin-bottom: 2rem;
    overflow: hidden;
    /* Clip corners */
}

/* DataTables Controls - Padding adjustments */
.dataTables_wrapper {
    padding: 1.5rem;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 1.5rem;
}

/* Style the "Show X entries" dropdown */
.dataTables_wrapper .dataTables_length select {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 0.4rem 2rem 0.4rem 0.8rem;
    outline: none;
    background-color: white;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 10px 10px;
    appearance: none;
    /* Remove default arrow */
    -webkit-appearance: none;
    box-shadow: var(--shadow-sm);
    color: var(--text-main);
    font-size: 0.9rem;
    min-width: 70px;
    margin: 0 0.5rem;
    vertical-align: middle;
}

.dataTables_wrapper .dataTables_length select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 189, 51, 0.2);
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 0.4rem 0.8rem;
    outline: none;
    background-color: white;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
    margin-left: 0.5rem;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 189, 51, 0.2);
}

/* Table Styling */
table.table {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0 !important;
    border: none !important;
}

table.table thead th {
    background-color: #f9fafb !important;
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    border-bottom: 1px solid var(--border-color) !important;
    border-top: 1px solid var(--border-color) !important;
    padding: 1rem 1.5rem !important;
    vertical-align: middle;
    white-space: nowrap;
    /* Prevent headers from wrapping */
    text-align: left !important;
}

table.table tbody td {
    border-top: 1px solid var(--border-color) !important;
    padding: 1.25rem 1.5rem !important;
    /* more breathing room */
    vertical-align: middle !important;
    color: var(--text-main);
    font-size: 0.95rem;
    background-color: white !important;
    height: 70px;
    /* Enforce minimum height for consistency */
}

/* Column Specific Tweaks for Proportions */
/* Product Name Column */
table.table td:nth-child(2) {
    width: 40%;
}

/* Reduce size of icon column */
table.table td:first-child {
    width: 60px;
    padding-right: 0 !important;
    text-align: center;
}

/* Prevent wrapping on dates and prices */
table.table td:nth-child(3),
table.table td:nth-child(4) {
    white-space: nowrap;
    width: 15%;
}

/* Status Column */
table.table td:last-child {
    width: 15%;
    text-align: right !important;
}

/* Hover Effect */
table.table tbody tr:hover td {
    background-color: #fcfcfc !important;
}

/* Typeography Tweaks */
table.table tbody td strong {
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 600;
    display: block;
    margin-bottom: 0.2rem;
}

table.table tbody td a {
    color: var(--text-muted);
    /* Product link secondary text */
    font-size: 0.85rem;
}

table.table small.text-muted {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

/* Status Labels / Pills - Refined */
.label.status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.85rem;
    font-size: 0.7rem;
    /* Smaller font */
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 6px;
    /* Slightly softer square */
    text-transform: uppercase;
    min-width: 90px;
}

.status-active {
    background-color: #ecfdf5;
    color: #047857;
    border: 1px solid #d1fae5;
}

.status-pending {
    background-color: #fff7ed;
    color: #c2410c;
    border: 1px solid #ffedd5;
}

.status-suspended {
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fee2e2;
}

.status-terminated,
.status-cancelled {
    background-color: #f3f4f6;
    color: #4b5563;
    border: 1px solid #e5e7eb;
}

/* Remove Footer Loading Spinner padding */
#tableLoading {
    padding: 2rem;
}

/* Pagination - FORCE OVERRIDE for Bootstrap */
.dataTables_wrapper .dataTables_paginate {
    padding-top: 1rem !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
}

.dataTables_wrapper .pagination {
    margin: 0 !important;
    display: flex !important;
    gap: 0.25rem !important;
}

.dataTables_wrapper .page-item .page-link {
    padding: 0.4rem 0.9rem !important;
    border-radius: var(--border-radius-md) !important;
    border: 1px solid var(--border-color) !important;
    background: white !important;
    color: var(--text-muted) !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    box-shadow: none !important;
    margin-left: 0 !important;
    /* Reset bootstrap margin */
}

.dataTables_wrapper .page-item:first-child .page-link,
.dataTables_wrapper .page-item:last-child .page-link {
    border-radius: var(--border-radius-md) !important;
    /* Fix rounded corners on ends */
}

.dataTables_wrapper .page-item:not(.active) .page-link:hover {
    background: #f9fafb !important;
    color: var(--text-main) !important;
    border-color: #d1d5db !important;
}

/* Active State */
.dataTables_wrapper .page-item.active .page-link {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-text) !important;
    font-weight: 700 !important;
    /* Bolder */
    box-shadow: var(--shadow-sm) !important;
}

/* Disabled State */
.dataTables_wrapper .page-item.disabled .page-link {
    opacity: 0.6 !important;
    background-color: #f3f4f6 !important;
    border-color: transparent !important;
    color: #9ca3af !important;
    pointer-events: none !important;
}

/* Fix "Show Entries" Select being overridden by Bootstrap */
.dataTables_wrapper select.custom-select,
.dataTables_wrapper .dataTables_length select {
    display: inline-block !important;
    height: auto !important;
    /* Fix default height */
    padding: 0.4rem 2rem 0.4rem 0.8rem !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: var(--text-main) !important;
    vertical-align: middle !important;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") right 0.75rem center/10px 10px no-repeat !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--border-radius-md) !important;
    box-shadow: var(--shadow-sm) !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

.dataTables_wrapper select.custom-select:focus,
.dataTables_wrapper .dataTables_length select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 2px rgba(255, 189, 51, 0.2) !important;
    outline: 0 !important;
}

/* Service Icon Container */
.service-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border: 1px solid var(--border-color);
    margin: 0 auto;
}

.service-svg {
    width: 22px;
    height: 22px;
    transition: all 0.2s;
}

.service-svg.active {
    color: #10b981;
    /* Green */
}

.service-svg.pending {
    color: #f59e0b;
    /* Orange */
}

.service-svg.other {
    color: #9ca3af;
    /* Gray */
}

/* Row Content Styling */
.product-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.product-domain {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
    text-decoration: none;
    font-weight: 400;
}

.product-domain:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.price-amount {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1rem;
}

.price-cycle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
    text-transform: capitalize;
}

.date-display {
    font-weight: 500;
    color: var(--text-main);
}

/* Status Dot */
.label.status::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 8px;
    background-color: currentColor;
    opacity: 0.8;
}

/* Ensure table cells don't squish icons */
table.table td:first-child {
    min-width: 60px;
}

/* -------------------------------------------------------------------------
   PRODUCT DETAILS PAGE REVAMP - HIGH QUALITY RUNHOST STYLE
   ------------------------------------------------------------------------- */

/* Main Card Wrapper */
.product-details-modern {
    border: none !important;
    box-shadow: var(--shadow-md) !important;
    border-radius: var(--border-radius-lg) !important;
    overflow: hidden;
    margin-bottom: 2rem;
}

/* Header Section */
.product-header {
    display: flex;
    align-items: center;
    padding: 2rem;
    background: #fff;
    position: relative;
}

/* Product Icon */
.product-icon-container {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.product-icon-container.hosting {
    background: #fff7ed;
    /* Light orange/yellow tint */
    color: var(--primary-color);
}

.product-icon-container.server {
    background: #eff6ff;
    color: #3b82f6;
}

/* Title Group */
.product-title-group {
    flex-grow: 1;
}

.product-header .product-name {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.product-header .product-domain {
    font-size: 1rem;
    margin-top: 0.25rem;
}

.product-header .product-domain a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.product-header .product-domain a:hover {
    text-decoration: underline;
}

/* Status Badge in Header */
.product-status-badge {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    letter-spacing: 0.05em;
}

.product-status-badge .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    background-color: currentColor;
}

.status-active {
    background: #d1fae5;
    color: #065f46;
}

.status-pending {
    background: #ffedd5;
    color: #9a3412;
}

.status-suspended {
    background: #fee2e2;
    color: #991b1b;
}

.status-terminated {
    background: #f3f4f6;
    color: #374151;
}

.status-cancelled {
    background: #f3f4f6;
    color: #374151;
}

/* Separator */
.separator {
    border-top: 1px solid var(--border-color);
}

/* Content Wrapper */
.product-content-wrapper {
    padding: 2rem;
}

/* Data Grid */
.product-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
}

.data-item {
    display: flex;
    flex-direction: column;
}

.data-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.data-item .value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Actions Toolbar */
.product-actions-toolbar {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--border-color);
    margin-top: 2rem !important;
    /* Force space from grid */
}

.btn-action {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    display: inline-flex;
    align-items: center;
}

.btn-action i {
    margin-right: 0.5rem;
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: #fffbeb;
    color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-outline-danger {
    color: #ef4444;
    border: 1px solid #ef4444;
    background: transparent;
}

.btn-outline-danger:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* -------------------------------------------------------------------------
   TAB NAVIGATION STYLING
   ------------------------------------------------------------------------- */
.nav-tabs.responsive-tabs-sm {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    gap: 1.5rem;
}

.nav-tabs.responsive-tabs-sm .nav-item {
    margin-bottom: -1px;
}

.nav-tabs.responsive-tabs-sm .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-weight: 500;
    padding: 0.75rem 0.5rem;
    background: transparent !important;
    transition: all 0.2s;
}

.nav-tabs.responsive-tabs-sm .nav-link:hover {
    color: var(--text-main);
}

.nav-tabs.responsive-tabs-sm .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: transparent !important;
}

/* Hide default connector garbage from WHMCS */
.responsive-tabs-sm-connector {
    display: none !important;
}

/* Usage Stats - Knob/Charts Container */
#resourceusage .row {
    background: #fff;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin: 0;
}

#resourceusage h4 {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

/* -------------------------------------------------------------------------
   UPGRADE / DOWNGRADE PAGE IMPROVEMENTS
   ------------------------------------------------------------------------- */

.upgrade-package-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.upgrade-package-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md) !important;
    border-color: var(--primary-color) !important;
}

.upgrade-header .current-config-box {
    background-color: #f9fafb;
    border: 1px dashed var(--border-color) !important;
}

.config-option-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.config-option-card:hover {
    background-color: #fcfcfc;
    border-color: #d1d5db;
}

.price-tag {
    line-height: 1;
    color: var(--text-main);
}

/* -------------------------------------------------------------------------
   CANCELLATION WIZARD STYLES
   ------------------------------------------------------------------------- */

.cancellation-wizard-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    background: #fff;
    min-height: 500px;
}

.wizard-sidebar {
    background-color: #f9fafb;
    border-right: 1px solid var(--border-color);
    height: 100%;
    min-height: 550px;
}

.wizard-steps-list {
    position: relative;
    padding-left: 10px;
}

.wizard-step {
    padding: 1.5rem 0;
    position: relative;
    color: var(--text-muted);
    opacity: 0.6;
    transition: all 0.3s;
}

.wizard-step.active {
    opacity: 1;
    color: var(--primary-color);
    font-weight: 600;
}

.wizard-step .step-indicator {
    display: flex;
    align-items: center;
}

.wizard-step .step-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e5e7eb;
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: 700;
    transition: all 0.3s;
}

.wizard-step.active .step-icon {
    background-color: var(--primary-color);
    color: var(--primary-text);
    box-shadow: 0 0 0 4px rgba(255, 189, 51, 0.2);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

.reason-option input {
    display: none;
}

.reason-card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.reason-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    transition: all 0.2s;
}

.reason-card span {
    font-weight: 600;
    color: var(--text-main);
}

.reason-option input:checked+.reason-card {
    border-color: var(--primary-color);
    background-color: #fffbeb;
    /* Light yellow tint */
    box-shadow: var(--shadow-md);
}

.reason-option input:checked+.reason-card i {
    color: var(--primary-color);
}

.reason-card:hover {
    border-color: #d1d5db;
    transform: translateY(-2px);
}

/* NPS Rating */
.nps-radio input {
    display: none;
}

.nps-box {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s;
    background: #fff;
}

.nps-radio input:checked+.nps-box {
    background-color: var(--primary-color);
    color: var(--primary-text);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transform: scale(1.1);
}

.nps-box:hover {
    border-color: var(--primary-color);
}

/* -------------------------------------------------------------------------
   DOMAINS TABLE SPECIFIC FIXES
   ------------------------------------------------------------------------- */
/* Override generic 2nd column width because Domains table has checkbox as col 1 */
#tableDomainsList td:nth-child(2) {
    width: 60px !important;
    /* Icon Column - Reduced to save space */
    padding-right: 0 !important;
}

#tableDomainsList td:nth-child(3) {
    width: auto !important;
    /* Domain Name Column - Flexible */
}

#tableDomainsList td:nth-child(4),
#tableDomainsList td:nth-child(5) {
    width: 150px !important;
    /* Fixed width for dates */
    white-space: nowrap;
}

#tableDomainsList td:last-child {
    width: 130px !important;
    text-align: right !important;
    padding-right: 1.5rem !important;
}

/* Ensure padding is consistent */
#tableDomainsList td:first-child {
    padding-left: 1.5rem !important;
    width: 40px !important;
}

/* -------------------------------------------------------------------------
   DOMAIN DETAILS GRID FIXES
   ------------------------------------------------------------------------- */
/* Force alignment on the wrapper to catch everything */
.product-content-wrapper {
    text-align: left !important;
}

.product-content-wrapper .row {
    text-align: left !important;
    justify-content: flex-start !important;
}

.product-content-wrapper .col-sm-6,
.product-content-wrapper .col-md-4 {
    text-align: left !important;
    justify-content: flex-start !important;
    display: block !important;
    /* Prevent flex centering from affecting column flow */
}

.data-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    /* Left align flex items */
    text-align: left !important;
    width: 100%;
}

.data-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
    display: block;
    width: 100%;
    text-align: left !important;
}

.data-item .value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    text-align: left !important;
    display: flex;
    align-items: center;
    width: 100%;
}

/* -------------------------------------------------------------------------
   SUPPORT TICKET STYLES
   ------------------------------------------------------------------------- */

/* Stepper */
.ticket-stepper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    background-color: #f9fafb;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
}

.ticket-stepper .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    min-width: 120px;
}

.ticket-stepper .step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
}

.ticket-stepper .step.active .step-circle {
    background-color: var(--primary-color);
    color: var(--primary-text);
    box-shadow: 0 0 0 4px rgba(255, 189, 51, 0.2);
}

.ticket-stepper .step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.ticket-stepper .step.active .step-label {
    color: var(--primary-color);
}

.ticket-stepper .step-line {
    flex-grow: 1;
    height: 2px;
    background-color: #e5e7eb;
    margin: 0 -30px;
    margin-bottom: 25px;
    max-width: 100px;
}

/* Department Grid */
.ticket-department-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.ticket-department-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    text-decoration: none !important;
}

.ticket-department-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.ticket-department-card .dept-icon {
    width: 64px;
    height: 64px;
    background-color: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.75rem;
    transition: all 0.3s;
}

.ticket-department-card:hover .dept-icon {
    background-color: var(--primary-color);
    color: var(--primary-text);
}

.ticket-department-card .dept-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.ticket-department-card .dept-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: auto;
    /* Push button to bottom */
    line-height: 1.5;
}

/* =========================================
   MODERN HEADER STYLES
   ========================================= */

.modern-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    height: 80px;
    /* Fixed height for consistency */
    display: flex;
    align-items: center;
}

.modern-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* --- Logo --- */
.modern-header .header-logo img {
    max-height: 40px;
    width: auto;
}

.modern-header .header-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

/* --- Navigation --- */
.modern-header .header-nav {
    flex: 1;
    margin-left: 3rem;
    height: 100%;
}

.modern-header .nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    gap: 0.5rem;
}

.modern-header .nav-list>li {
    height: 100%;
    display: flex;
    align-items: center;
}

.modern-header .nav-list>li>a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
    transition: all 0.2s;
    text-decoration: none;
    display: flex;
    /* For icon alignment if icons exist */
    align-items: center;
}

.modern-header .nav-list>li>a:hover,
.modern-header .nav-list>li.active>a {
    color: var(--text-main);
    background-color: #f3f4f6;
}

/* WHMCS sometimes adds icons to nav items, style them */
.modern-header .nav-list>li>a i {
    margin-right: 0.5rem;
    font-size: 0.9em;
    opacity: 0.7;
}

/* Navigation Dropdowns */
.header-nav .dropdown-menu {
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-lg);
    padding: 0.5rem;
    margin-top: 0;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-nav .dropdown-item {
    border-radius: var(--border-radius-md);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.header-nav .dropdown-item:hover {
    background-color: #f3f4f6;
    color: var(--text-main);
}


/* --- Actions Area --- */
.modern-header .header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modern-header .action-item {
    display: flex;
    align-items: center;
}

/* Search */
.modern-header .search-wrapper {
    position: relative;
    width: 240px;
}

.modern-header .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    z-index: 10;
}

.modern-header .modern-search-input {
    width: 100%;
    background: #f9fafb;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    /* Pill shape */
    padding: 0.5rem 1rem 0.5rem 2.2rem;
    font-size: 0.9rem;
    color: var(--text-main);
    transition: all 0.2s;
}

.modern-header .modern-search-input:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 189, 51, 0.1);
    outline: none;
}

/* Icon Buttons (Cart, Notifications) */
.modern-header .btn-icon,
.modern-header .cart-btn .icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-muted);
    transition: all 0.2s;
    background: transparent;
    border: none;
    position: relative;
    cursor: pointer;
}

.modern-header .btn-icon:hover,
.modern-header .cart-btn:hover .icon-box {
    background-color: #f3f4f6;
    color: var(--primary-color);
}

.modern-header i.far {
    font-size: 1.2rem;
}

/* Badge Dot */
.modern-header .badge-dot {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    /* Red */
    border-radius: 50%;
    border: 1px solid #fff;
}

/* Auth Buttons */
.modern-header .auth-btns {
    gap: 0.5rem;
    display: flex;
    align-items: center;
}

/* User Menu */
.modern-header .user-trigger {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
    padding: 0.25rem 0.75rem 0.25rem 0.25rem;
    border-radius: 30px;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.modern-header .user-trigger:hover,
.modern-header .user-trigger[aria-expanded="true"] {
    background-color: #f3f4f6;
    border-color: var(--border-color);
}

.modern-header .user-avatar-placeholder {
    width: 32px;
    height: 32px;
    background-color: var(--primary-color);
    color: var(--primary-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.modern-header .user-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

.modern-header .user-name i {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

/* Dropdowns */
.modern-dropdown {
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-lg);
    padding: 0.5rem;
    min-width: 240px;
    margin-top: 10px;
}

.modern-dropdown .dropdown-header {
    padding: 0.75rem 1rem;
}

.modern-dropdown .dropdown-header .greeting {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.modern-dropdown .dropdown-header .name {
    display: block;
    font-weight: 700;
    color: var(--text-main);
    font-size: 1rem;
}

.modern-dropdown .dropdown-item {
    border-radius: var(--border-radius-md);
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.modern-dropdown .dropdown-item i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.modern-dropdown .dropdown-item:hover {
    background-color: #f3f4f6;
    color: var(--text-main);
}

.modern-dropdown .dropdown-item.text-danger:hover {
    background-color: #fef2f2;
    color: #ef4444;
}

/* Mobile Toggle */
.modern-header .mobile-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    padding: 0.5rem;
    margin-left: 0.5rem;
}

/* Mobile Menu Container */
.mobile-menu-container {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    z-index: 1020;
    box-shadow: var(--shadow-md);
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list>li>a {
    display: block;
    padding: 0.75rem 0;
    color: var(--text-main);
    font-weight: 500;
    border-bottom: 1px solid #f3f4f6;
    text-decoration: none;
}

.mobile-nav-list>li:last-child>a {
    border-bottom: none;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
    .modern-header .header-nav {
        display: none;
    }
}

/* Hide Sitejet Promotions Globally */
#sitejetPromoPanel {
    display: none !important;
}

[data-identifier="sitejet"] {
    display: none !important;
}

/* Module Actions - cPanel Login Buttons */
.module-actions {
    display: inline-flex;
    gap: 0.5rem;
}

.module-actions form {
    margin: 0;
    display: inline-block;
}

.module-actions .btn,
.module-actions button {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-text) !important;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    padding: 0.6rem 1.2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
    white-space: nowrap;
}

.module-actions .btn:hover,
.module-actions button:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Fix dropdown gear icon visibility and button spacing */
.dropdown-toggle::after {
    display: none !important;
}

.dropdown .btn[aria-expanded="true"] {
    background-color: var(--card-bg) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(255, 189, 51, 0.2) !important;
}

.dropdown .btn[aria-expanded="true"] i {
    color: var(--primary-color) !important;
}

/* Ensure proper spacing between buttons */
.btn.mr-2 {
    margin-right: 0.5rem !important;
}

/* -------------------------------------------------------------------------- */
/*                   Modern Services List Styling (Cards)                     */
/* -------------------------------------------------------------------------- */

#tableServicesList {
    border-collapse: separate !important;
    border-spacing: 0 16px !important;
    background: transparent !important;
    margin-top: -16px;
    /* Offset first row spacing */
    width: 100% !important;
}

#tableServicesList thead th {
    border: none !important;
    background: transparent !important;
    text-transform: uppercase;
    font-size: 0.75rem !important;
    letter-spacing: 0.05em;
    color: #94a3b8;
    /* text-muted */
    padding: 0 1.5rem 0.5rem 1.5rem;
    font-weight: 600;
}

#tableServicesList tbody tr {
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    z-index: 1;
}

#tableServicesList tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

#tableServicesList tbody td {
    background: #ffffff;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
    padding: 1.25rem 1.5rem;
}

/* Rounded corners for the "card" row */
#tableServicesList tbody td:first-child {
    border-left: 1px solid #f3f4f6;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

#tableServicesList tbody td:last-child {
    border-right: 1px solid #f3f4f6;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Icon Wrapper & Colors */
.service-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.2s ease;
}

.service-svg {
    width: 24px;
    height: 24px;
    transition: all 0.2s ease;
}

/* Specific Status Colors */
.service-icon-wrapper.status-active {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.service-icon-wrapper.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.service-icon-wrapper.status-suspended {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.service-icon-wrapper.status-terminated {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.service-icon-wrapper.status-cancelled {
    background: rgba(107, 114, 128, 0.1);
    color: #9ca3af;
}

/* Status Text Labels (Standardizing with badges) */
#tableServicesList .label.status {
    padding: 0.35em 0.8em;
    font-size: 0.85em;
    border-radius: 9999px;
    font-weight: 600;
    text-transform: capitalize;
    display: inline-block;
}

#tableServicesList .label.status-active {
    background: #ecfdf5;
    color: #059669;
}

#tableServicesList .label.status-pending {
    background: #fffbeb;
    color: #d97706;
}

#tableServicesList .label.status-suspended {
    background: #fef2f2;
    color: #dc2626;
}

#tableServicesList .label.status-terminated {
    background: #f3f4f6;
    color: #4b5563;
}

#tableServicesList .label.status-cancelled {
    background: #f3f4f6;
    color: #9ca3af;
}

/* Typography */
.product-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    /* Gray-900 */
    display: block;
    margin-bottom: 2px;
    line-height: 1.3;
}

.product-domain {
    font-size: 0.9rem;
    color: #6b7280;
    /* Gray-500 */
    text-decoration: none !important;
    transition: color 0.2s;
}

.product-domain:hover {
    color: #f59e0b;
}

.price-amount {
    font-weight: 700;
    color: #374151;
    /* Gray-700 */
    font-size: 1rem;
    display: block;
}

.price-cycle {
    font-size: 0.8rem;
    color: #9ca3af;
    text-transform: lowercase;
}

.date-display {
    font-weight: 500;
    color: #374151;
    font-size: 0.95rem;
}

/* Hide DataTables wrapper standard styling to fit custom look */
.dataTables_wrapper .dataTables_info {
    padding-top: 1rem;
    color: #9ca3af;
    font-size: 0.9rem;
}

.dataTables_wrapper .dataTables_paginate {
    padding-top: 1rem;
}