/* Skndom site identity and shared page surfaces */

:root {
    --sk-brand-900: #052c1e;
    --sk-brand-700: #0a4a32;
    --sk-brand-600: #198754;
    --sk-brand-500: #20c997;
    --sk-brand-shadow: 0 20px 40px rgba(5, 44, 30, 0.12);
    --sk-font-ui: "Cairo", "Segoe UI", Tahoma, sans-serif;
}

body,
button,
input,
select,
textarea {
    font-family: var(--sk-font-ui);
    text-rendering: optimizeLegibility;
}

.navbar {
    background: var(--sk-brand-900) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1080 !important;
}

.app-navbar-spacer { height: 92px; }

.mobile-cta-bar {
    position: fixed;
    right: 12px;
    left: 12px;
    bottom: 12px;
    z-index: 1090;
    background: rgba(5, 44, 30, 0.95);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
    padding: 8px;
    display: none;
}

.navbar-scrolled {
    padding-top: 0.5rem !important;
    padding-bottom: 0.6rem !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--sk-brand-500);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.navbar-toggler {
    border: none;
    outline: none;
}

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

.footer-link:hover { color: var(--sk-brand-600) !important; }

.payment-logos img {
    transition: all 0.3s ease;
    opacity: 1;
    cursor: pointer;
    background: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    object-fit: contain;
}

.payment-logos img:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.form-control:focus,
.form-select:focus,
.btn:focus {
    border-color: var(--sk-brand-600) !important;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.15) !important;
    outline: none !important;
}

@keyframes pulse-green {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(32, 201, 151, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(32, 201, 151, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(32, 201, 151, 0); }
}

.btn-pulse {
    animation: pulse-green 2s infinite;
    border: none !important;
}

.page-header {
    background: linear-gradient(135deg, var(--sk-brand-900) 0%, var(--sk-brand-600) 100%);
    color: white;
    padding: 6rem 0 4rem;
    border-radius: 0 0 2rem 2rem;
}

.step-card {
    border: none;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    background: var(--bs-card-bg);
    position: relative;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--sk-brand-600);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(25, 135, 84, 0.3);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(25, 135, 84, 0.1);
    color: var(--sk-brand-600);
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.rating-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 6px;
}

.rating-stars input { display: none; }

.rating-stars label {
    cursor: pointer;
    font-size: 2rem;
    color: #ced4da;
    transition: color 0.2s ease;
}

.rating-stars input:checked ~ label,
.rating-stars label:hover,
.rating-stars label:hover ~ label {
    color: #ffc107;
}

.progress-track {
    height: 12px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(25, 135, 84, 0.12);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--sk-brand-500), var(--sk-brand-600));
}

.ask-ai-header {
    background: linear-gradient(135deg, var(--sk-brand-900) 0%, #0d6efd 55%, var(--sk-brand-500) 100%);
    color: white;
    padding: 3rem 0 5rem;
    border-radius: 0 0 2rem 2rem;
}

.settings-card {
    border: none;
    border-radius: 1.5rem;
    background: var(--bs-card-bg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.process-log { max-height: 350px; overflow-y: auto; }
.log-accepted { border-right: 4px solid #198754; }
.log-rejected { border-right: 4px solid #dc3545; }
.log-published { border-right: 4px solid #0d6efd; }

.watched-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    background: var(--bs-info-bg-subtle);
    border: 1px solid var(--bs-info-border-subtle);
    font-size: 0.85rem;
}

.prompt-area { min-height: 120px; border-radius: 1rem; font-size: 0.9rem; }
.stat-pill { padding: 1rem; border-radius: 1rem; text-align: center; }

#liveLogs {
    max-height: 300px;
    overflow-y: auto;
    background: #1a1a2e;
    color: #16c79a;
    border-radius: 1rem;
    padding: 1rem;
    font-family: "Courier New", monospace;
    font-size: 0.8rem;
    direction: ltr;
    text-align: left;
}

.automation-header {
    background: linear-gradient(135deg, var(--sk-brand-900) 0%, #10281f 100%);
    color: var(--bs-emphasis-color);
    padding: 5rem 0 8rem;
    border-radius: 0 0 3rem 3rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.bot-card {
    border: 1px solid var(--bs-border-color-subtle);
    border-radius: 2rem;
    transition: all 0.3s ease;
    background: var(--bs-card-bg);
    overflow: hidden;
    position: relative;
}

.bot-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.bot-status-pulse {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 8px;
}

.status-active {
    background: var(--bs-success);
    box-shadow: 0 0 0 0 rgba(var(--bs-success-rgb), 0.7);
    animation: pulse-green 2s infinite;
}

.status-inactive { background: #dc3545; }
.system-badge { font-size: 0.7rem; padding: 5px 12px; border-radius: 50px; font-weight: bold; text-transform: uppercase; }
.glass-form { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-radius: 2rem; border: 1px solid rgba(25, 135, 84, 0.1); }
.tweet-preview { border: 1px solid #e1e8ed; border-radius: 1.5rem; padding: 1.5rem; background: #f8f9fa; }
.task-card { border: none; border-radius: 1.5rem; transition: all 0.3s ease; background: white; border-right: 5px solid transparent; }
.task-card:hover { transform: translateX(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important; }
.task-pending { border-right-color: #ffc107; }
.task-completed { border-right-color: #198754; }
.task-failed { border-right-color: #dc3545; }
.x-small { font-size: 0.7rem; }
.inventory-card { background: var(--bs-success-bg-subtle); border: 1px dashed var(--bs-success-border-subtle); border-radius: 1.5rem; }
.account-node { border-left: 4px solid var(--bs-success); background: var(--bs-tertiary-bg); }
.btn-activate { background: var(--bs-success); color: white; border: none; transition: 0.3s; }
.btn-activate:hover { background: #2ea043; color: white; transform: scale(1.05); }

.hero-section {
    background: linear-gradient(135deg, var(--sk-brand-900) 0%, var(--sk-brand-600) 100%);
    color: white;
    padding: 100px 0;
    border-radius: 0 0 50px 50px;
}

.stat-badge {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    font-size: 0.95rem;
    white-space: nowrap;
}

.feature-icon-small {
    width: 40px;
    height: 40px;
    background: rgba(25, 135, 84, 0.1);
    color: var(--sk-brand-600);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.system-card {
    border: 1px solid var(--bs-border-color-subtle);
    border-radius: 25px;
    transition: all 0.3s ease;
    height: 100%;
    background: var(--bs-card-bg);
}

.system-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.about-section { background: url('https://www.transparenttextures.com/patterns/cubes.png'), linear-gradient(135deg, var(--bs-tertiary-bg) 0%, var(--bs-secondary-bg) 100%); }
.accordion-button:not(.collapsed) { background-color: rgba(25, 135, 84, 0.1); color: var(--bs-success); }
.saudi-badge { border: 1px solid var(--sk-brand-600); color: var(--sk-brand-600); background: white; }
.engine-gradient { background: linear-gradient(45deg, var(--sk-brand-600), var(--sk-brand-500)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.why-us-card {
    background: var(--bs-card-bg);
    border: 1px solid var(--bs-border-color-subtle);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
    position: relative;
}

.why-us-card:hover {
    border-color: var(--sk-brand-600);
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.float-animation { animation: float 5s ease-in-out infinite; }

.testimonial-card {
    background: var(--bs-card-bg);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--bs-border-color-subtle);
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover { border-color: var(--bs-success); }
.client-img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bs-success); }
.quote-icon { font-size: 2rem; color: var(--bs-success); opacity: 0.2; }
.swiper-pagination-bullet-active { background: var(--bs-success) !important; }

.services-hero {
    background: linear-gradient(135deg, var(--sk-brand-900) 0%, var(--sk-brand-700) 50%, #064429 100%);
    color: white;
    padding: 4rem 0 6rem;
    border-radius: 0 0 2.5rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(32,201,151,0.08) 0%, transparent 70%);
}

.service-card { border: none; border-radius: 1.5rem; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); overflow: hidden; height: 100%; background: var(--bs-card-bg, #fff); }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,0.12) !important; }
.service-icon-wrap { width: 70px; height: 70px; border-radius: 1.2rem; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; transition: all 0.3s; }
.service-card:hover .service-icon-wrap { transform: scale(1.1) rotate(-5deg); }
.free-badge { background: linear-gradient(135deg, var(--sk-brand-600), var(--sk-brand-500)); font-size: 0.7rem; padding: 4px 12px; border-radius: 50px; }
.price-display { font-size: 2rem; font-weight: 800; color: var(--sk-brand-600); }
.price-unit { font-size: 0.8rem; color: #6c757d; }
.qty-input { font-size: 1.2rem; font-weight: 700; text-align: center; border-radius: 1rem; }
.option-check { border-radius: 0.8rem; transition: all 0.2s; cursor: pointer; }
.option-check:hover { background: var(--bs-success-bg-subtle) !important; }
.option-check.active { border-color: var(--sk-brand-600) !important; background: var(--bs-success-bg-subtle) !important; }

.premium-card {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 2rem !important;
    transition: all 0.4s ease;
}

.premium-card:hover { box-shadow: var(--sk-brand-shadow) !important; }
.form-select-premium { background-color: rgba(25, 135, 84, 0.05) !important; border: 1px solid rgba(25, 135, 84, 0.1) !important; padding: 1.2rem !important; border-radius: 16px !important; font-weight: 500; }
.duration-btn-premium { border: 1px solid rgba(0, 0, 0, 0.05) !important; background: rgba(255, 255, 255, 0.9) !important; border-radius: 16px !important; padding: 1.2rem !important; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.btn-check:checked + .duration-btn-premium { background: var(--sk-brand-600) !important; border-color: var(--sk-brand-600) !important; color: white !important; transform: scale(1.05); box-shadow: 0 10px 20px rgba(25, 135, 84, 0.2); }
.summary-box { background: linear-gradient(135deg, var(--sk-brand-900) 0%, var(--sk-brand-600) 100%); border-radius: 24px; padding: 2.5rem; color: white; box-shadow: 0 25px 50px rgba(5, 44, 30, 0.3); }
.feature-badge { background: rgba(25, 135, 84, 0.1); color: var(--sk-brand-600); border: 1px solid rgba(25, 135, 84, 0.2); padding: 0.6rem 1rem; border-radius: 12px; font-size: 0.85rem; }
.themed-text { color: var(--bs-body-color) !important; }
.themed-input { background-color: rgba(255, 255, 255, 0.9) !important; color: var(--bs-body-color) !important; border: 1px solid rgba(0, 0, 0, 0.05) !important; }

.transition-hover { transition: all 0.3s ease; }
.transition-hover:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important; z-index: 10; position: relative; }
.action-btn:hover { background-color: var(--bs-gray-100); }

[data-bs-theme="dark"] body { background-color: #0b0f19 !important; }
[data-bs-theme="dark"] .card, [data-bs-theme="dark"] .bg-white, [data-bs-theme="dark"] .modal-content { background-color: #161c2d !important; color: #e5e7eb; }
[data-bs-theme="dark"] .bg-light, [data-bs-theme="dark"] .table-hover tbody tr:hover, [data-bs-theme="dark"] .input-group-text { background-color: #1f2937 !important; color: #9ca3af; }
[data-bs-theme="dark"] .form-control, [data-bs-theme="dark"] .form-select { background-color: #1f2937 !important; border-color: #374151 !important; color: #f3f4f6 !important; }
[data-bs-theme="dark"] .text-dark { color: #f9fafb !important; }
[data-bs-theme="dark"] .text-muted { color: #9ca3af !important; }
[data-bs-theme="dark"] .premium-card { background: rgba(22, 28, 45, 0.9) !important; border-color: rgba(255, 255, 255, 0.1) !important; }
[data-bs-theme="dark"] .duration-btn-premium, [data-bs-theme="dark"] .themed-input { background: rgba(22, 28, 45, 0.9) !important; border-color: rgba(255, 255, 255, 0.1) !important; color: #f3f4f6 !important; }
[data-bs-theme="dark"] .feature-badge { background: rgba(25, 135, 84, 0.2); color: #4ade80; }
[data-bs-theme="dark"] .table { --bs-table-bg: transparent; --bs-table-color: #f3f4f6; --bs-table-border-color: rgba(255, 255, 255, 0.1); }
[data-bs-theme="dark"] h1, [data-bs-theme="dark"] h2, [data-bs-theme="dark"] h3, [data-bs-theme="dark"] h4, [data-bs-theme="dark"] h5, [data-bs-theme="dark"] h6, [data-bs-theme="dark"] .themed-text, [data-bs-theme="dark"] label { color: #ffffff !important; }

.auth-shell {
    background: linear-gradient(135deg, var(--sk-brand-900) 0%, var(--sk-brand-600) 100%) !important;
    min-height: 100vh;
}

.auth-shell .auth-card,
.auth-shell .login-card {
    border: none;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.98);
}

.auth-shell .form-control:focus,
.legal-shell .form-control:focus {
    border-color: var(--sk-brand-600);
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

.btn-gradient,
.btn-admin {
    background: linear-gradient(135deg, var(--sk-brand-900) 0%, var(--sk-brand-600) 100%);
    border: none;
    color: #fff;
}

.btn-gradient:hover,
.btn-admin:hover {
    color: #fff;
    opacity: 0.92;
    transform: translateY(-1px);
}

.btn-admin {
    border-radius: 999px;
    padding: 12px;
    font-weight: 700;
}

.legal-shell .page-header {
    background: linear-gradient(135deg, var(--sk-brand-900) 0%, var(--sk-brand-600) 100%);
    color: white;
    padding: 8rem 0 4rem;
    margin-bottom: -3rem;
    border-radius: 0 0 2rem 2rem;
    box-shadow: 0 10px 30px -10px rgba(25, 135, 84, 0.3);
}

.legal-shell .content-card,
.legal-shell .faq-card {
    border: none;
    border-radius: 1.5rem;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.legal-shell .faq-card {
    margin-bottom: 1rem;
    transition: transform 0.2s ease;
}

.legal-shell .faq-card:hover {
    transform: translateY(-2px);
}

.legal-shell .section-title {
    color: var(--sk-brand-600);
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-right: 1rem;
}

.legal-shell .section-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: var(--sk-brand-600);
    border-radius: 2px;
}

.legal-shell .term-item {
    margin-bottom: 2rem;
}

.legal-shell .term-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--sk-brand-600);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.legal-shell .accordion-button:not(.collapsed) {
    color: var(--sk-brand-600);
    background-color: rgba(25, 135, 84, 0.1);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.site-footer .footer-link:hover {
    color: var(--sk-brand-600) !important;
}

.site-footer .payment-logos img {
    transition: all 0.3s ease;
    opacity: 1;
    cursor: pointer;
    background: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    object-fit: contain;
}

.site-footer .payment-logos img:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(15, 61, 40, 0.95);
        border-radius: 1rem;
        padding: 1rem;
        margin-top: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }
}

@media (max-width: 991px) {
    .navbar-brand { font-size: 1.5rem !important; }
    .hero-section { padding: 60px 0 !important; border-radius: 0 0 30px 30px !important; }
    .display-3 { font-size: 2.2rem !important; }
    .container { padding-left: 20px; padding-right: 20px; }
    .btn-lg { padding: 12px 30px !important; font-size: 1rem !important; }
    .app-navbar-spacer { height: 84px; }
    .mobile-cta-bar { display: block; }
    body { padding-bottom: 86px; }
}

@media (max-width: 768px) {
    .automation-header { padding: 4rem 0 6rem; }
    .bot-card { margin-bottom: 1rem; }
}


/* --- Styles from src/Views/packages_member.php --- */
:root {
        --premium-green: #052c1e;
        --accent-green: #198754;
        --accent-light: #20c997;
        --card-bg: rgba(255, 255, 255, 0.9);
        --card-border: rgba(0, 0, 0, 0.05);
        --text-main: #1a1a1a;
        --glass-summary-bg: linear-gradient(135deg, #052c1e 0%, #198754 100%);
    }
    
    [data-bs-theme="dark"] {
        --card-bg: rgba(22, 28, 45, 0.9);
        --card-border: rgba(255, 255, 255, 0.1);
        --text-main: #f3f4f6;
        --glass-summary-bg: linear-gradient(135deg, #052c1e 0%, #198754 100%);
    }

    body {
        background: radial-gradient(circle at top right, rgba(25, 135, 84, 0.05), transparent 400px),
                    radial-gradient(circle at bottom left, rgba(32, 201, 151, 0.05), transparent 400px);
    }

    .package-card {
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border: 1px solid var(--card-border) !important;
        background: var(--card-bg) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 24px !important;
        position: relative;
    }
    
    .package-card:hover {
        transform: translateY(-10px);
        border-color: var(--accent-green) !important;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
    }
    
    .package-card.selected {
        border-color: var(--accent-green) !important;
        background: rgba(25, 135, 84, 0.05) !important;
        box-shadow: 0 10px 30px rgba(25, 135, 84, 0.15) !important;
    }

    .package-card.selected::before {
        content: '\F272';
        font-family: 'bootstrap-icons';
        position: absolute;
        top: 20px;
        right: 20px;
        color: var(--accent-green);
        font-size: 1.2rem;
        background: white;
        width: 25px;
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .icon-wrapper {
        width: 65px;
        height: 65px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 18px;
        font-size: 1.8rem;
        background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), rgba(25, 135, 84, 0.05));
        color: var(--accent-green);
        margin: 0 auto 1.5rem;
        transition: all 0.3s ease;
    }

    .package-card.selected .icon-wrapper {
        background: var(--accent-green);
        color: white;
        transform: rotate(-5deg) scale(1.1);
    }

    .duration-btn {
        transition: all 0.3s ease;
        border: 1px solid var(--card-border) !important;
        background: var(--card-bg) !important;
        border-radius: 16px !important;
        padding: 1.2rem !important;
    }

    .btn-check:checked + .duration-btn {
        border-color: var(--accent-green) !important;
        background: var(--accent-green) !important;
        color: white !important;
        transform: scale(1.02);
    }

    .glass-summary {
        background: var(--glass-summary-bg);
        border-radius: 30px;
        color: white;
        padding: 2.5rem;
        box-shadow: 0 20px 50px rgba(5, 44, 30, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    [data-bs-theme="dark"] .icon-wrapper {
        background: rgba(74, 222, 128, 0.1);
        color: #4ade80;
    }

    [data-bs-theme="dark"] .package-card:hover {
        background: rgba(25, 135, 84, 0.1) !important;
    }

    .summary-title { opacity: 0.7; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
    
    .feature-tag {
        background: rgba(25, 135, 84, 0.05);
        color: var(--accent-green);
        border: 1px solid rgba(25, 135, 84, 0.1);
        padding: 0.6rem 1rem;
        border-radius: 12px;
        font-size: 0.85rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    [data-bs-theme="dark"] .feature-tag {
        background: rgba(25, 135, 84, 0.1);
        color: #4ade80;
    }

    [data-bs-theme="dark"] h1, 
    [data-bs-theme="dark"] h2, 
    [data-bs-theme="dark"] h3, 
    [data-bs-theme="dark"] h4, 
    [data-bs-theme="dark"] h5, 
    [data-bs-theme="dark"] h6,
    [data-bs-theme="dark"] .themed-text,
    [data-bs-theme="dark"] .package-card h5,
    [data-bs-theme="dark"] label {
        color: #ffffff !important;
    }

    [data-bs-theme="dark"] .text-muted {
        color: rgba(255, 255, 255, 0.6) !important;
    }

    [data-bs-theme="dark"] .table {
        --bs-table-color: #ffffff;
        --bs-table-bg: transparent;
        --bs-table-border-color: rgba(255, 255, 255, 0.1);
    [data-bs-theme="dark"] .table thead th {
        color: #ffffff;
        border-bottom-color: rgba(255, 255, 255, 0.2);
    }

/* --- Styles from src/Views/packages_guest.php --- */
:root {
        --premium-green: #052c1e;
        --accent-green: #198754;
        --accent-light: #20c997;
        --card-bg: rgba(255, 255, 255, 0.9);
        --card-border: rgba(0, 0, 0, 0.05);
        --text-main: #1a1a1a;
        --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    }
    
    [data-bs-theme="dark"] :root {
        --card-bg: rgba(10, 15, 12, 0.85);
        --card-border: rgba(255, 255, 255, 0.07);
        --text-main: #f0f0f0;
        --glass-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    }
    
    body {
        background: radial-gradient(circle at top right, rgba(25, 135, 84, 0.05), transparent 600px),
                    radial-gradient(circle at bottom left, rgba(32, 201, 151, 0.05), transparent 600px);
    }

    .premium-card {
        background: var(--card-bg) !important;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid var(--card-border) !important;
        transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
        border-radius: 2.5rem !important;
        color: var(--text-main);
    }
    
    .premium-card:hover {
        transform: translateY(-15px) scale(1.02);
        box-shadow: var(--glass-shadow) !important;
        border-color: var(--accent-green) !important;
    }
    
    .icon-wrapper {
        width: 80px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 24px;
        font-size: 2.5rem;
        margin: 0 auto 2rem;
        background: linear-gradient(135deg, rgba(25, 135, 84, 0.15), rgba(25, 135, 84, 0.05));
        color: var(--accent-green);
        transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    
    .premium-card:hover .icon-wrapper {
        background: var(--accent-green);
        color: white;
        transform: scale(1.1) rotate(-10deg);
        box-shadow: 0 10px 25px rgba(25, 135, 84, 0.3);
    }
    
    .price-text {
        font-size: 3rem;
        font-weight: 800;
        background: linear-gradient(45deg, var(--accent-green), var(--accent-light));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .feat-list {
        list-style: none;
        padding: 0;
        margin: 1.5rem 0;
        text-align: right;
    }
    
    .feat-item {
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
        display: flex;
        align-items: center;
        width: 100%;
        font-size: 0.95rem;
        transition: transform 0.3s ease;
    }
    
    [data-bs-theme="dark"] .feat-item {
        border-bottom-color: rgba(255, 255, 255, 0.03);
    }

    .premium-card:hover .feat-item {
        transform: translateX(-5px);
    }

    .feat-item:last-child {
        border-bottom: none;
    }
    
    .feat-icon-custom {
        color: var(--accent-green);
        font-size: 1.2rem;
        margin-inline-end: 15px;
    }

    .feat-number {
        width: 24px;
        height: 24px;
        background: rgba(14, 110, 77, 0.1);
        color: var(--accent-green);
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        font-weight: 700;
        margin-inline-start: 0;
        margin-inline-end: 12px;
    }

    .price-overview {
        background: rgba(0,0,0,0.03);
        border-radius: 1.5rem;
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    [data-bs-theme="dark"] .price-overview {
        background: rgba(255,255,255,0.03);
    }

    /* Table Fixes */
    .table { background-color: transparent !important; color: inherit; border-color: var(--card-border); }
    .table thead th { border-bottom: 2px solid var(--card-border); color: var(--text-main); background: transparent !important; }
    .table tbody td { background: transparent !important; color: inherit; border-color: var(--card-border); }
    
    .bg-custom-warning { background-color: #ffc107; color: #212529; }
    [data-bs-theme="dark"] .bg-custom-warning { background-color: var(--accent-green); color: white; }
    
    .bg-success-subtle-custom { 
        background-color: rgba(14, 110, 77, 0.08) !important; 
        color: var(--accent-green) !important; 
        transition: all 0.3s ease;
    }
    [data-bs-theme="dark"] .bg-success-subtle-custom { 
        background-color: rgba(14, 110, 77, 0.1) !important; 
        color: #4ade80 !important; 
    }
    
    .table-hover tbody tr:hover { background-color: rgba(14, 110, 77, 0.03) !important; }
    [data-bs-theme="dark"] .table-hover tbody tr:hover { background-color: rgba(255, 255, 255, 0.01) !important; }

    /* Professional Comparison Card */
    .comparison-card {
        background: var(--card-bg) !important;
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: 1px solid var(--card-border) !important;
        position: relative;
    }
    
    [data-bs-theme="dark"] .comparison-card {
        background: var(--card-bg) !important;
        border: 1px solid var(--card-border) !important;
        box-shadow: var(--glass-shadow) !important;
    }

    [data-bs-theme="light"] .comparison-card {
        background: linear-gradient(135deg, #ffffff, #f9fbf9) !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03) !important;
    }

    .package-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    @media (max-width: 768px) {
        .package-grid {
            grid-template-columns: 1fr;
        }
        .premium-container {
            padding: 1rem !important;
        }
    }

/* --- Styles from src/Views/services.php --- */
.services-hero { background: linear-gradient(135deg, #052c1e 0%, #0a4a32 50%, #064429 100%); color: white; padding: 4rem 0 6rem; border-radius: 0 0 2.5rem 2.5rem; position: relative; overflow: hidden; }
    .services-hero::before { content: ''; position: absolute; top: -50%; right: -50%; width: 100%; height: 200%; background: radial-gradient(circle, rgba(32,201,151,0.08) 0%, transparent 70%); }
    .service-card { border: none; border-radius: 1.5rem; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); overflow: hidden; height: 100%; background: var(--bs-card-bg, #fff); }
    .service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,0.12) !important; }
    .service-icon-wrap { width: 70px; height: 70px; border-radius: 1.2rem; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; transition: all 0.3s; }
    .service-card:hover .service-icon-wrap { transform: scale(1.1) rotate(-5deg); }
    .free-badge { background: linear-gradient(135deg, #198754, #20c997); font-size: 0.7rem; padding: 4px 12px; border-radius: 50px; }
    .price-display { font-size: 2rem; font-weight: 800; color: #198754; }
    .price-unit { font-size: 0.8rem; color: #6c757d; }
    .qty-input { font-size: 1.2rem; font-weight: 700; text-align: center; border-radius: 1rem; }
    .option-check { border-radius: 0.8rem; transition: all 0.2s; cursor: pointer; }
    .option-check:hover { background: var(--bs-success-bg-subtle) !important; }
    .option-check.active { border-color: #198754 !important; background: var(--bs-success-bg-subtle) !important; }


/* --- Styles from about.php --- */
body {
        background-color: var(--bs-body-bg) !important;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    .page-header {
        background: linear-gradient(135deg, #052c1e 0%, #198754 100%);
        color: white;
        padding: 8rem 0 4rem;
        margin-bottom: -3rem;
        border-radius: 0 0 2rem 2rem;
        box-shadow: 0 10px 30px -10px rgba(25, 135, 84, 0.3);
    }
    .content-card {
        border: none;
        border-radius: 1.5rem;
        box-shadow: 0 0 40px rgba(0,0,0,0.05);
        overflow: hidden;
    }
    .team-img {
        width: 120px;
        height: 120px;
        object-fit: cover;
        border: 4px solid #fff;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    .vision-img {
        border-radius: 2rem;
        box-shadow: 0 20px 40px rgba(25, 135, 84, 0.15);
    }

/* --- Styles from faq.php --- */
.page-header {
        background: linear-gradient(135deg, #052c1e 0%, #198754 100%);
        color: white;
        padding: 8rem 0 4rem;
        border-radius: 0 0 2rem 2rem;
    }
    .accordion-item {
        border: none;
        margin-bottom: 1rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        border-radius: 1rem !important;
        overflow: hidden;
    }
    .accordion-button:not(.collapsed) {
        background-color: #e8f5e9;
        color: #198754;
    }
    .accordion-button:focus {
        box-shadow: none;
        border-color: rgba(25, 135, 84, 0.1);
    }

/* --- Styles from home_member.php --- */
.member-hero {
        background: linear-gradient(135deg, var(--bs-dark) 0%, #198754 100%);
        color: white;
        padding: 80px 0 120px;
        border-radius: 0 0 3rem 3rem;
    }
    .quick-action-card {
        border: 1px solid var(--bs-border-color-subtle);
        transition: all 0.3s ease;
        background: var(--bs-card-bg);
    }
    .quick-action-card:hover {
        transform: translateY(-10px);
        border-color: #198754;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    }
    .step-dot {
        width: 35px;
        height: 35px;
        background: #198754;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        margin-bottom: 1rem;
    }
    .system-mini-card {
        border: 1px solid var(--bs-border-color-subtle);
        border-radius: 1.5rem;
        background: var(--bs-tertiary-bg);
        transition: 0.3s;
    }
    .system-mini-card:hover {
        border-color: #198754;
        background: var(--bs-body-bg);
    }
    .rating-stars {
        display: flex;
        flex-direction: row-reverse;
        justify-content: center;
        gap: 6px;
    }
    .rating-stars input { display: none; }
    .rating-stars label {
        cursor: pointer;
        font-size: 2rem;
        color: #ced4da;
        transition: color .2s ease;
    }
    .rating-stars input:checked ~ label,
    .rating-stars label:hover,
    .rating-stars label:hover ~ label {
        color: #ffc107;
    }

/* --- Styles from how-it-works.php --- */
.page-header {
        background: linear-gradient(135deg, #052c1e 0%, #198754 100%);
        color: white;
        padding: 6rem 0 4rem;
        margin-bottom: 2rem;
        border-radius: 0 0 2rem 2rem;
    }
    .guide-card { 
        border: none; 
        border-radius: 1.5rem; 
        transition: all 0.3s ease; 
        background: var(--bs-card-bg);
        box-shadow: 0 0 30px rgba(0,0,0,0.05);
    }
    .guide-card:hover { 
        transform: translateY(-5px); 
        box-shadow: 0 15px 30px rgba(25, 135, 84, 0.1) !important; 
    }
    .step-icon { 
        width: 60px; 
        height: 60px; 
        background: rgba(25, 135, 84, 0.1); 
        color: #198754; 
        border-radius: 12px; 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        font-size: 1.8rem; 
    }
    .template-card { 
        border-right: 4px solid #198754; 
        background: var(--bs-tertiary-bg); 
    }
    .step-indicator {
        background: rgba(255,255,255,0.1);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255,255,255,0.2);
        padding: 1.5rem;
        border-radius: 1.5rem;
    }
    .accordion-button:not(.collapsed) {
        background-color: rgba(25, 135, 84, 0.1);
        color: #198754;
    }

/* --- Styles from payment-methods.php --- */
.step-number {
        width: 40px;
        height: 40px;
        background: #198754;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        margin-bottom: 1rem;
    }
    .method-card {
        border: none;
        border-radius: 1.5rem;
        transition: transform 0.3s ease;
    }
    .method-card:hover {
        transform: translateY(-5px);
    }
    .visual-step {
        border-right: 3px dashed #dee2e6;
        padding-right: 2rem;
        position: relative;
    }
    .visual-step:last-child {
        border-right: none;
    }
    .faq-card {
        border: none;
        border-radius: 1rem;
        box-shadow: 0 2px 15px rgba(0,0,0,0.03);
    }
    .accordion-button:not(.collapsed) {
        background-color: rgba(25, 135, 84, 0.05);
        color: #198754;
    }

/* --- Styles from admin\dashboard.php --- */
.admin-header { background: linear-gradient(135deg, #052c1e 0%, #198754 100%); color: white; padding: 6rem 0 4rem; border-radius: 0 0 2rem 2rem; }
    .stat-card { border: 1px solid var(--bs-border-color-subtle); border-radius: 1.5rem; transition: all 0.3s ease; background: var(--bs-card-bg); }
    .stat-card:hover { transform: translateY(-5px); border-color: #198754; box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important; }
    .icon-shape { width: 48px; height: 48px; background: rgba(25, 135, 84, 0.1); color: #198754; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
    .live-indicator { width: 10px; height: 10px; background: #20c997; border-radius: 50%; display: inline-block; margin-left: 5px; animation: blink 1.5s infinite; }
    @keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }
    .system-card { border: 1px solid var(--bs-border-color-subtle); border-radius: 1rem; padding: 1.5rem; background: var(--bs-tertiary-bg); transition: 0.3s; }
    .system-card:hover { background: var(--bs-body-bg); border-color: #198754; }
    .quick-link-card { transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); border: 1px solid var(--bs-border-color-subtle); }
    .quick-link-card:hover { transform: scale(1.05); border-color: #198754; box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important; }
    [data-bs-theme="dark"] .system-card { background: #1e2533; border-color: rgba(255,255,255,0.05); }

/* --- Styles from admin\dashboard_fixed.php --- */
body { background-color: #f8f9fa; }
    .bg-light-soft { background-color: #f1f3f5; }
    .bg-success-soft { background-color: rgba(25, 135, 84, 0.1); }
    .bg-warning-soft { background-color: rgba(255, 193, 7, 0.1); }
    .shadow-xs { box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
    .hover-shadow-sm:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.05); transform: translateY(-2px); }
    .transition-all { transition: all 0.3s ease; }
    .letter-spacing-1 { letter-spacing: 0.5px; }
    .x-small { font-size: 0.7rem; }
    .card { border: 1px solid rgba(0,0,0,0.03) !important; }
    .btn-white { background: #fff; border: 1px solid #e9ecef; color: #495057; }
    .btn-white:hover { background: #f8f9fa; color: #198754; }
    canvas { filter: drop-shadow(0 4px 6px rgba(0,0,0,0.02)); }

/* --- Styles from admin\home_settings.php --- */
body { background-color: #f0f2f5; font-family: 'Inter', 'Noto Sans Arabic', sans-serif; }
    .btn-white { background: #fff; border: 1px solid #dee2e6; color: #495057; }
    .btn-white:hover { background: #f8f9fa; color: #198754; }
    .card { transition: transform 0.2s ease; }
    .form-control:focus {
        border-color: #198754;
        box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.1);
    }
    .form-label { margin-bottom: 0.4rem; }
    .op-1 { opacity: 0.1; }

/* --- Styles from admin\invoices.php --- */
.transition-hover { transition: all 0.3s ease; }
.transition-hover:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important; z-index: 10; position: relative; }
.action-btn:hover { background-color: var(--bs-gray-100); }

/* --- Styles from admin\packages.php --- */
.icon-choice:hover {
    transform: scale(1.05);
}
.pointer { cursor: pointer; }

/* --- Styles from admin\services.php --- */
.admin-services-hero { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: white; padding: 2.5rem 0 4rem; border-radius: 0 0 2rem 2rem; }
    .stat-card { border: none; border-radius: 1.2rem; }
    .svc-edit-card { border: none; border-radius: 1.2rem; transition: all 0.3s; }
    .svc-edit-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1) !important; }
    .opt-row { border-radius: 0.8rem; transition: all 0.2s; }
    .opt-row:hover { background: var(--bs-danger-bg-subtle) !important; }

/* --- Styles from admin\service_orders.php --- */
.orders-admin-hero { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: white; padding: 2.5rem 0 4rem; border-radius: 0 0 2rem 2rem; }
    .stat-pill { border: none; border-radius: 1.2rem; }

/* --- Styles from admin\settings.php --- */
body { background-color: #f8f9fa; }
    .bg-light-soft { background-color: #f1f3f5; }
    .shadow-xs { box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
    .btn-white { background: #fff; border: 1px solid #e9ecef; color: #495057; }
    .btn-white:hover { background: #f8f9fa; color: #198754; }
    .x-small { font-size: 0.75rem; }
    .form-control:focus {
        border-color: #198754;
        box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.1);
    }

/* --- Styles from admin\systems.php --- */
.transition-hover { transition: all 0.3s ease; }
.transition-hover:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important; z-index: 10; position: relative; }
.action-btn:hover { background-color: var(--bs-gray-100); }

/* --- Styles from admin\x_accounts.php --- */
body { background-color: #f8f9fa; }
    .x-small { font-size: 0.75rem; }

/* --- Styles from billing\index.php --- */
body {
        background-color: var(--bs-body-bg) !important;
        background-image: none !important;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    .page-header {
        background: linear-gradient(135deg, #052c1e 0%, #198754 100%);
        color: white;
        padding: 8rem 0 4rem;
        margin-bottom: -3rem;
        border-radius: 0 0 2rem 2rem;
        box-shadow: 0 10px 30px -10px rgba(25, 135, 84, 0.3);
    }
    .stat-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: none;
        overflow: hidden;
    }
    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    }
    .table-card {
        border-radius: 1.5rem;
        border: none;
        box-shadow: 0 0 40px rgba(0,0,0,0.05) !important;
    }
    .btn-gradient {
        background: linear-gradient(135deg, #052c1e 0%, #198754 100%);
        color: white;
        border: none;
    }
    .btn-gradient:hover {
        color: white;
        opacity: 0.9;
    }
    @keyframes pulse-green {
        0% { box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.7); }
        70% { box-shadow: 0 0 0 10px rgba(25, 135, 84, 0); }
        100% { box-shadow: 0 0 0 0 rgba(25, 135, 84, 0); }
    }
    .pulse-geidea {
        animation: pulse-green 2s infinite;
        border: none !important;
    }

/* --- Styles from billing\invoice.php --- */
body { background-color: #f8f9fa; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
        .invoice-box { max-width: 800px; margin: 50px auto; padding: 40px; background: #fff; border-radius: 10px; box-shadow: 0 0 20px rgba(0,0,0,0.1); }
        .invoice-header { border-bottom: 2px solid #198754; padding-bottom: 20px; margin-bottom: 30px; }
        .logo { color: #198754; font-weight: bold; font-size: 2rem; }

/* --- Styles from dashboard\add_account.php --- */
.nav-pills .nav-link { color: #6c757d; }
    .nav-pills .nav-link.active { background-color: #198754 !important; color: white; }
    .form-control:focus { background-color: rgba(25, 135, 84, 0.02) !important; }

/* --- Styles from dashboard\affiliate.php --- */
.affiliate-header {
        background: linear-gradient(135deg, #198754 0%, #052c1e 100%);
        color: white;
        padding: 9rem 0 5rem;
        border-radius: 0 0 2rem 2rem;
    }
    .ref-card { 
        border: none; 
        border-radius: 1.5rem; 
        background: #ffffff;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }
    [data-bs-theme="dark"] .ref-card {
        background: #161c2d;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
    .copy-input { 
        background: var(--bs-light); 
        border: 1px solid var(--bs-border-color); 
        color: var(--bs-body-color); 
        font-family: monospace;
    }
    [data-bs-theme="dark"] .copy-input {
        background: rgba(255,255,255,0.05);
    }
    .copy-input:focus { 
        border-color: #10b981; 
        box-shadow: none; 
    }
    .step-box {
        padding: 1.5rem;
        border-radius: 1rem;
        background: #f9fafb;
        height: 100%;
        border: 1px solid #f3f4f6;
    }
    [data-bs-theme="dark"] .step-box {
        background: #1f2937;
        border-color: #374151;
    }

/* --- Styles from dashboard\bot_settings.php --- */
.settings-header { background: linear-gradient(135deg, #052c1e 0%, #198754 100%); color: white; padding: 5rem 0 4rem; border-radius: 0 0 2rem 2rem; }
    .config-card { border: none; border-radius: 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.05); margin-bottom: 2rem; }
    .section-title { color: #198754; font-weight: 800; border-right: 4px solid #198754; padding-right: 15px; margin-bottom: 1.5rem; }
    .log-panel {
        background-color: #1a202c;
        color: #a0aec0;
        font-family: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
        font-size: 0.85em;
        padding: 1rem;
        border-radius: 0.75rem;
        height: 400px;
        overflow-y: auto;
        white-space: pre-wrap;
        word-wrap: break-word;
    }
    .log-line {
        display: flex;
        align-items: flex-start;
        padding: 0.25rem 0;
        border-bottom: 1px solid #2d3748;
    }
    .log-line .time { color: #63b3ed; min-width: 150px; }
    .log-line .level { font-weight: bold; min-width: 70px; }
    .log-line .level-info { color: #48bb78; }
    .log-line .level-success { color: #38a169; }
    .log-line .level-warning { color: #f6e05e; }
    .log-line .level-error { color: #f56565; }
    .log-line .message { flex-grow: 1; }

/* --- Styles from dashboard\community_settings.php --- */
.settings-header { background: linear-gradient(135deg, #052c1e 0%, #198754 100%); color: white; padding: 6rem 0 4rem; border-radius: 0 0 2rem 2rem; }
    .config-card { border: none; border-radius: 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.05); margin-bottom: 2rem; }
    .section-title { color: #198754; font-weight: 800; border-right: 4px solid #198754; padding-right: 15px; margin-bottom: 1.5rem; }
    .form-switch .form-check-input { width: 3em; height: 1.5em; }
    .toast-container { position: fixed; top: 20px; left: 20px; z-index: 9999; }
.page-header {
        background: linear-gradient(135deg, #052c1e 0%, #198754 100%);
        color: white;
        padding: 8rem 0 5rem;
        margin-bottom: -3rem;
        border-radius: 0 0 2rem 2rem;
        box-shadow: 0 10px 30px -10px rgba(25, 135, 84, 0.3);
    }
    .tweet-preview {
        border: 1px solid #e1e8ed;
        border-radius: 15px;
        padding: 15px;
        background: white;
        max-width: 100%;
    }
    .tweet-avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: #f5f8fa;
    }

/* --- Styles from dashboard\dm_settings.php --- */
.settings-header { background: linear-gradient(135deg, #052c1e 0%, #198754 100%); color: white; padding: 5rem 0 4rem; border-radius: 0 0 2rem 2rem; }
    .config-card { border: none; border-radius: 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.05); margin-bottom: 2rem; }
    .section-title { color: #198754; font-weight: 800; border-right: 4px solid #198754; padding-right: 15px; margin-bottom: 1.5rem; }
    .form-switch .form-check-input { width: 3em; height: 1.5em; }
    .empty-state { padding: 2rem; text-align: center; color: #adb5bd; font-style: italic; }
    .toast-container { position: fixed; top: 20px; left: 20px; z-index: 9999; }
    .word-item { transition: all 0.3s ease; border-bottom: 1px solid rgba(0,0,0,0.05); }
    .word-item:hover { background: rgba(25, 135, 84, 0.02); }

/* --- Styles from dashboard\my_orders.php --- */
.orders-header { background: linear-gradient(135deg, #052c1e 0%, #0a4a32 100%); color: white; padding: 3rem 0 5rem; border-radius: 0 0 2rem 2rem; }
    .order-card { border: none; border-radius: 1.2rem; transition: all 0.3s; }
    .order-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08) !important; }
    .progress-thin { height: 6px; border-radius: 3px; }
    .status-badge { font-size: 0.7rem; padding: 5px 14px; border-radius: 50px; }

/* --- Styles from dashboard\publishing_hub.php --- */
:root {
  --p: #6366f1; --ps: #8b5cf6;
  --bg: #0b0f1a; --card: #111827; --card2: #1a2233;
  --border: rgba(99,102,241,.18); --text: #e2e8f0; --muted: #64748b;
}
body { background: var(--bg); color: var(--text); font-family: 'Segoe UI', system-ui, sans-serif; }

.hub-hero {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
  padding: 2rem 2rem 5rem; position: relative; overflow: hidden;
}
.hub-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(99,102,241,.15) 0%, transparent 60%);
}
.hub-hero-body { position: relative; z-index: 1; }

.account-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: #fff; border-radius: 50px; padding: .4rem 1rem; font-size: .85rem;
  cursor: pointer; transition: all .2s; text-decoration: none;
}
.account-pill:hover { background: rgba(255,255,255,.2); color: #fff; }
.account-pill.active { background: var(--p); border-color: var(--p); }

.hub-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden; margin-bottom: 1.5rem;
}
.hub-card-header {
  background: var(--card2); border-bottom: 1px solid var(--border);
  padding: .85rem 1.25rem; display: flex; align-items: center; gap: .6rem;
}
.hub-card-header .hch-title { font-weight: 700; font-size: .92rem; flex-grow: 1; }
.hub-card-body { padding: 1.25rem; }

.htabs { display: flex; gap: 2px; background: var(--card2); border-bottom: 1px solid var(--border); padding: 0 1.25rem; }
.htab {
  padding: .65rem .9rem; cursor: pointer; border: none; background: none;
  color: var(--muted); font-size: .83rem; font-weight: 600;
  border-bottom: 2px solid transparent; transition: all .18s;
}
.htab.active { color: #fff; border-bottom-color: var(--p); }
.htab:hover:not(.active) { color: #cbd5e1; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

.task-item {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .85rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background .15s;
}
.task-item:hover { background: rgba(99,102,241,.05); }
.task-item:last-child { border-bottom: none; }
.task-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.form-control, .form-select {
  background: #0d1117 !important; border: 1px solid var(--border) !important;
  color: var(--text) !important; border-radius: 10px;
}
.form-control:focus, .form-select:focus {
  border-color: var(--p) !important; box-shadow: 0 0 0 3px rgba(99,102,241,.15) !important;
}
.form-label { font-size: .8rem; color: var(--muted); margin-bottom: .3rem; font-weight: 600; }

.btn-hub {
  background: linear-gradient(135deg, var(--p), var(--ps));
  border: none; color: #fff; border-radius: 10px;
  font-weight: 600; padding: .55rem 1.2rem; transition: opacity .2s, transform .15s; cursor: pointer;
}
.btn-hub:hover { opacity: .88; color: #fff; transform: translateY(-1px); }
.btn-hub-sm { padding: .35rem .85rem; font-size: .82rem; }
.btn-hub-danger { background: linear-gradient(135deg, #dc2626, #9f1239); }

.rss-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.04);
}
.rss-item:last-child { border-bottom: none; }

.stat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 1rem; text-align: center;
  transition: transform .2s;
}
.stat-card:hover { transform: translateY(-3px); border-color: var(--p); }
.stat-num { font-size: 1.8rem; font-weight: 800; color: var(--p); line-height: 1; }

.log-panel {
  background: #060b14; font-family: 'Fira Code', monospace;
  font-size: .78rem; padding: 1rem; height: 300px; overflow-y: auto; white-space: pre-wrap;
}
.log-line { display: flex; gap: .5rem; padding: .18rem 0; border-bottom: 1px solid rgba(255,255,255,.03); }
.log-t { color: #3b82f6; min-width: 80px; }
.log-s { font-weight: 700; min-width: 65px; }
.ls-success { color: #22c55e; } .ls-info { color: #38bdf8; }
.ls-warning { color: #f59e0b; } .ls-error { color: #ef4444; }

.hub-toast {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  background: var(--card); border: 1px solid var(--p); color: var(--text);
  padding: .75rem 1.5rem; border-radius: 12px; z-index: 9999;
  min-width: 260px; text-align: center; display: none;
  box-shadow: 0 8px 30px rgba(0,0,0,.5);
}
.stats-row { margin-top: -3rem; position: relative; z-index: 2; }
.interval-badge { font-size: .7rem; color: var(--muted); background: rgba(99,102,241,.1); border-radius: 20px; padding: .2rem .6rem; }

/* --- Styles from dashboard\publishing_settings.php --- */
.settings-header {
    background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 50%, #6366f1 100%);
    color: white; padding: 4rem 0 3rem; border-radius: 0 0 2rem 2rem;
  }
  .config-card { border: none; border-radius: 1.5rem; box-shadow: 0 6px 24px rgba(0,0,0,.07); margin-bottom: 1.5rem; }
  .section-title { color: #4f46e5; font-weight: 800; border-right: 4px solid #6366f1; padding-right: 12px; margin-bottom: 1.25rem; }
  .task-row { border-left: 4px solid #6366f1; border-radius: 8px; background: #f8f7ff; transition: background .2s; }
  .task-row:hover { background: #ede9fe; }
  .rss-row { border-left: 4px solid #ef4444; border-radius: 8px; background: #fff5f5; }
  .log-panel {
    background-color: #1a202c; color: #a0aec0;
    font-family: 'Fira Code', monospace; font-size: .82em;
    padding: 1rem; border-radius: .75rem; height: 360px;
    overflow-y: auto; white-space: pre-wrap;
  }
  .log-line { display: flex; align-items: flex-start; padding: .2rem 0; border-bottom: 1px solid #2d3748; }
  .log-line .time { color: #63b3ed; min-width: 130px; }
  .log-line .level { font-weight: bold; min-width: 75px; }
  .level-success { color: #68d391; } .level-info { color: #76e4f7; }
  .level-warning { color: #f6e05e; } .level-error { color: #f56565; }
  .log-line .message { flex-grow: 1; }

/* --- Styles from dashboard\scheduled_settings.php --- */
.settings-header { background: linear-gradient(135deg, #052c1e 0%, #198754 100%); color: white; padding: 6rem 0 4rem; border-radius: 0 0 2rem 2rem; }
    .config-card { border: none; border-radius: 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.05); margin-bottom: 2rem; }
    .section-title { color: #198754; font-weight: 800; border-right: 4px solid #198754; padding-right: 15px; margin-bottom: 1.5rem; }
    .form-switch .form-check-input { width: 3em; height: 1.5em; }
    .toast-container { position: fixed; top: 20px; left: 20px; z-index: 9999; }

/* --- Styles from dashboard\stats.php --- */
.page-header {
        background: linear-gradient(135deg, #052c1e 0%, #198754 100%);
        color: white;
        padding: 6rem 0 4rem;
        border-radius: 0 0 2rem 2rem;
    }
    .stat-card {
        border: none;
        border-radius: 1.25rem;
        border-right: 5px solid #198754;
    }
    @media (max-width: 768px) {
        .page-header { padding: 5rem 1rem 3rem; }
        .stat-card { margin-bottom: 1rem; }
    }

/* --- Styles from partials\about.php --- */
body {
        background-color: var(--bs-body-bg) !important;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    .page-header {
        background: linear-gradient(135deg, #052c1e 0%, #198754 100%);
        color: white;
        padding: 8rem 0 4rem;
        margin-bottom: -3rem;
        border-radius: 0 0 2rem 2rem;
        box-shadow: 0 10px 30px -10px rgba(25, 135, 84, 0.3);
    }
    .content-card {
        border: none;
        border-radius: 1.5rem;
        box-shadow: 0 0 40px rgba(0,0,0,0.05);
        overflow: hidden;
    }

/* --- Styles from partials\header.php --- */
.navbar-scrolled {
          transition: all 0.3s ease;
          padding-top: 0.5rem !important;
          padding-bottom: 0.5rem !important;
          background: rgba(15, 61, 40, 0.95) !important; /* Dark Green with opacity */
          backdrop-filter: blur(10px);
          border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      }
      .nav-link {
          position: relative;
          transition: color 0.3s ease;
      }
      .nav-link::after {
          content: '';
          position: absolute;
          width: 0;
          height: 2px;
          bottom: 0;
          left: 50%;
          background-color: #20c997; /* Teal/Green highlight */
          transition: all 0.3s ease;
          transform: translateX(-50%);
      }
      .nav-link:hover::after, .nav-link.active::after {
          width: 80%;
      }
      .navbar-toggler {
          border: none;
          outline: none;
      }
      .navbar-toggler:focus {
          box-shadow: none;
      }
      @media (max-width: 991.98px) {
          .navbar-collapse {
              background: rgba(15, 61, 40, 0.95);
              border-radius: 1rem;
              padding: 1rem;
              margin-top: 1rem;
              box-shadow: 0 10px 30px rgba(0,0,0,0.2);
          }
      }

/* --- Styles from partials\home.php --- */
body {
        background-color: var(--bs-body-bg) !important;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    .hero-section {
        background: linear-gradient(135deg, #0f3d28 0%, #198754 100%);
        color: white;
        padding: 8rem 0 6rem;
        margin-bottom: -3rem;
        border-radius: 0 0 3rem 3rem;
        box-shadow: 0 10px 30px -10px rgba(25, 135, 84, 0.4);
        position: relative;
        overflow: hidden;
    }
    .feature-card {
        border: none;
        border-radius: 1.5rem;
        transition: all 0.3s ease;
        height: 100%;
        background: var(--bs-body-bg);
    }
    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
    }
    .icon-wrapper {
        width: 80px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        margin-bottom: 1.5rem;
        background: rgba(25, 135, 84, 0.1);
        color: #198754;
        transition: all 0.3s ease;
    }
    .feature-card:hover .icon-wrapper {
        background: #198754;
        color: white;
    }
    .btn-hero {
        background: white;
        color: #0f3d28;
        font-weight: bold;
        padding: 0.8rem 2rem;
        border-radius: 50rem;
        transition: all 0.3s;
    }
    .btn-hero:hover {
        background: #f8f9fa;
        transform: scale(1.05);
        color: #198754;
    }

/* --- Styles from partials\privacy.php --- */
body {
        background-color: var(--bs-body-bg) !important;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    .page-header {
        background: linear-gradient(135deg, #052c1e 0%, #198754 100%);
        color: white;
        padding: 8rem 0 4rem;
        margin-bottom: -3rem;
        border-radius: 0 0 2rem 2rem;
        box-shadow: 0 10px 30px -10px rgba(25, 135, 84, 0.3);
    }
    .content-card {
        border: none;
        border-radius: 1.5rem;
        box-shadow: 0 0 40px rgba(0,0,0,0.05);
        overflow: hidden;
    }
    .section-title {
        color: #198754;
        font-weight: bold;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
        position: relative;
        padding-right: 1rem;
    }
    .section-title::before {
        content: '';
        position: absolute;
        right: 0;
        top: 5px;
        bottom: 5px;
        width: 4px;
        background: #198754;
        border-radius: 2px;
    }

/* --- Styles from partials\support.php --- */
body {
        background-color: var(--bs-body-bg) !important;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    .page-header {
        background: linear-gradient(135deg, #052c1e 0%, #198754 100%);
        color: white;
        padding: 8rem 0 4rem;
        margin-bottom: -3rem;
        border-radius: 0 0 2rem 2rem;
        box-shadow: 0 10px 30px -10px rgba(25, 135, 84, 0.3);
    }
    .faq-card {
        border: none;
        border-radius: 1rem;
        margin-bottom: 1rem;
        box-shadow: 0 2px 15px rgba(0,0,0,0.03);
        transition: transform 0.2s;
    }
    .faq-card:hover {
        transform: translateY(-2px);
    }
    .accordion-button:not(.collapsed) {
        color: #198754;
        background-color: rgba(25, 135, 84, 0.1);
        box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
    }
    .accordion-button:focus {
        border-color: #198754;
        box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
    }

/* --- Styles from partials\terms.php --- */
body {
        background-color: var(--bs-body-bg) !important;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    .page-header {
        background: linear-gradient(135deg, #052c1e 0%, #198754 100%);
        color: white;
        padding: 8rem 0 4rem;
        margin-bottom: -3rem;
        border-radius: 0 0 2rem 2rem;
        box-shadow: 0 10px 30px -10px rgba(25, 135, 84, 0.3);
    }
    .content-card {
        border: none;
        border-radius: 1.5rem;
        box-shadow: 0 0 40px rgba(0,0,0,0.05);
        overflow: hidden;
    }
    .term-item {
        margin-bottom: 2rem;
    }
    .term-number {
        font-size: 2rem;
        font-weight: 900;
        color: #198754;
        line-height: 1;
        margin-bottom: 0.5rem;
    }


/* --- Styles from generate_hash.php --- */
body { background-color: #f8f9fa; }
        .container { max-width: 600px; }
        .hash-result { background-color: #e9ecef; word-break: break-all; }

/* --- Packages (Guest + Member) --- */
.packages-page {
    background:
        radial-gradient(circle at top right, rgba(25, 135, 84, 0.08), transparent 420px),
        radial-gradient(circle at bottom left, rgba(32, 201, 151, 0.06), transparent 420px);
}

.packages-hero {
    position: relative;
    overflow: hidden;
    padding: 3.25rem 0 2.25rem;
    border-radius: 0 0 2.5rem 2.5rem;
    background: linear-gradient(135deg, rgba(5, 44, 30, 0.06) 0%, rgba(25, 135, 84, 0.08) 50%, rgba(32, 201, 151, 0.06) 100%);
    border-bottom: 1px solid rgba(25, 135, 84, 0.12);
}

.packages-hero::before {
    content: "";
    position: absolute;
    inset: -40% -30%;
    background: radial-gradient(circle, rgba(25, 135, 84, 0.10) 0%, transparent 60%);
    transform: rotate(8deg);
    pointer-events: none;
}

.packages-hero--member { padding-top: 2.75rem; }

.packages-badge {
    background: rgba(25, 135, 84, 0.12) !important;
    color: #198754 !important;
    border: 1px solid rgba(25, 135, 84, 0.18) !important;
    border-radius: 999px !important;
    padding: 0.55rem 0.9rem !important;
    font-weight: 700;
}

.hero-card {
    position: relative;
    border-radius: 1.25rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

[data-bs-theme="dark"] .hero-card {
    background: rgba(22, 28, 45, 0.85);
    border-color: rgba(255, 255, 255, 0.10);
}

.hero-card--compact { padding: 1rem; }

.packages-trust .trust-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-weight: 600;
}

[data-bs-theme="dark"] .packages-trust .trust-pill {
    background: rgba(22, 28, 45, 0.8);
    border-color: rgba(255, 255, 255, 0.10);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.pricing-grid > .pricing-card { grid-column: span 4; }

@media (max-width: 992px) {
    .pricing-grid > .pricing-card { grid-column: span 6; }
}
@media (max-width: 576px) {
    .pricing-grid > .pricing-card { grid-column: span 12; }
}

.pricing-card {
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 1.5rem !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

[data-bs-theme="dark"] .pricing-card {
    background: rgba(22, 28, 45, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.10) !important;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(25, 135, 84, 0.35) !important;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.10) !important;
}

.pricing-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(25, 135, 84, 0.10);
    color: #198754;
    font-size: 1.55rem;
}

[data-bs-theme="dark"] .pricing-icon {
    background: rgba(74, 222, 128, 0.10);
    color: #4ade80;
}

.pricing-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.pricing-mini .mini {
    border-radius: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.75);
}

[data-bs-theme="dark"] .pricing-mini .mini {
    border-color: rgba(255, 255, 255, 0.10);
    background: rgba(22, 28, 45, 0.6);
}

.pricing-mini .mini .k { font-size: 0.75rem; opacity: 0.75; margin-bottom: 2px; }
.pricing-mini .mini .v { font-weight: 800; }
.pricing-mini .mini .u { font-size: 0.8rem; opacity: 0.75; font-weight: 700; }
.pricing-mini .mini.best { border-color: rgba(25, 135, 84, 0.35); background: rgba(25, 135, 84, 0.07); }
[data-bs-theme="dark"] .pricing-mini .mini.best { border-color: rgba(74, 222, 128, 0.25); background: rgba(74, 222, 128, 0.08); }

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    font-weight: 600;
    color: var(--bs-body-color);
}

.packages-panel {
    border-radius: 1.75rem !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

[data-bs-theme="dark"] .packages-panel {
    border-color: rgba(255, 255, 255, 0.10) !important;
    background: rgba(22, 28, 45, 0.88) !important;
}

.packages-summary-card {
    border-radius: 1.75rem !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.08) !important;
}

[data-bs-theme="dark"] .packages-summary-card {
    border-color: rgba(255, 255, 255, 0.10) !important;
    background: rgba(22, 28, 45, 0.92) !important;
}

.packages-summary-card.sticky-top { top: 110px; }

.packages-total {
    background: rgba(25, 135, 84, 0.06);
    border: 1px dashed rgba(25, 135, 84, 0.25);
}

[data-bs-theme="dark"] .packages-total {
    background: rgba(74, 222, 128, 0.06);
    border-color: rgba(74, 222, 128, 0.18);
}

/* --- Dashboard Automation --- */
.automation-page .automation-hero {
    padding: 2.75rem 0 2.25rem;
    border-radius: 0 0 2.5rem 2.5rem;
    background: linear-gradient(135deg, rgba(5, 44, 30, 0.06) 0%, rgba(25, 135, 84, 0.08) 50%, rgba(32, 201, 151, 0.06) 100%);
    border-bottom: 1px solid rgba(25, 135, 84, 0.12);
    position: relative;
    overflow: hidden;
}

.automation-page .automation-hero::before {
    content: "";
    position: absolute;
    inset: -45% -35%;
    background: radial-gradient(circle, rgba(25, 135, 84, 0.12) 0%, transparent 60%);
    transform: rotate(10deg);
    pointer-events: none;
}

.automation-pending-card,
.automation-system-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

[data-bs-theme="dark"] .automation-pending-card,
[data-bs-theme="dark"] .automation-system-card {
    background: rgba(22, 28, 45, 0.90);
    border-color: rgba(255, 255, 255, 0.10);
}

.automation-pending-card:hover,
.automation-system-card:hover {
    transform: translateY(-6px);
    border-color: rgba(25, 135, 84, 0.28);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.10);
}

.automation-kpi {
    border-radius: 1.25rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

[data-bs-theme="dark"] .automation-kpi {
    border-color: rgba(255, 255, 255, 0.10);
    background: rgba(22, 28, 45, 0.90);
}

.automation-kpi .kpi-label {
    font-size: 0.85rem;
    color: var(--bs-secondary-color, #6c757d);
    font-weight: 700;
}

.automation-kpi .kpi-value {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--bs-body-color);
}

.automation-kpi .kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 1px solid rgba(0,0,0,0.05);
}

[data-bs-theme="dark"] .automation-kpi .kpi-icon { border-color: rgba(255,255,255,0.08); }

.automation-pending-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.automation-pending-grid > .automation-pending-card { grid-column: span 6; }

@media (max-width: 992px) {
    .automation-pending-grid > .automation-pending-card { grid-column: span 12; }
}

@media (max-width: 576px) {
    .automation-pending-grid > .automation-pending-card { grid-column: span 12; }
}

.automation-pending-list {
    max-height: 260px;
    overflow: auto;
    padding-right: 2px;
}
@media (max-width: 576px) {
    .automation-pending-list { max-height: 320px; overflow: auto; padding-right: 2px; }
}

.automation-filters {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.filter-chip {
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.85);
    color: var(--bs-body-color);
    border-radius: 999px;
    padding: .45rem .85rem;
    font-weight: 800;
    font-size: .85rem;
    white-space: nowrap;
    transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

[data-bs-theme="dark"] .filter-chip {
    border-color: rgba(255,255,255,0.10);
    background: rgba(22, 28, 45, 0.85);
}

.filter-chip:hover { transform: translateY(-1px); border-color: rgba(25,135,84,0.25); }
.filter-chip.active {
    background: rgba(25, 135, 84, 0.12);
    border-color: rgba(25, 135, 84, 0.22);
    color: #198754;
}
[data-bs-theme="dark"] .filter-chip.active { color: #4ade80; }

.automation-pending-card {
    padding: .75rem .9rem;
}

.automation-pending-card .pending-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 1px solid rgba(0,0,0,0.04);
}
[data-bs-theme="dark"] .automation-pending-card .pending-icon { border-color: rgba(255,255,255,0.08); }

.automation-shell .automation-acc-nav .list-group-item {
    border: 1px solid rgba(0,0,0,0.06) !important;
    background: rgba(255,255,255,0.85) !important;
    transition: all .2s ease;
}

[data-bs-theme="dark"] .automation-shell .automation-acc-nav .list-group-item {
    border-color: rgba(255,255,255,0.10) !important;
    background: rgba(22,28,45,0.85) !important;
}

.automation-shell .automation-acc-nav .list-group-item:hover {
    transform: translateY(-2px);
    border-color: rgba(25,135,84,0.25) !important;
}

.automation-shell .automation-acc-nav .list-group-item.active {
    background: rgba(25,135,84,0.10) !important;
    border-color: rgba(25,135,84,0.28) !important;
    color: var(--bs-body-color) !important;
}

.automation-account .automation-system-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.automation-account .automation-system-grid > .automation-system-card { grid-column: span 6; }

@media (min-width: 992px) {
    .automation-account .automation-system-grid > .automation-system-card { grid-column: span 3; }
}

@media (max-width: 576px) {
    .automation-account .automation-system-grid > .automation-system-card { grid-column: span 12; }
}

.automation-account .automation-system-grid--core > .automation-system-card { grid-column: span 12; }
@media (min-width: 576px) {
    .automation-account .automation-system-grid--core > .automation-system-card { grid-column: span 6; }
}
@media (min-width: 992px) {
    .automation-account .automation-system-grid--core > .automation-system-card { grid-column: span 6; }
}

.automation-system-card.automation-system-card--core {
    border-radius: 1.5rem;
    padding: 1.25rem;
    min-height: 240px;
}

@media (min-width: 992px) {
    .automation-system-card.automation-system-card--core { aspect-ratio: 1 / 1; }
}

.automation-system-card.automation-system-card--core .system-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    font-size: 1.4rem;
}

.automation-system-card .system-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.automation-system-card.automation-system-card--core .system-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
}

.automation-system-card {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    min-height: 165px;
}

.automation-system-card .system-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.automation-system-card .system-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: auto;
    padding-top: .75rem;
}
