.rh-n8n-wrap {
    margin-top: 20px;
}

.rh-n8n-hero {
    background: linear-gradient(135deg, #071B33 0%, #0E2C52 45%, #2F6BFF 100%);
    border-radius: 18px;
    padding: 28px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 10px 30px rgba(10, 30, 70, 0.18);
    border: 1px solid rgba(255,255,255,0.08);
}

.rh-n8n-hero-left {
    flex: 1 1 520px;
}

.rh-n8n-hero-left h2 {
    color: #fff;
    margin: 10px 0 12px;
    font-size: 32px;
    font-weight: 700;
}

.rh-n8n-hero-left p {
    color: #dce9ff;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.rh-n8n-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    color: #fff;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .4px;
}

.rh-n8n-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.rh-n8n-btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none !important;
    font-weight: 600;
    transition: .25s ease;
}

.rh-n8n-btn-primary {
    background: #fff;
    color: #0E2C52 !important;
}

.rh-n8n-btn-primary:hover {
    background: #eef5ff;
}

.rh-n8n-btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff !important;
}

.rh-n8n-btn-outline:hover {
    background: rgba(255,255,255,0.08);
}

.rh-n8n-url-box {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 14px 16px;
    border-radius: 12px;
}

.rh-n8n-url-box a {
    color: #fff !important;
    font-weight: 600;
    word-break: break-all;
}

.rh-label {
    display: block;
    font-size: 12px;
    color: #cfe0ff;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.rh-n8n-hero-right {
    width: 300px;
    display: grid;
    gap: 14px;
}

.rh-mini-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 16px;
}

.rh-mini-card strong {
    color: #fff;
    font-size: 16px;
}

.rh-n8n-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.rh-n8n-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #dbe7ff;
    box-shadow: 0 8px 24px rgba(30, 84, 211, 0.08);
    overflow: hidden;
}

.rh-card-head {
    padding: 18px 20px;
    border-bottom: 1px solid #edf3ff;
    background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
}

.rh-card-head h3 {
    margin: 0;
    color: #0E2C52;
    font-size: 20px;
    font-weight: 700;
}

.rh-card-body {
    padding: 20px;
}

.rh-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.rh-stat-box {
    background: #f6faff;
    border: 1px solid #e2ecff;
    border-radius: 12px;
    padding: 14px;
}

.rh-stat-box strong {
    color: #0E2C52;
    font-size: 18px;
}

.rh-progress {
    width: 100%;
    height: 14px;
    background: #e9f0fb;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 14px;
}

.rh-progress-bar {
    height: 100%;
    border-radius: 999px;
}

.rh-progress-bar.rh-ok,
.rh-status-ok,
.rh-status-text.rh-status-ok {
    color: #16a34a;
}

.rh-progress-bar.rh-ok {
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.rh-progress-bar.rh-warning {
    background: linear-gradient(90deg, #f59e0b, #ea580c);
}

.rh-progress-bar.rh-danger {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.rh-status-warning,
.rh-status-text.rh-status-warning {
    color: #d97706;
}

.rh-status-danger,
.rh-status-text.rh-status-danger {
    color: #dc2626;
}

.rh-meta-line {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    color: #334155;
    font-size: 14px;
}

.rh-step-list {
    margin: 0;
    padding-left: 18px;
    color: #334155;
    line-height: 1.9;
}

.rh-n8n-notice {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.16);
    color: #fff;
    padding: 14px 16px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .rh-stat-row {
        grid-template-columns: 1fr;
    }

    .rh-n8n-hero-left h2 {
        font-size: 26px;
    }

    .rh-meta-line {
        flex-direction: column;
    }
}


/* Royel Host Modern Product Details Page */
.rh-service-page {
    background:
        radial-gradient(circle at top left, rgba(47, 107, 255, 0.16), transparent 35%),
        radial-gradient(circle at bottom right, rgba(78, 161, 255, 0.16), transparent 35%),
        linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
    border: 1px solid rgba(47, 107, 255, 0.12);
    border-radius: 24px;
    padding: 26px;
    margin: 24px 0;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.rh-alert-wrap {
    margin-bottom: 18px;
}

.rh-glass-card {
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 22px;
    box-shadow: 0 14px 35px rgba(47, 107, 255, 0.10);
}

.rh-product-overview {
    padding: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.rh-product-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.rh-icon-box {
    width: 92px;
    height: 92px;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff, #eaf3ff);
    border: 1px solid #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(47, 107, 255, 0.12);
}

.rh-icon-box img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.rh-small-label {
    display: inline-block;
    color: #2f6bff;
    background: #eaf2ff;
    border: 1px solid #d7e7ff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.rh-product-left h2 {
    margin: 0 0 10px;
    color: #071b33;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.rh-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.rh-status-active {
    background: #dcfce7;
    color: #15803d;
}

.rh-status-suspended {
    background: #ffedd5;
    color: #c2410c;
}

.rh-status-terminated,
.rh-status-cancelled {
    background: #fee2e2;
    color: #b91c1c;
}

.rh-product-right {
    flex: 1;
    max-width: 520px;
}

.rh-domain-box {
    background: linear-gradient(135deg, #071b33, #0e2c52);
    color: #fff;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 12px 28px rgba(7, 27, 51, 0.18);
}

.rh-domain-box span {
    display: block;
    color: #b9d5ff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
}

.rh-domain-box strong {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    word-break: break-all;
}

.rh-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 18px;
}

.rh-info-card {
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(47, 107, 255, 0.12);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.rh-info-card span {
    display: block;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.rh-info-card span i {
    color: #2f6bff;
    margin-right: 6px;
}

.rh-info-card strong {
    color: #071b33;
    font-size: 17px;
    font-weight: 800;
}

.rh-module-area {
    margin-top: 22px;
}

.rh-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2f6bff, #1e54d3);
    color: #ffffff !important;
    border-radius: 12px;
    padding: 13px 18px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 12px 24px rgba(47, 107, 255, 0.24);
}

.rh-primary-btn:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Make n8n module card blend with white/glass page */
.rh-module-area .rh-n8n-wrap {
    margin-top: 0;
}

.rh-module-area .rh-n8n-hero {
    border-radius: 22px;
    box-shadow: 0 16px 38px rgba(7, 27, 51, 0.16);
}

.rh-module-area .rh-n8n-card {
    border-radius: 20px;
    border-color: rgba(47, 107, 255, 0.12);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
}

/* Mobile responsive */
@media (max-width: 991px) {
    .rh-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rh-product-right {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 575px) {
    .rh-service-page {
        padding: 16px;
        border-radius: 18px;
    }

    .rh-product-overview {
        padding: 18px;
    }

    .rh-product-left {
        align-items: flex-start;
    }

    .rh-icon-box {
        width: 72px;
        height: 72px;
        border-radius: 18px;
    }

    .rh-icon-box img {
        width: 46px;
        height: 46px;
    }

    .rh-product-left h2 {
        font-size: 22px;
    }

    .rh-info-grid {
        grid-template-columns: 1fr;
    }
}


/* Royel Host - Services Sidebar Modern Look */
.sidebar .panel,
.sidebar .card,
.panel-sidebar {
    background: rgba(255,255,255,0.88) !important;
    border: 1px solid #dbeafe !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07) !important;
    overflow: hidden !important;
    margin-bottom: 16px !important;
}

.sidebar .panel-heading,
.sidebar .card-header,
.panel-sidebar > .panel-heading {
    background: linear-gradient(135deg, #2f6bff, #1e54d3) !important;
    color: #ffffff !important;
    border: 0 !important;
    padding: 13px 16px !important;
    font-weight: 700 !important;
    border-radius: 0 !important;
}

.sidebar .panel-title,
.sidebar .card-title {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.sidebar .list-group,
.panel-sidebar .list-group {
    padding: 10px !important;
    background: transparent !important;
}

.sidebar .list-group-item,
.panel-sidebar .list-group-item {
    background: #f8fbff !important;
    border: 1px solid #e4efff !important;
    color: #0f172a !important;
    border-radius: 12px !important;
    margin-bottom: 8px !important;
    padding: 10px 12px !important;
    font-weight: 600 !important;
    transition: all .2s ease !important;
}

.sidebar .list-group-item:hover,
.panel-sidebar .list-group-item:hover {
    background: #eaf2ff !important;
    color: #1e54d3 !important;
    transform: translateX(2px);
}

.sidebar .list-group-item.active,
.panel-sidebar .list-group-item.active {
    background: linear-gradient(135deg, #2f6bff, #1e54d3) !important;
    color: #ffffff !important;
    border-color: #2f6bff !important;
}

.sidebar .badge,
.panel-sidebar .badge {
    background: #ffffff !important;
    color: #1e54d3 !important;
    border-radius: 999px !important;
    padding: 5px 8px !important;
    font-weight: 800 !important;
}

/* Professional Email box clean look */
.sidebar .panel img,
.panel-sidebar img {
    max-width: 100% !important;
    height: auto !important;
}

/* Mobile sidebar spacing */
@media (max-width: 768px) {
    .sidebar .panel,
    .panel-sidebar {
        margin-bottom: 12px !important;
        border-radius: 14px !important;
    }

    .sidebar .list-group-item,
    .panel-sidebar .list-group-item {
        font-size: 13px !important;
        padding: 9px 10px !important;
    }
}
/* Royel Host Services Page - Reduce Font Weight */
body,
.rh-services-page,
.rh-services-page table,
.rh-services-page td,
.rh-services-page th,
.rh-services-page a,
.rh-services-page span,
.rh-services-page div {
    font-weight: 400 !important;
}

.rh-services-page h1,
.rh-services-page h2,
.rh-services-page h3,
.rh-services-page .rh-service-title,
.rh-services-page .rh-product-name {
    font-weight: 650 !important;
}

.rh-services-page .rh-filter-btn,
.rh-services-page .rh-action-btn,
.rh-services-page .btn {
    font-weight: 600 !important;
}

.rh-services-page table th {
    font-weight: 600 !important;
}

.rh-services-page table td strong,
.rh-services-page .rh-service-name,
.rh-services-page .rh-plan-name {
    font-weight: 600 !important;
}

/* Optional: reduce big text size a little */
.rh-services-page h1 {
    font-size: 32px !important;
}

.rh-services-page .rh-service-name,
.rh-services-page .rh-plan-name {
    font-size: 16px !important;
}



