@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary: #ff8c42;
    --secondary: #b565f2;
    --accent: #f25cce;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f0d1b;
    --gray-50: #fafafb;
    --gray-100: #f5f4f7;
    --gray-200: #e8e7ed;
    --gray-300: #d4d2db;
    --gray-400: #b8b6c1;
    --gray-500: #9896a3;
    --gray-600: #6b6979;
    --gray-700: #4a4858;
    --gray-900: #1a1825;
    --white: #fff;
}
body {
    font-family: "Inter", sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
	background: #fafafb;
}

html {
	
		background: #fafafb;
	
}

.portal-container {
	
	background: #fafafb;
}

/* ============ SIDEBAR ============ */
.portal-container {
    display: flex;
    min-height: 100vh;
}
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--dark) 0%, #1a1735 100%);
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 200;
    overflow-y: auto;
    transition: transform 0.4s ease;
}
.sidebar.hide {
    transform: translateX(-100%);
}
.sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 900;
    font-size: 1.3rem;
}
.logo-text {
    color: #fff;
    font-weight: 900;
    font-size: 1.5rem;
	margin: 0 auto;
}
.sidebar-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    display: none;
}
.nav-section {
    padding: 1rem;
}
.nav-section-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.5rem;
}
#sidebar .nav-item {
    display: flex;
    align-items: center;
    padding: 0.9rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}
#sidebar .nav-item:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    transform: translateX(6px);
}
#sidebar .nav-item.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
}
.nav-icon {
    margin-right: 0.8rem;
}

/* ============ MAIN CONTENT ============ */
.main-content {
    flex: 1;
    margin-left: 280px;
    background: var(--gray-50);
    transition: margin 0.4s ease;
    min-height: 100vh;
}
.topbar {
    background: rgba(255, 255, 255, 0.95);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 150;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.menu-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-700);
    cursor: pointer;
    display: none;
}
.search-container {
    flex: 1;
    margin: 0 1.5rem;
    max-width: 500px;
}
.search-bar {
    display: flex;
    align-items: center;
    background: var(--gray-100);
    border-radius: 20px;
    padding: 0.6rem 1rem;
}
.search-bar i {
    color: var(--gray-500);
    margin-right: 0.6rem;
}
.search-bar input {
    border: none;
    background: none;
    outline: none;
    width: 100%;
}
.topbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.notification-btn {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 14px;
    background: var(--white);
    position: relative;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.notification-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
}
.notification-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 10px;
    height: 10px;
    background: var(--danger);
    border-radius: 50%;
    border: 2px solid var(--white);
}
.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--white);
    border-radius: 20px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
}
.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 700;
}
.user-name {
    font-weight: 700;
    font-size: 0.95rem;
}
.user-plan {
    font-size: 0.8rem;
    color: var(--gray-600);
}
.dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0.5rem 0;
    display: none;
    min-width: 160px;
}
.dropdown.show {
    display: block;
    animation: fadeIn 0.3s ease;
}
.dropdown li {
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    color: var(--gray-700);
    font-weight: 500;
    transition: 0.3s;
}
.dropdown li:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.dashboard-content {
    padding: 2rem;
    max-width: 1800px;
    margin: 0 auto;
}
.welcome-text {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.3rem;
}
.welcome-subtitle {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

/* ====== Cards & Layout ====== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.stat-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.stat-label {
    color: var(--gray-600);
    font-weight: 600;
}
.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.success {
    background: linear-gradient(135deg, var(--success), #0d9663);
}
.secondary {
    background: linear-gradient(135deg, var(--secondary), #9333ea);
}
.warning {
    background: linear-gradient(135deg, var(--warning), #ef4444);
}
.stat-value {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}
.stat-change {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.positive {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}
.negative {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.chart-card,
.quick-actions-card,
.sites-section {
    background: var(--white);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.chart-container {
    height: 250px;
    display: flex;
    align-items: flex-end;
    gap: 0.8rem;
}
.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 12px 12px 0 0;
    transition: 0.3s;
}
.chart-bar:hover {
    transform: translateY(-8px);
}
.action-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.action-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 18px;
    transition: 0.3s;
}
.action-item:hover {
    background: var(--white);
    box-shadow: 0 8px 24px rgba(255, 140, 66, 0.2);
}
.action-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 1.2rem;
    margin-right: 1rem;
}
.action-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--gray-900);
}

.sites-section table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.75rem;
}
.sites-section td,
th {
    padding: 1rem;
    text-align: left;
}
.sites-section tr:hover td {
    background: var(--white);
}

.sites-section tr:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.site-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.site-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}
.status-badge.active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}
.action-btn {
    padding: 0.6rem 1rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.action-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.action-btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
}

/* ============ RESPONSIVE ADJUSTMENTS ============ */
@media (max-width: 1200px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.show {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
    }
    .menu-btn {
        display: block;
    }
    .sidebar-toggle {
        display: block;
    }
    .search-container {
        display: none;
    }
    .topbar {
        padding: 0 1rem;
    }
    .dashboard-content {
        padding: 1.2rem;
    }
}
@media (max-width: 768px) {
    .welcome-text {
        font-size: 1.6rem;
    }
    .stat-value {
        font-size: 1.6rem;
    }
    .stat-card {
        padding: 1.2rem;
    }
    .chart-container {
        height: 200px;
    }
    .sites-section table,
    .sites-section thead {
        display: block;
    }
    .sites-section tr {
        display: block;
        background: var(--white);
        margin-bottom: 1rem;
        border-radius: 16px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }
    .sites-section td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: none;
        padding: 0.8rem 1rem;
    }
    .sites-section th {
        display: none;
    }
    .site-info {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 480px) {
    .topbar-actions {
        gap: 0.5rem;
    }
    .notification-btn {
        width: 40px;
        height: 40px;
    }
    .user-menu {
        padding: 0.3rem 0.6rem;
    }
    .user-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    .user-name {
        font-size: 0.8rem;
    }
    .stats-grid {
        gap: 1rem;
    }
    .stat-card {
        padding: 1rem;
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== تحسين شكل بطاقات المواقع على الموبايل ====== */
@media (max-width: 768px) {
    .sites-section {
        padding: 1.5rem;
    }

    .sites-section table,
    .sites-section thead,
    .sites-section tbody,
    .sites-section tr,
    .sites-section td {
        display: block;
        width: 100%;
    }

    .sites-section thead {
        display: none;
    }

    .sites-section tr {
        background: var(--white);
        border-radius: 16px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
        margin-bottom: 1.2rem;
        overflow: hidden;
        padding: 1.2rem;
    }

    .sites-section td {
        border: none;
        padding: 0.6rem 0;
    }

    .site-info {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .site-icon {
        width: 54px;
        height: 54px;
        flex-shrink: 0;
        border-radius: 14px;
    }

    .site-name {
        font-size: 1.05rem;
        font-weight: 700;
    }

    .site-url {
        font-size: 0.9rem;
        color: var(--gray-600);
    }

    .status-badge {
        background: rgba(16, 185, 129, 0.1);
        color: var(--success);
        display: inline-block;
        margin: 0.5rem 0;
    }

    .sites-section td:nth-child(3),
    .sites-section td:nth-child(4) {
        font-size: 1rem;
        font-weight: 600;
        color: var(--gray-900);
    }

    .action-btn {
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: 10px;
        text-align: center;
        font-size: 0.95rem;
        font-weight: 600;
        margin-top: 0.8rem;
        background: var(--gray-50);
    }

    .action-btn.primary {
        width: auto;
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }
}

.time-btn {
    background: none;
    border: none;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: 0.3s;
}
.time-btn.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.chart-container {
    height: 200px;
    display: flex;
    align-items: flex-end;
    gap: 0.8rem;
}
.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--secondary), var(--primary));
    border-radius: 10px 10px 0 0;
    height: 60%;
    transition: 0.3s;
}
.chart-bar:hover {
    transform: translateY(-4px);
}



.nav-item a {
	
	
	
color: rgba(255, 255, 255, 0.7);


}


.nav-item a:hover {
	
	
	
color: #fff;


}

/* ---------- WebVibo Stats Style for WHMCS Tiles ---------- */
.tiles .tile-card {
  position: relative;
  display: block;
  background: #fff;
  border-radius: 22px;
  padding: 1.8rem 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
  text-decoration: none;
  color: #1a1825;
  overflow: hidden;
}
.tiles .tile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* Header row (title + icon) */
.tile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.tile-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #6b6979;
}

/* Icon */
.tile-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}
.gradient-orange {
  background: linear-gradient(135deg, #ff8c42, #b565f2);
}
.gradient-green {
  background: #10b981;
}
.gradient-purple {
  background: #8b5cf6;
}

/* Main number */
.tile-stat {
  font-size: 1.9rem;
  font-weight: 900;
  color: #1a1825;
  margin-bottom: 0.6rem;
}

/* Badge below number */
.tile-badge {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 0.4rem 0.8rem;
}
.tile-badge.positive {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}
.tile-badge.negative {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

/* Responsive */
@media (max-width: 768px) {
  .tile-card {
    padding: 1.2rem 1rem;
    border-radius: 18px;
  }
  .tile-stat {
    font-size: 1.5rem;
  }
  .tile-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
}



/* ---------- WebVibo Panels (WHMCS Cards) ---------- */
.webvibo-panels {
  margin-top: 2rem;
}
.webvibo-panels .main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}
.webvibo-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: 0.3s ease;
}
.webvibo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* Card header */
.webvibo-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.2rem 1.5rem;
}
.webvibo-card .card-title {
  font-weight: 800;
  color: #1a1825;
  font-size: 1.15rem;
}
.webvibo-card .card-header i {
  color: #b565f2;
}

/* Card body */
.webvibo-card .card-body {
  padding: 1.8rem 1.5rem;
  color: #4a4858;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* List style (Quick actions look) */
.webvibo-card .list-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
}
.webvibo-card .list-group-item {
  background: #fafafb;
  border: none;
  border-radius: 16px;
  padding: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  transition: 0.3s;
}
.webvibo-card .list-group-item:hover {
  background: #fff;
  box-shadow: 0 8px 20px rgba(255, 140, 66, 0.15);
}

/* Footer */
.webvibo-card .card-footer {
  background: #fafafb;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding: 1.2rem 1.5rem;
}

/* Animation */
.webvibo-card {
  animation: fadeUp .5s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .webvibo-panels .main-grid {
    grid-template-columns: 1fr;
  }
}



:root {
  --primary: #ff8c42;
  --secondary: #b565f2;
  --gray-100: #fafafb;
  --gray-300: #d4d2db;
  --gray-600: #6b6979;
  --gray-900: #1a1825;
  --white: #fff;
}

/* -------- Dashboard Layout -------- */
.webvibo-dashboard {
  background: var(--gray-100);
  color: var(--gray-900);
  animation: fadeIn 0.5s ease;
}

/* --------- Stats Cards --------- */
.tile-card {
  display: block;
  background: #fff;
  border-radius: 22px;
  padding: 1.5rem 1.2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  text-decoration: none;
  color: var(--gray-900);
}
.tile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.tile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tile-title {
  font-weight: 700;
  color: var(--gray-600);
}
.tile-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.gradient-orange {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.gradient-green {
  background: linear-gradient(135deg, #10b981, #059669);
}
.gradient-purple {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}
.tile-stat {
  font-size: 1.9rem;
  font-weight: 900;
  margin-top: 0.8rem;
}
.tile-badge {
  display: inline-block;
  margin-top: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 10px;
  padding: 0.4rem 0.8rem;
}
.tile-badge.positive {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}
.tile-badge.negative {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

/* --------- Main Grid --------- */
.main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

/* --------- Chart Card --------- */
.chart-card,
.quick-actions-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.card-header {
  display: flex;
  justify-content: space-between;
}
.card-title {
  font-weight: 800;
  color: var(--gray-900);
}
.time-selector {
  display: flex;
  gap: 0.5rem;
}
.time-btn {
  background: none;
  border: none;
  font-weight: 600;
  color: var(--gray-600);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
}
.time-btn.active {
  background: var(--white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: var(--primary);
}
.chart-container {
  display: flex;
  align-items: flex-end;
  height: 240px;
  padding: 1.5rem;
  gap: 0.8rem;
}
.chart-bar {
  flex: 1;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, var(--secondary), var(--primary));
  transition: 0.3s;
}
.chart-bar:hover {
  transform: translateY(-6px);
}

/* --------- Quick Actions --------- */
.action-list {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 1rem;
}
.action-item {
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border-radius: 18px;
  padding: 1rem;
  transition: 0.3s;
}
.action-item:hover {
  background: var(--white);
  box-shadow: 0 8px 24px rgba(255, 140, 66, 0.2);
}
.action-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  margin-right: 1rem;
}
.action-title {
  font-weight: 700;
  color: var(--gray-900);
}
.action-description {
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* --------- Sites Table --------- */
.sites-section {
  margin-top: 2rem;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.sites-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.75rem;
  padding: 1.5rem;
}
.sites-table th {
  text-align: left;
  color: var(--gray-600);
  font-weight: 600;
  padding: 1rem;
}
.sites-table td {
  padding: 1rem;
  background: #fff;
}
.site-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.site-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.status-badge.active {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border-radius: 20px;
  padding: 0.4rem 0.8rem;
}
.action-btn {
  border: none;
  background: var(--gray-100);
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}
.action-btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
}
.action-btn:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* --------- Animation --------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------- Responsive --------- */
@media (max-width: 992px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
  .sites-section {
    overflow-x: auto;
  }
}


.performance-summary {
  background: linear-gradient(135deg, #fdfbfb, #ebedee);
  border-radius: 20px;
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  color: #1a1825;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.performance-summary i {
  color: #ff8c42;
  font-size: 1.4rem;
}
.performance-summary strong {
  color: #059669;
}




.notifications-wrapper{position:relative}
.notif-dropdown{
  display:none;position:absolute;right:0;top:55px;background:#fff;border-radius:12px;
  box-shadow:0 8px 24px rgba(0,0,0,.1);width:280px;z-index:999;overflow:hidden
}
.notif-item{display:block;padding:.9rem 1rem;border-bottom:1px solid rgba(0,0,0,.06);color:#1a1825;text-decoration:none}
.notif-item:hover{background:#fafafb}
.notif-empty{padding:1rem;text-align:center;color:#6b7280}
.notif-footer{padding:.6rem 1rem;background:#fafafb;text-align:right}
.notif-footer a{font-weight:600;text-decoration:none}


.topbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ====== CART BUTTON ====== */
.cart-btn {
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 14px;
  background: var(--white);
  position: relative;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--dark);
}

.cart-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
}

.cart-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  background: var(--danger);
  border-radius: 50%;
  border: 2px solid var(--white);
}

/* ====== NOTIFICATION BUTTON ====== */
.notification-btn {
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 14px;
  background: var(--white);
  position: relative;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
}

.notification-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
}

.notification-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  background: var(--danger);
  border-radius: 50%;
  border: 2px solid var(--white);
}



#order-standard_cart .cart-sidebar {

  display: none;
}


#order-standard_cart .cart-body {
   width: 100%!important;

}


.margin-bottom {
	
	margin-bottom: 50px;
	
}

.breadcrumb-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  padding: 0.7rem 1.2rem;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  transition: all 0.3s ease;
}

.breadcrumb-bar:hover {
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.1);
}

.breadcrumb-bar a {
  text-decoration: none;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s ease;
}

.breadcrumb-bar a:hover {
  color: var(--secondary);
}

.breadcrumb-bar i {
  font-size: 1rem;
  opacity: 0.8;
}

.breadcrumb-sep {
  color: #999;
  font-weight: 600;
  font-size: 1rem;
}

.current {
  color: #777;
  font-weight: 600;
}
.breadcrumb{
	background: #fff!important;

	margin-bottom: 0px!important;
	
}


.dropdown li a {

  color: var(--gray-700);

}





/* ===========================
   CHART CARD - WHITE THEME
   =========================== */
.chart-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.5rem;
  color: #222;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.chart-card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.chart-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.chart-card .card-title {
  font-weight: 700;
  font-size: 18px;
  color: #222;
}

.time-selector {
  display: flex;
  gap: 8px;
}

.time-btn {
  background: #f6f6f9;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 6px 16px;
  border-radius: 10px;
  color: #444;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.04);
}

.time-btn:hover {
  background: linear-gradient(135deg, #ff9966, #a959d3);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(169, 89, 211, 0.4);
  transform: translateY(-2px);
}

.time-btn.active {
  background: linear-gradient(135deg, #ff7e5f, #a959d3);
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(169, 89, 211, 0.45);
  transform: translateY(-1px);
}

.time-selector {
  display: flex;
  gap: 8px;
  align-items: center;
}


.chart-container {
  position: relative;
  width: 100%;
  height: 240px;
  margin-top: 10px;
}

/* ===========================
   CHART.JS LABELS + AXES FIX
   =========================== */
canvas#metricsChart {
  background: transparent;
}

/* محور X و Y */
.chartjs-render-monitor text {
  fill: #333 !important; /* النصوص تكون غامقة */
  font-weight: 600;
}

/* خطوط الشبكة */
.chartjs-render-monitor line {
  stroke: rgba(0, 0, 0, 0.08) !important;
}

/* Tooltip */
.chartjs-tooltip {
  background: #fff !important;
  color: #222 !important;
  border-radius: 6px !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  font-size: 13px !important;
  padding: 6px 10px !important;
}

/* ===========================
   ADDITIONAL TEXT FIXES
   =========================== */
.chart-card .chartjs-size-monitor,
.chart-card canvas {
  border-radius: 12px;
}

.chart-card .chartjs-legend {
  color: #222 !important;
}

.chart-card p,
.chart-card span,
.chart-card label {
  color: #333 !important;
}



.chart-container-multi {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 70px;
  flex-wrap: wrap;
  
}

.chart-box {
  flex: 1;
  min-width: 280px;
  background: #fff;
  border-radius: 14px;
  padding: 15px 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  text-align: center;
  transition: transform 0.3s ease;
}

.chart-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.08);
}

.chart-box h4 {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #333;
}

.chart-box canvas {
  width: 100% !important;
  height: 140px !important;
}



#frmDomainHomepage {
	
	display: none!important;
	
}



#order-standard_cart .header-lined {
	
	padding-left: 20px;
  padding-top: 20px;
	
}

/* ==========================================================
   WebVibo — Domain Step (Scoped)
   Scope wrapper: #order-standard_cart
   ========================================================== */
#order-standard_cart {
  --wv-primary: #ff8c42;
  --wv-secondary: #b565f2;
  --wv-accent: #f25cce;
  --wv-success: #10b981;
  --wv-danger: #ef4444;
  --wv-gray-50: #fafafb;
  --wv-gray-100: #f5f4f7;
  --wv-gray-200: #e8e7ed;
  --wv-gray-300: #d4d2db;
  --wv-gray-600: #6b6979;
  --wv-text: #1a1825;
  --wv-white: #fff;
  --wv-card: #fff;
  --wv-shadow-sm: 0 6px 18px rgba(0,0,0,.06);
  --wv-shadow-md: 0 10px 26px rgba(0,0,0,.08);
  --wv-shadow-lg: 0 18px 44px rgba(0,0,0,.10);
  font-family: "Inter", sans-serif;
  color: var(--wv-text);
  background: var(--wv-gray-50);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--wv-shadow-sm);
}

/* ---------- Header ---------- */
#order-standard_cart .header-lined {
  border: 0;
  margin: 0 0 18px;
}
#order-standard_cart .header-lined h1,
#order-standard_cart h1.font-size-36 {
  font-size: 34px !important;
  line-height: 1.15;
  margin: 0;
  font-weight: 900;
  letter-spacing: .2px;
  background: linear-gradient(135deg, var(--wv-primary), var(--wv-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Left mini-panels (Categories / Actions) ---------- */
#order-standard_cart .sidebar-collapsed .panel.card.panel-default {
  background: var(--wv-card) !important;
  border: none !important;
  border-radius: 18px !important;
  box-shadow: var(--wv-shadow-sm) !important;
  overflow: hidden;
}
#order-standard_cart .sidebar-collapsed .panel-heading.card-header {
  background: linear-gradient(135deg, var(--wv-primary), var(--wv-secondary));
  color: #fff;
  border: none;
  padding: 12px 14px;
}
#order-standard_cart .sidebar-collapsed .panel-title {
  font-weight: 800;
  font-size: 15px;
}
#order-standard_cart .sidebar-collapsed .panel-body.card-body {
  background: var(--wv-white);
  padding: 14px;
}
#order-standard_cart .sidebar-collapsed select.form-control {
  border: 1px solid var(--wv-gray-200);
  background: var(--wv-gray-100);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 600;
  color: var(--wv-text);
  transition: .25s;
}
#order-standard_cart .sidebar-collapsed select.form-control:hover {
  background: #fff;
  border-color: var(--wv-secondary);
}

/* ---------- Domain Options block ---------- */
#order-standard_cart .domain-selection-options {
  background: var(--wv-card);
  border-radius: 22px;
  overflow: hidden;
}

/* Single option row (accordion-like) */
#order-standard_cart .domain-selection-options .option {
  position: relative;
  padding: 0;
  border-bottom: 1px solid #f0eff5;
}
#order-standard_cart .domain-selection-options .option:last-child {
  border-bottom: 0;
}

/* Option label */
#order-standard_cart .domain-selection-options .option > label {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 15px 18px;
  font-weight: 700;
  color: var(--wv-text);
  cursor: pointer;
  background: #f7f7fb;
  transition: background .25s ease, color .25s ease;
  user-select: none;
  border-bottom: 1px solid #eee;
}

/* Checked state (modern browsers) */
#order-standard_cart .domain-selection-options .option:has(input[type="radio"]:checked) > label {
  background: linear-gradient(135deg, rgba(255,140,66,.12), rgba(181,101,242,.12));
  color: #2a2540;
}

/* Radio control */
#order-standard_cart .domain-selection-options input[type="radio"] {
  accent-color: var(--wv-secondary);
  width: 18px; height: 18px;
  flex: 0 0 18px;
}

/* ---------- Input group card ---------- */
#order-standard_cart .domain-input-group {
  background: #fbfbfe;
  padding: 16px 18px;
  border-left: 3px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
#order-standard_cart .option:has(input[type="radio"]:checked) .domain-input-group {
  border-left-color: var(--wv-secondary);
  background: #ffffff;
  box-shadow: var(--wv-shadow-sm) inset;
  border-radius: 0 0 16px 16px;
}

/* Input group pieces */
#order-standard_cart .input-group-addon.input-group-prepend .input-group-text {
  background: #fff !important;
  border: 1px solid var(--wv-gray-200) !important;
  border-right: 0 !important;
  color: var(--wv-gray-600);
  font-weight: 700;
  border-radius: 12px 0 0 12px !important;
  padding: 10px 14px !important;
}
#order-standard_cart .domains-row .form-control {
  border: 1px solid var(--wv-gray-200);
  border-radius: 0 12px 12px 0;
  padding: 10px 12px;
  height: 42px;
  transition: .25s;
  background: #fff;
}
#order-standard_cart .domains-row select.form-control#registertld,
#order-standard_cart .domains-row select.form-control#transfertld,
#order-standard_cart .domains-row input.form-control#owndomaintld {
  border-radius: 12px !important;
}
#order-standard_cart .domains-row .form-control:focus {
  border-color: var(--wv-secondary);
  box-shadow: 0 0 0 4px rgba(181,101,242,.12);
  outline: 0;
}

/* ---------- Primary buttons (Check / Transfer / Use / Continue) ---------- */
#order-standard_cart .btn.btn-primary,
#order-standard_cart .btn.btn-primary.btn-block {
  background: linear-gradient(135deg, var(--wv-primary), var(--wv-secondary)) !important;
  border: 0 !important;
  color: #fff !important;
  font-weight: 800;
  letter-spacing: .2px;
  border-radius: 12px !important;
  padding: 10px 18px !important;
  height: 50px;
  box-shadow: 0 10px 24px rgba(255,140,66,.18);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
#order-standard_cart .btn.btn-primary:hover {
  transform: translateY(-1px);
  filter: saturate(1.06);
  box-shadow: 0 14px 30px rgba(181,101,242,.25);
}
#order-standard_cart .btn.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

/* ---------- Search results container ---------- */
#order-standard_cart #DomainSearchResults {

  margin-top: 20px;
}

/* Loader line */
#order-standard_cart #primaryLookupSearching.domain-lookup-loader {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--wv-secondary);
}
#order-standard_cart #primaryLookupSearching i {
  background: linear-gradient(135deg, var(--wv-primary), var(--wv-secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  font-size: 18px;
}

/* Success / Unavailable / Transfer cards */
#order-standard_cart #primaryLookupResult {
  margin-top: 6px;
}

/* Available */
#order-standard_cart #primaryLookupResult .domain-available.headline {
  display: inline-block;
  background: linear-gradient(180deg, rgba(16,185,129,.12), rgba(16,185,129,.06));
  color: #059669;
  border: 1px solid rgba(16,185,129,.25);
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 900;
  box-shadow: inset 0 0 0 3px rgba(16,185,129,.08);
}

/* Unavailable */
#order-standard_cart #primaryLookupResult .domain-unavailable.headline {
  display: inline-block;
  background: linear-gradient(180deg, rgba(239,68,68,.10), rgba(239,68,68,.05));
  color: #b91c1c;
  border: 1px solid rgba(239,68,68,.25);
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 800;
}

/* Transfer eligible block text */
#order-standard_cart #primaryLookupResult .transfer-eligible .domain-checker-available {
  color: #059669;
  font-weight: 800;
}
#order-standard_cart #primaryLookupResult .transfer-not-eligible .domain-checker-unavailable {
  color: #b91c1c;
  font-weight: 800;
}

/* CTA inside results */
#order-standard_cart #primaryLookupResult .domain-contact-support.headline {
  margin-top: 10px;
  background: linear-gradient(135deg, var(--wv-primary), var(--wv-secondary));
  color: #fff;
  border-radius: 12px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(255,140,66,.18);
}
#order-standard_cart #primaryLookupResult .domain-contact-support.headline:hover {
  box-shadow: 0 14px 30px rgba(181,101,242,.24);
}

/* ---------- Breadcrumb & spacing harmony ---------- */
#order-standard_cart .breadcrumb,
#order-standard_cart .breadcrumb-bar {
  background: var(--wv-white) !important;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  padding: 8px 12px !important;
  margin-bottom: 16px !important;
}

/* ---------- Form tooltips (bootstrap manual) ---------- */
#order-standard_cart [data-toggle="tooltip"][data-trigger="manual"] {
  border-color: #f97316 !important;
  box-shadow: 0 0 0 3px rgba(249,115,22,.15) !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  #order-standard_cart { padding: 20px; }
  #order-standard_cart .btn.btn-primary.btn-block { width: 100%; }
  #order-standard_cart .domains-row .col-3,
  #order-standard_cart .domains-row .col-xs-3 { margin-top: 8px; }
}
@media (max-width: 576px) {
  #order-standard_cart .header-lined h1 { font-size: 28px !important; }
  #order-standard_cart .domain-selection-options .option > label { padding: 14px; }
  #order-standard_cart .domain-input-group { padding: 14px; }
}


#order-standard_cart .products {
  padding-left: 40px;
  padding-right: 40px;
}

