/*
|--------------------------------------------------------------------------
| WHMCS Twenty-One - NetEsprit Custom Style
| Optimized & Refactored Version
|--------------------------------------------------------------------------
*/

/* =========================================================
   Base & Reset
========================================================= */

html,
body {
    font-size: 13px;
    line-height: 1.6;
}

body {
    background: #f3f4f6;
    color: #374151;
}

/* =========================================================
   Global Typography
========================================================= */

body,
p,
li,
a,
label,
input,
select,
textarea,
button,
.form-control,
.custom-select,
.input-group-text {
    font-size: 13px;
}

/* Headings */
h1,
.h1 {
    font-size: 22px;
}

h2,
.h2 {
    font-size: 20px;
}

h3,
.h3 {
    font-size: 17px;
}

h4,
.h4 {
    font-size: 16px;
}

h5,
.h5 {
    font-size: 15px;
}

h6,
.h6 {
    font-size: 14px;
}

small,
.small,
.text-muted {
    font-size: 12px;
}

/* =========================================================
   Tables
========================================================= */

.table,
.table th,
.table td,
.dataTable,
.dataTable th,
.dataTable td {
    font-size: 12px;
}

/* =========================================================
   Navbar & Menus
========================================================= */

.navbar,
.navbar-nav .nav-link,
.dropdown-menu,
.dropdown-item,
.primary-navbar,
.secondary-navbar {
    font-size: 13px;
}

/* =========================================================
   Buttons
========================================================= */

.btn,
button,
input[type="submit"],
input[type="button"] {
    font-size: 13px;
    border-radius: 10px;
    font-weight: 700;
    padding: 7px 13px;
    line-height: 1.6;
    transition: all 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

/* Primary & Success */
.btn-primary,
.btn-success {
    border: none;
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(34, 197, 94, 0.18);
}

.btn-primary {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
}

.btn-success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.btn-default,
.btn-secondary {
    background: #f8fafc;
    border: 1px solid #dbe3ee;
    color: #374151;
}

.btn-default:hover,
.btn-secondary:hover {
    background: #eef2f7;
    color: #111827;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 11.5px;
    border-radius: 9px;
}

/* =========================================================
   Forms
========================================================= */

.form-group,
.form-control,
.custom-select,
.input-group,
.input-group-text,
label,
.control-label {
    font-size: 13px;
}

.form-control {
    border-radius: 10px;
    border: 1px solid #dbe3ee;
    background: #ffffff;
    color: #111827;
    padding: 8px 12px;
    min-height: 38px;
    box-shadow: none;
}

.form-control:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}

.input-group .form-control {
    border-radius: 0 10px 10px 0;
}

.input-group .btn,
.input-group-append .btn {
    border-radius: 10px 0 0 10px;
}

/* =========================================================
   Cards & Panels
========================================================= */

.card,
.card-body,
.card-header,
.card-footer,
.panel,
.panel-body,
.panel-heading,
.list-group,
.list-group-item {
    font-size: 13px;
}

.card {
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: all 0.22s ease;
    margin-bottom: 18px;
}

.card:hover {
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
    transform: translateY(-1px);
}

.card-header {
    background: #ffffff;
    border-bottom: 1px solid #eef2f7;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 800;
    color: #111827;
    line-height: 1.8;
}

.card-title {
    font-size: 14px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0;
}

.card-body {
    padding: 16px 18px;
    font-size: 13px;
    line-height: 1.9;
    color: #374151;
}

.card-footer {
    background: #fafafa;
    border-top: 1px solid #eef2f7;
    padding: 12px 18px;
}

/* =========================================================
   Sidebar
========================================================= */

.card-sidebar {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.card-sidebar .card-header {
    background: #fff;
    border-bottom: 1px solid #eef1f4;
    padding: 14px 18px;
}

.card-sidebar .card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
}

.card-sidebar .card-title i {
    color: #6b7280;
}

.card-sidebar .badge {
    background: #eef2ff;
    color: #374151;
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
    padding: 6px 10px;
}

.card-sidebar .list-group-item {
    border: 0;
    border-bottom: 1px solid #f3f4f6;
    padding: 14px 18px;
    transition: all 0.2s ease;
    background: #fff;
}

.card-sidebar .list-group-item:last-child {
    border-bottom: 0;
}

.card-sidebar .list-group-item:hover {
    background: #f8fafc;
}

.card-sidebar .list-group-item.active {
    background: #eef4ff;
    color: #0f4c81;
    font-weight: 700;
    border-color: #dbeafe;
}

.card-sidebar .sidebar-menu-item-icon-wrapper {
    width: 24px;
    text-align: center;
}

.card-sidebar .sidebar-menu-item-icon {
    color: #6b7280;
}

.card-sidebar .list-group-item.active .sidebar-menu-item-icon {
    color: #0f4c81;
}

.card-sidebar .sidebar-menu-item-label {
    line-height: 1.5;
}

.card-sidebar .card-minimise {
    font-size: 13px;
    color: #9ca3af;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.card-sidebar .card-footer {
    background: #fff;
    border-top: 1px solid #eef1f4;
    padding: 14px 18px;
}

/* RTL Support */
html[dir="rtl"] .card-sidebar .card-header,
html[dir="rtl"] .card-sidebar .list-group-item,
html[dir="rtl"] .card-sidebar .card-footer {
    text-align: right;
}

html[dir="rtl"] .card-sidebar .sidebar-menu-item-main {
    flex-direction: row;
}

/* Jalali Date */
.card-sidebar .sidebar-jalali-date {
    color: #4b5563;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.8;
}

.card-sidebar .sidebar-jalali-date::before {
    content: "\f073";
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    margin-left: 6px;
    color: #9ca3af;
}

html[dir="ltr"] .card-sidebar .sidebar-jalali-date::before {
    margin-left: 0;
    margin-right: 6px;
}

/* =========================================================
   Dashboard Tiles
========================================================= */

.tiles {
    margin-bottom: 22px;
}

.tiles .tile {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    min-height: 112px;
    transition: all 0.22s ease;
}

.tiles .tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.10);
}

.tiles .tile i,
.tiles .tile .icon {
    opacity: 0.34;
    transition: all 0.18s ease;
}

.tiles .tile:hover i,
.tiles .tile:hover .icon {
    opacity: 0.52;
    transform: scale(1.02);
}

.tiles .tile .stat,
.tiles .tile .number,
.tiles .tile .count,
.tiles .tile h3 {
    font-size: 26px;
    font-weight: 900;
    color: #1f2937;
    line-height: 1.2;
}

.tiles .tile .title,
.tiles .tile .caption {
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
}

/* Tile accent colors */
.tiles .tile:nth-child(1) {
    border-bottom: 3px solid #f59e0b;
}

.tiles .tile:nth-child(2) {
    border-bottom: 3px solid #ef4444;
}

.tiles .tile:nth-child(3) {
    border-bottom: 3px solid #22c55e;
}

.tiles .tile:nth-child(4) {
    border-bottom: 3px solid #06b6d4;
}

/* Icon colors */
.tiles .tile:nth-child(1) i {
    color: #7c237c;
}

.tiles .tile:nth-child(2) i {
    color: #ef4444;
}

.tiles .tile:nth-child(3) i {
    color: #22c55e;
}

.tiles .tile:nth-child(4) i {
    color: #06b6d4;
}

/* Tile text overrides */
.tiles .tile .stat,
.tiles .tile .title,
.tiles .tile h3,
.tiles .tile span,
.tiles .tile .count,
.tiles .tile .number,
.tiles .tile strong {
    color: #334155;
    opacity: 1;
    font-weight: 800;
}

/* =========================================================
   List Group (Services, Tickets, etc.)
========================================================= */

.list-group {
    border-radius: 14px;
    overflow: hidden;
}

.list-group-item {
    border-color: #eef2f7;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.9;
    color: #374151;
    background: #ffffff;
    transition: all 0.18s ease;
}

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

.list-group-item strong {
    color: #111827;
    font-weight: 800;
    font-size: 13px;
}

.list-group-item small {
    color: #6b7280;
    font-size: 12px;
}

/* Status Badges */
.label-success,
.badge-success,
.status-active,
.status.status-active {
    background: #22c55e;
    color: #ffffff;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 700;
}

/* =========================================================
   Announcements & News
========================================================= */

.card-body p {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.9;
}

.card a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.card a:hover {
    color: #1d4ed8;
}

.card small {
    color: #6b7280;
    font-size: 11.5px;
}

.announcement-summary {
    background: #f8fafc;
    border-radius: 12px;
    padding: 10px 12px;
    color: #374151;
}

/* =========================================================
   Header
========================================================= */

.header,
#header,
header.header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045);
    position: relative;
    z-index: 1000;
}

.header .navbar,
#header .navbar {
    background: #ffffff;
    border: none;
    padding-top: 10px;
    padding-bottom: 10px;
}

.header .container {
    max-width: 1180px;
}

/* Logo */
.header .logo,
#header .logo,
.navbar-brand {
    display: inline-flex;
    align-items: center;
    transition: all 0.18s ease;
}

.header .logo img,
#header .logo img,
.navbar-brand img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
    transition: all 0.18s ease;
}

.header .logo:hover,
.navbar-brand:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.logo img,
a.logo img,
.header .logo img,
.navbar-brand img {
    transform: scale(0.90);
    transform-origin: right center;
}

/* Navigation */
.header .navbar-nav .nav-link,
#header .navbar-nav .nav-link {
    color: #374151;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 10px;
    margin: 0 2px;
    line-height: 1.7;
    transition: all 0.18s ease;
}

.header .navbar-nav .nav-link:hover,
#header .navbar-nav .nav-link:hover {
    color: #2563eb;
    background: #eff6ff;
}

.header .navbar-nav .active>.nav-link,
#header .navbar-nav .active>.nav-link {
    color: #2563eb;
    background: #eff6ff;
    font-weight: 800;
}

.header .navbar-nav .nav-link i,
#header .navbar-nav .nav-link i {
    font-size: 12px;
    margin-left: 5px;
    opacity: 0.8;
}

/* Dropdown */
.header .dropdown-menu,
#header .dropdown-menu {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    padding: 8px;
    margin-top: 8px;
    min-width: 210px;
    overflow: hidden;
}

.header .dropdown-menu .dropdown-item,
#header .dropdown-menu .dropdown-item {
    color: #374151;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 9px;
    padding: 8px 10px;
    line-height: 1.7;
    transition: all 0.16s ease;
}

.header .dropdown-menu .dropdown-item:hover,
#header .dropdown-menu .dropdown-item:hover {
    background: #eff6ff;
    color: #2563eb;
}

.header .dropdown-divider,
#header .dropdown-divider {
    border-top: 1px solid #eef2f7;
    margin: 7px 0;
}

/* Topbar */
.topbar,
.header .topbar,
#header .topbar {
    background: #f8fafc;
    border-bottom: 1px solid #eef2f7;
    color: #6b7280;
    font-size: 12px;
    min-height: 34px;
}

.topbar a,
.header .topbar a,
#header .topbar a {
    color: #4b5563;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.16s ease;
}

.topbar a:hover,
.header .topbar a:hover,
#header .topbar a:hover {
    color: #2563eb;
}

.topbar .nav-link,
.header .topbar .nav-link,
#header .topbar .nav-link {
    padding: 6px 9px;
    border-radius: 8px;
}

.topbar .nav-link:hover,
.header .topbar .nav-link:hover,
#header .topbar .nav-link:hover {
    background: #eff6ff;
}

/* Navbar Toggler */
.navbar-toggler,
.header .navbar-toggler,
#header .navbar-toggler {
    border: 1px solid #dbe3ee;
    background: #f8fafc;
    border-radius: 10px;
    padding: 7px 10px;
    box-shadow: none;
    transition: all 0.16s ease;
}

.navbar-toggler:hover,
.header .navbar-toggler:hover,
#header .navbar-toggler:hover {
    background: #eef2f7;
    border-color: #cbd5e1;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

/* =========================================================
   Footer
========================================================= */

footer,
.footer,
#footer,
section.footer {
    background-color: #ffffff;
    color: #6b7280;
    border-top: 1px solid #e5e7eb;
    position: relative;
}

footer::before,
.footer::before,
#footer::before,
section.footer::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(50%);
    width: min(92%, 1120px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.22), rgba(34, 197, 94, 0.18), transparent);
}

footer a,
.footer a,
#footer a,
section.footer a {
    color: #374151;
}

footer a:hover,
.footer a:hover,
#footer a:hover,
section.footer a:hover {
    color: #2563eb;
}

footer *,
.footer *,
#footer *,
section.footer * {
    color: inherit;
}

/* =========================================================
   Order Page - Product Cards
========================================================= */

#order-standard_cart .products .product,
#order-standard_cart .product {
    background: #ffffff;
    border: 1px solid #e5edf5;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    transition: all 0.25s ease;
    margin-bottom: 26px;
    position: relative;
}

#order-standard_cart .products .product:hover,
#order-standard_cart .product:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
    border-color: #cfe3f5;
}

/* Product Header */
#order-standard_cart .products .product header,
#order-standard_cart .product header,
#order-standard_cart .products .product .product-header,
#order-standard_cart .product .product-header {
    background: linear-gradient(135deg, #f8fafc 0%, #eef6ff 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 13px 16px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#order-standard_cart .products .product header,
#order-standard_cart .product header,
#order-standard_cart .products .product header span,
#order-standard_cart .product header span,
#order-standard_cart .products .product header h3,
#order-standard_cart .product header h3,
#order-standard_cart .products .product .product-header,
#order-standard_cart .product .product-header {
    color: #0f172a;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.6;
    margin: 0;
}

/* Product Body */
#order-standard_cart .products .product .product-desc,
#order-standard_cart .products .product .product-details,
#order-standard_cart .products .product .product-body,
#order-standard_cart .products .product .panel-body,
#order-standard_cart .product .product-desc,
#order-standard_cart .product .product-details,
#order-standard_cart .product .product-body,
#order-standard_cart .product .panel-body {
    padding: 18px 20px;
    background: #ffffff;
}

#order-standard_cart .products .product,
#order-standard_cart .product {
    color: #334155;
    font-size: 14px;
    line-height: 1.8;
}

/* Product Features List */
#order-standard_cart .products .product ul,
#order-standard_cart .product ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#order-standard_cart .products .product ul li,
#order-standard_cart .product ul li {
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.85;
    padding: 3px 0;
    border-bottom: 1px dashed #edf2f7;
}

#order-standard_cart .products .product ul li:last-child,
#order-standard_cart .product ul li:last-child {
    border-bottom: none;
}

/* Pricing */
#order-standard_cart .products .product .price,
#order-standard_cart .products .product .pricing,
#order-standard_cart .products .product .product-price,
#order-standard_cart .product .price,
#order-standard_cart .product .pricing,
#order-standard_cart .product .product-price {
    color: #0f172a;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    margin: 10px 0 6px;
}

#order-standard_cart .products .product .price span,
#order-standard_cart .products .product .pricing span,
#order-standard_cart .products .product .price strong,
#order-standard_cart .products .product .pricing strong,
#order-standard_cart .product .price span,
#order-standard_cart .product .pricing span,
#order-standard_cart .product .price strong,
#order-standard_cart .product .pricing strong {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}

#order-standard_cart .products .product small,
#order-standard_cart .product small,
#order-standard_cart .products .product .cycle,
#order-standard_cart .product .cycle {
    color: #64748b;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.6;
}

/* Order Button */
#order-standard_cart .products .product .btn,
#order-standard_cart .products .product .btn-order-now,
#order-standard_cart .product .btn,
#order-standard_cart .product .btn-order-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 11px;
    border: none;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 7px 16px rgba(34, 197, 94, 0.22);
    transition: all 0.2s ease;
}

#order-standard_cart .products .product .btn:hover,
#order-standard_cart .products .product .btn-order-now:hover,
#order-standard_cart .product .btn:hover,
#order-standard_cart .product .btn-order-now:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(34, 197, 94, 0.28);
    color: #ffffff;
}

#order-standard_cart .products .product .btn i,
#order-standard_cart .product .btn i {
    font-size: 13px;
    margin-left: 5px;
}

/* Pricing Container */
#order-standard_cart .products .product .pricing-container,
#order-standard_cart .product .pricing-container {
    padding: 10px 18px 18px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

#order-standard_cart .products .product .pricing-container .price,
#order-standard_cart .product .pricing-container .price,
#order-standard_cart .products .product .pricing-container .pricing,
#order-standard_cart .product .pricing-container .pricing {
    margin: 0;
    text-align: right;
}

#order-standard_cart .products .product a,
#order-standard_cart .product a {
    text-decoration: none;
}

#order-standard_cart .products .product h3,
#order-standard_cart .products .product h4,
#order-standard_cart .product h3,
#order-standard_cart .product h4 {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.6;
}

#order-standard_cart .products .product strong,
#order-standard_cart .product strong {
    font-weight: 800;
}

#order-standard_cart .products .row,
#order-standard_cart .row.products {
    row-gap: 22px;
}

/* =========================================================
   Order Page - Configure & Summary
========================================================= */

#order-standard_cart .configureproduct,
#order-standard_cart .configure-product,
#order-standard_cart .product-info,
#order-standard_cart .order-summary {
    background: #ffffff;
    border: 1px solid #e8eef5;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

#order-standard_cart .configureproduct,
#order-standard_cart .configure-product,
#order-standard_cart .product-info {
    padding: 28px;
}

#order-standard_cart .configureproduct h1,
#order-standard_cart .configureproduct h2,
#order-standard_cart .configureproduct h3,
#order-standard_cart .configure-product h1,
#order-standard_cart .configure-product h2,
#order-standard_cart .configure-product h3,
#order-standard_cart .product-info h1,
#order-standard_cart .product-info h2,
#order-standard_cart .product-info h3 {
    color: #0f172a;
    font-weight: 900;
    font-size: 30px;
    margin-bottom: 10px;
}

#order-standard_cart .configureproduct p,
#order-standard_cart .configureproduct span,
#order-standard_cart .configureproduct label,
#order-standard_cart .configureproduct li,
#order-standard_cart .configure-product p,
#order-standard_cart .configure-product span,
#order-standard_cart .configure-product label,
#order-standard_cart .configure-product li,
#order-standard_cart .product-info p,
#order-standard_cart .product-info span,
#order-standard_cart .product-info label,
#order-standard_cart .product-info li {
    color: #475569;
    line-height: 1.9;
}

#order-standard_cart .configureproduct select,
#order-standard_cart .configureproduct .form-control,
#order-standard_cart .configure-product select,
#order-standard_cart .configure-product .form-control,
#order-standard_cart .product-info select,
#order-standard_cart .product-info .form-control {
    background: #f8fafc;
    border: 1px solid #dbe4ee;
    border-radius: 14px;
    color: #0f172a;
    min-height: 46px;
    box-shadow: none;
    transition: all 0.2s ease;
}

#order-standard_cart .configureproduct select:focus,
#order-standard_cart .configureproduct .form-control:focus,
#order-standard_cart .configure-product select:focus,
#order-standard_cart .configure-product .form-control:focus,
#order-standard_cart .product-info select:focus,
#order-standard_cart .product-info .form-control:focus {
    background: #fff;
    border-color: #38bdf8;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

#order-standard_cart .configureproduct .alert-warning,
#order-standard_cart .configure-product .alert-warning,
#order-standard_cart .product-info .alert-warning {
    background: #fff8dc;
    border: 1px solid #f3df9b;
    color: #7c5a10;
    border-radius: 14px;
    padding: 14px 16px;
}

/* Order Summary */
#order-standard_cart .order-summary {
    overflow: hidden;
    padding: 0;
}

#order-standard_cart .order-summary .summary-title,
#order-standard_cart .order-summary h2,
#order-standard_cart .order-summary h3,
#order-standard_cart .order-summary .card-header,
#order-standard_cart .order-summary .panel-heading {
    background: linear-gradient(135deg, #f8fafc, #eef6ff);
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
    padding: 18px 20px;
    margin: 0;
    font-size: 24px;
    font-weight: 900;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

#order-standard_cart .order-summary .summary-container {
    padding: 18px 20px;
    background: #ffffff;
}

#order-standard_cart .order-summary .product-name,
#order-standard_cart .order-summary .summary-label,
#order-standard_cart .order-summary strong {
    color: #334155;
    font-weight: 800;
}

#order-standard_cart .order-summary .product-group,
#order-standard_cart .order-summary .product-price,
#order-standard_cart .order-summary .summary-amount,
#order-standard_cart .order-summary .billing-cycle {
    color: #64748b;
    font-weight: 600;
}

#order-standard_cart .order-summary .total-due-today,
#order-standard_cart .order-summary .amt,
#order-standard_cart .order-summary .price {
    color: #0f172a;
    font-size: 22px;
    font-weight: 900;
}

#order-standard_cart .order-summary .summary-container div,
#order-standard_cart .order-summary .summary-row {
    border-color: #eef2f7;
}

#order-standard_cart .order-summary .btn,
#order-standard_cart .order-summary .checkout-button,
#order-standard_cart .order-summary button {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.25);
    transition: all 0.2s ease;
}

#order-standard_cart .order-summary .btn:hover,
#order-standard_cart .order-summary .checkout-button:hover,
#order-standard_cart .order-summary button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.3);
}

/* Card Headers in Order */
#order-standard_cart .card>.card-header,
#order-standard_cart .panel>.panel-heading {
    background: linear-gradient(135deg, #f8fafc, #eef6ff);
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
    padding: 18px 20px;
    margin: 0;
    font-size: 20px;
    font-weight: 900;
    text-align: right;
    border-radius: 20px 20px 0 0;
}

/* =========================================================
   Responsive Styles
========================================================= */

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {

    html,
    body {
        font-size: 12.5px;
    }

    body,
    p,
    li,
    a,
    label,
    input,
    select,
    textarea,
    button,
    .form-control,
    .custom-select,
    .input-group-text {
        font-size: 12.5px;
    }

    .table,
    .table th,
    .table td,
    .dataTable,
    .dataTable th,
    .dataTable td {
        font-size: 12px;
    }

    h1,
    .h1 {
        font-size: 20px;
    }

    h2,
    .h2 {
        font-size: 19px;
    }

    h3,
    .h3 {
        font-size: 17px;
    }

    h4,
    .h4 {
        font-size: 15px;
    }

    h5,
    .h5 {
        font-size: 14px;
    }

    h6,
    .h6 {
        font-size: 13px;
    }

    /* Footer Mobile */
    .footer,
    footer.footer,
    #footer,
    section.footer {
        padding: 18px 12px;
        text-align: center;
        margin-top: 22px;
    }

    .footer .row,
    footer.footer .row,
    #footer .row,
    section.footer .row {
        flex-direction: column;
        gap: 8px;
    }

    .footer li,
    footer.footer li,
    #footer li,
    section.footer li {
        margin: 4px 7px;
    }

    .footer li:not(:last-child)::after,
    footer.footer li:not(:last-child)::after,
    #footer li:not(:last-child)::after,
    section.footer li:not(:last-child)::after {
        display: none;
    }

    .footer p,
    footer.footer p,
    #footer p,
    section.footer p,
    .footer a,
    footer.footer a,
    #footer a,
    section.footer a {
        font-size: 12px;
    }

    /* Order Products Mobile */
    #order-standard_cart .products .product,
    #order-standard_cart .product {
        border-radius: 16px;
        margin-bottom: 20px;
    }

    #order-standard_cart .products .product header,
    #order-standard_cart .product header,
    #order-standard_cart .products .product .product-header,
    #order-standard_cart .product .product-header {
        padding: 12px 14px;
        min-height: 52px;
    }

    #order-standard_cart .products .product header,
    #order-standard_cart .product header,
    #order-standard_cart .products .product header span,
    #order-standard_cart .product header span,
    #order-standard_cart .products .product header h3,
    #order-standard_cart .product header h3,
    #order-standard_cart .products .product header h4,
    #order-standard_cart .product header h4 {
        font-size: 16px;
    }

    #order-standard_cart .products .product .price,
    #order-standard_cart .products .product .pricing,
    #order-standard_cart .products .product .product-price,
    #order-standard_cart .product .price,
    #order-standard_cart .product .pricing,
    #order-standard_cart .product .product-price {
        font-size: 18px;
    }

    #order-standard_cart .products .product .btn,
    #order-standard_cart .product .btn {
        min-height: 38px;
        font-size: 13px;
        padding: 0 13px;
    }
}

/* Tablet / Small Desktop (max-width: 991px) */
@media (max-width: 991px) {

    .header,
    #header,
    header.header {
        box-shadow: 0 6px 18px rgba(15, 23, 42, 0.055);
    }

    .header .navbar,
    #header .navbar,
    header.header .navbar {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .header .navbar-collapse,
    #header .navbar-collapse {
        margin-top: 10px;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        padding: 10px;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    }

    .header .navbar-nav .nav-link,
    #header .navbar-nav .nav-link {
        margin: 2px 0;
        padding: 9px 11px;
    }

    .header .dropdown-menu,
    #header .dropdown-menu {
        box-shadow: none;
        border-radius: 12px;
        margin-top: 4px;
        border-color: #eef2f7;
    }

    .navbar-brand img {
        max-height: 38px;
    }
}

/* Small Mobile (max-width: 575px) */
@media (max-width: 575px) {

    .navbar-brand img {
        max-height: 34px;
    }

    .header .navbar,
    #header .navbar,
    header.header .navbar {
        padding-right: 10px;
        padding-left: 10px;
    }

    .topbar,
    .header .topbar,
    #header .topbar {
        font-size: 11.5px;
    }
}

/* =========================================================
   Utilities & Spacing
========================================================= */

#main-body {
    background: #f3f4f6;
    padding-bottom: 18px;
}

#main-body .main-content,
#main-body .primary-content {
    padding-bottom: 28px;
}

.client-home-panels .row,
#main-body .row {
    row-gap: 18px;
}

.client-home-panels {
    margin-top: 18px;
}

.panel,
.well {
    border-radius: 16px;
    border-color: #e5e7eb;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

/* =========================================================
   RTL Support
========================================================= */

html[dir="rtl"] .card-sidebar .sidebar-jalali-date::before {
    margin-left: 0;
    margin-right: 6px;
}

html[dir="rtl"] .header .navbar-nav .nav-link i,
html[dir="rtl"] #header .navbar-nav .nav-link i {
    margin-left: 0;
    margin-right: 5px;
}

html[dir="rtl"] .input-group .form-control {
    border-radius: 10px 0 0 10px;
}

html[dir="rtl"] .input-group .btn,
html[dir="rtl"] .input-group-append .btn {
    border-radius: 0 10px 10px 0;
}

html[dir="rtl"] #order-standard_cart .products .product .btn i,
html[dir="rtl"] #order-standard_cart .product .btn i {
    margin-left: 0;
    margin-right: 5px;
}

html[dir="rtl"] #order-standard_cart .products .product .pricing-container .price,
html[dir="rtl"] #order-standard_cart .product .pricing-container .price {
    text-align: left;
}

html[dir="rtl"] #order-standard_cart .card>.card-header,
html[dir="rtl"] #order-standard_cart .panel>.panel-heading {
    text-align: left;
}