/* 
 * AGXLcloud ClientExec Custom Theme
 * Contains consolidated inline CSS and Dark Mode variables.
 */

:root {
    /* Foundation Colors - Light Mode */
    --theme-bg-main: #eff1f6;
    --theme-bg-card: #ffffff;
    --theme-text-main: #283557;
    --theme-text-muted: #6c757d;
    --theme-border-color: var(--theme-border-color);
    --theme-primary: var(--theme-primary);
    --theme-primary-hover: var(--theme-primary-hover);
    
    /* Specific Element Colors */
    --theme-header-bg: #ffffff;
    --theme-footer-bg: #212529;
    --theme-footer-bottom-bg: #111315;
    --theme-menu-title-bg: #3c4a65;
    
    /* Overlay & Modal Backgrounds */
    --theme-overlay-bg: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] {
    /* Foundation Colors - Dark Mode */
    --theme-bg-main: #121418;
    --theme-bg-card: #1e2228;
    --theme-text-main: #e0e0e0;
    --theme-text-muted: #a0a5aa;
    --theme-border-color: #2a2e35;
    --theme-primary: var(--theme-primary);
    --theme-primary-hover: #33a4df;
    
    /* Specific Element Colors */
    --theme-header-bg: #1e2228;
    --theme-footer-bg: #111315;
    --theme-footer-bottom-bg: #0a0b0d;
    --theme-menu-title-bg: #2a354b;
    
    /* Overlay & Modal Backgrounds */
    --theme-overlay-bg: rgba(18, 20, 24, 0.9);
}

/* ==========================================================================
   CONSOLIDATED INLINE CSS
   ========================================================================== */
/* --- START: Styles for the Cookieless Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    padding: 25px;
    max-width: 380px;
    z-index: 9999;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    /* Animation */
    transform: translateY(150%);
    opacity: 0;
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}
.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}
.cookie-banner-icon {
    font-size: 2rem;
    color: var(--theme-primary); /* Your brand color */
    flex-shrink: 0;
}
.cookie-banner-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 8px;
}
.cookie-banner-content p {
    font-size: 0.9rem;
    color: var(--theme-text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}
.cookie-banner-content .btn-accept {
    background-color: var(--theme-primary);
    color: #fff;
    padding: 8px 20px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}
@media (max-width: 480px) {
    .cookie-banner {
        left: 15px;
        right: 15px;
        bottom: 15px;
        max-width: none;
    }
}
/* --- END: Styles for the Cookieless Banner --- */
/* --- PRELOADER WRAPPER --- */
#agxl-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--theme-bg-card);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.agxl-preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

.agxl-loader-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

/* --- CENTER LOGO ANIMATION --- */
.agxl-loader-logo {
    width: 65px; 
    height: auto;
    z-index: 2;
    animation: agxl-pulse 2s infinite ease-in-out;
}

/* --- PERFECTLY ROUND CIRCLE ANIMATION --- */
.agxl-loader-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Linear, continuous 360deg rotation */
    animation: agxl-spin 2s linear infinite;
    transform-origin: center center; 
}

.agxl-loader-circle circle {
    stroke: var(--theme-primary); /* AGXL Brand Blue */
    stroke-width: 2.5; /* Slightly thinner for a more elegant look */
    stroke-linecap: round;
    fill: transparent;
    cx: 50;
    cy: 50;
    r: 47; /* Leaves a 3px margin from the 100x100 viewBox edge to prevent clipping */
    transform-origin: center center;
    /* Expanding and contracting stroke */
    animation: agxl-dash 1.5s ease-in-out infinite;
}

/* --- DYNAMIC TEXT STYLING --- */
.agxl-loader-text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    color: #555555;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.3px;
    opacity: 0; 
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    max-width: 80%;
    min-height: 24px; /* Prevents layout jumping */
}

.agxl-loader-text.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- KEYFRAMES --- */
@keyframes agxl-spin {
    100% { transform: rotate(360deg); }
}

@keyframes agxl-dash {
    0% {
        stroke-dasharray: 1, 300;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 200, 300;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 200, 300;
        stroke-dashoffset: -295;
    }
}

@keyframes agxl-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

/* --- CSS for Custom Dropdown Sections & Nested Menu (from topmenu.phtml) --- */

/* Style for our custom section header */
.dropdown-section-title {
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    background-color: #3c4a65;
}

/* Base style for all menu badges */
.menu-tag {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    padding: 2px 5px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}
/* Specific colors for each badge */
.beta-tag { background-color: #fd7e14; } /* Orange */
.new-tag  { background-color: #28a745; } /* Green */
.soon-tag { background-color: var(--theme-text-muted); } /* Gray */
.test-tag { background-color: #8800ff; } /* Violett */


/* --- CSS for Nested Dropdown Menu (Sub-Sub-Menu) --- */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
    border-radius: 0 6px 6px 6px;
}
.dropdown-submenu > a > .fa-caret-right {
    float: right;
    margin-top: 3px;
    opacity: 0.7;
}

/* External Link Icon Style */
.external-link-icon {
    font-size: 10px; /* Smaller icon */
    opacity: 0.6;
    margin-left: 5px;
}

/* DESKTOP ONLY: Show submenu on hover */
@media (min-width: 992px) {
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}

/* --- START: Final, Polished Styles for the Footer --- */
.site-footer {
    background-color: #283557; /* Dark background */
    color: #adb5bd; /* Light gray text for paragraphs */
    font-size: 0.9rem;
    padding-top: 70px;
    text-align: left;
}
.site-footer a {
    color: #f8f9fa; /* White color for links */
    text-decoration: none;
    transition: color 0.2s ease;
}
.site-footer a:hover {
    color: var(--theme-primary); /* Your brand's blue for hover */
}
.footer-item {
    margin-top: 50px;
}
.f-item.about .logo {
    margin-bottom: 20px;
    max-width: 150px;
}
.f-item h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 1.2rem;
}
.f-item ul {
    list-style: none;
    padding: 0;
}
.f-item ul li {
    margin-bottom: 12px;
}
/* Styles for icons in the company links */
.f-item ul li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.f-item ul li a i.fa-fw {
    width: 20px;
    text-align: center;
    color: var(--theme-text-muted);
}
.f-item ul li a .external-link-icon {
    font-size: 10px;
    opacity: 0.6;
}

.footer-social ul {
    display: flex;
    gap: 10px;
}
.footer-social ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
}
.footer-social ul li a:hover {
    background-color: var(--theme-primary);
    color: #fff;
}

.f-item.newsletter form { position: relative; }
.f-item.newsletter input { width: 100%; padding: 12px; border-radius: 6px; border: none; }
.f-item.newsletter button { position: absolute; right: 8px; top: 8px; background-color: var(--theme-primary); color: #fff; border: none; border-radius: 4px; height: 34px; width: 34px; }
.payment-icons img { padding-right: 10px; padding-bottom: 10px; width: 50px; height: auto; }
.footer-bottom { background-color: #111315; padding: 20px 0; margin-top: 50px; font-size: 0.8rem; }

/* The container for the bottom bar with credits and controls */
.footer-bottom-container {
    display: flex;
    justify-content: center; /* Center on mobile */
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.footer-credits {
    text-align: center;
    width: 100%;
}
.footer-credits .separator { margin: 0 10px; color: #495057; }
.footer-credits .brand-logo { max-height: 15px; vertical-align: middle; margin-left: 4px; }
.footer-controls { display: flex; gap: 15px; }

@media (min-width: 768px) {
    .footer-credits {
        width: auto;
        flex-grow: 1;
        /* Always center the text on desktop */
        text-align: center;
    }
}
.footer-controls .dropdown-menu {
    background-color: #343a40; /* Dark background */
    border: 1px solid #495057;   /* Slightly lighter border */
}
.footer-controls .dropdown-item {
    color: #f8f9fa; /* White text for items */
}
.footer-controls .dropdown-item:hover {
    background-color: var(--theme-primary); /* Your brand's blue for hover */
    color: #fff;
}
.copyright-text {
    text-align: center; /* This text is always centered */
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #343a40;
}
.copyright-text img { padding: 0 5px; vertical-align: middle; position: relative; top: -2px; }

/* --- Legal Revoke/Cancel Button --- */
.btn-legal-revoke {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.btn-legal-revoke:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-legal-revoke i {
    font-size: 0.85rem;
    opacity: 0.8;
}
/* --- END: Consolidated Styles --- */

/* --- CSS for the BFSG Accessibility Widget --- */
.bfsg-widget-trigger { position: fixed; bottom: 20px; right: 20px; width: 50px; height: 50px; background-color: var(--theme-primary); color: #fff; border-radius: 50%; box-shadow: 0 5px 15px rgba(0,0,0,0.2); display: flex; justify-content: center; align-items: center; font-size: 1.5rem; cursor: pointer; z-index: 10000; transition: transform 0.2s ease; }
.bfsg-widget-trigger:hover { transform: scale(1.1); }
.bfsg-panel { position: fixed; bottom: 80px; right: 20px; width: 350px; background-color: var(--theme-bg-card); border-radius: 8px; box-shadow: 0 5px 25px rgba(0,0,0,0.15); z-index: 9999; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.3s ease; }
.bfsg-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.bfsg-panel-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid #e9ecef; }
.bfsg-panel-header h5 { margin: 0; font-weight: 600; }
.bfsg-close-btn { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--theme-text-muted); line-height: 1; padding: 0; }
.bfsg-panel-body { max-height: 45vh; overflow-y: auto; padding: 10px 20px; }
.bfsg-panel-footer { text-align: center; border-top: 1px solid #e9ecef; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; }
.bfsg-accordion-item { border-bottom: 1px solid #e9ecef; } .bfsg-accordion-item:last-child { border-bottom: none; }
.bfsg-accordion-header { display: flex; align-items: center; gap: 10px; padding: 15px 5px; cursor: pointer; font-weight: 600; }
.bfsg-accordion-header .icon { color: var(--theme-primary); }
.bfsg-accordion-content { display: none; padding: 0 5px 15px 5px; }
.bfsg-control-item { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.bfsg-control-label { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.bfsg-control-label .icon { color: var(--theme-text-muted); }
.bfsg-control-item .btn-group { flex-shrink: 0; }
.bfsg-control-item .btn { border: 1px solid #ced4da; background-color: #f8f9fa; font-size: 0.85rem; }
.bfsg-control-item .btn.active { background-color: var(--theme-primary); color: #fff; border-color: var(--theme-primary); }
.bfsg-reading-guide { position: fixed; height: 10px; background-color: rgba(255, 255, 0, 0.7); z-index: 10001; pointer-events: none; display: none; }
.bfsg-reading-mask { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 10001; display: none; background: radial-gradient(ellipse at 50% 50%, transparent 100px, rgba(0, 0, 0, 0.6) 110px); }

/* --- Accessibility Classes Applied to the page --- */
body.bfsg-font-large { font-size: 115% !important; } body.bfsg-font-xlarge { font-size: 130% !important; }
body.bfsg-readable-font { font-family: 'OpenDyslexic', Arial, sans-serif !important; }
body.bfsg-text-spacing-1 { line-height: 1.7 !important; letter-spacing: 0.1em !important; word-spacing: 0.2em !important; }
body.bfsg-text-align-center { text-align: center !important; } body.bfsg-text-align-justify { text-align: justify !important; }
body.bfsg-high-contrast { filter: contrast(175%); } body.bfsg-dark-contrast { filter: invert(1) hue-rotate(180deg); }
body.bfsg-invert-colors { filter: invert(100%); }
body.bfsg-highlight-links a { text-decoration: underline !important; background-color: yellow !important; color: black !important; border-radius: 2px; }
body.bfsg-highlight-headers h1, body.bfsg-highlight-headers h2, body.bfsg-highlight-headers h3, body.bfsg-highlight-headers h4 { background-color: yellow !important; color: black !important; }
body.bfsg-focus-highlight *:focus { outline: 3px solid var(--theme-primary) !important; box-shadow: 0 0 10px var(--theme-primary) !important; }
body.bfsg-stop-animations * { animation: none !important; transition: none !important; }
body.bfsg-cursor-big-black { cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><circle cx="16" cy="16" r="14" fill="black" stroke="white" stroke-width="2"/></svg>'), auto; }
body.bfsg-cursor-big-white { cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><circle cx="16" cy="16" r="14" fill="white" stroke="black" stroke-width="2"/></svg>'), auto; }

/* --- Final CSS for Menu Badges (from usermenu.phtml) --- */

/* The parent list item needs to be a positioning reference */
.dropdown-menu > li {
    position: relative;
}

/* Base style for all menu badges, now positioned absolutely */
.menu-tag {
    position: absolute;
    right: 15px; /* Distance from the right edge */
    top: 50%;    /* Position it vertically centered */
    transform: translateY(-50%); /* Fine-tune the vertical centering */

    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    padding: 3px 6px;
    border-radius: 4px;
}
/* Specific colors for each badge */
.beta-tag { background-color: #fd7e14; } /* Orange */
.new-tag  { background-color: #28a745; } /* Green */
.soon-tag { background-color: var(--theme-text-muted); } /* Gray */

/* --- Final Fix: Scrollbar for User Menu on Mobile --- */

/* This media query targets only mobile devices (screens smaller than 992px) */
@media (max-width: 991px) {
    .current-user .dropdown-menu {
        /* Set a maximum height, e.g., 70% of the viewport height */
        max-height: 70vh;
        /* Add a vertical scrollbar ONLY if the content overflows */
        overflow-y: auto;
    }
}
/* --- Migrated from dependencyerrors.phtml --- */
@import url(//fonts.googleapis.com/css?family=Lato:300,400,700,700italic);

            body {
                background-color: #f4f4f4 !important;
            }

            .invalid-license {
                text-align: center;
                font-size: 30px;
                font-family: 'Lato', serif;
            }

            .invalid-license-domain {
                font-weight: 700;
                color: #6D71A0;
            }

            .invalid-contact-info {
                font-size: 20px;
                font-weight:300 !important;
                margin-top:50px;
                line-height: 30px;
            }

            .invalid-license a {
                text-decoration: none;
                color: rgb(255, 92, 0);
            }

            .brand-logo {
                margin-top:40px;
                height: 30px;
            }

/* --- Migrated from main.phtml --- */
.hero-section-v2 {
    background-color: var(--theme-bg-main); 
    border-radius: 8px;
    padding: 0px 140px;
    margin-bottom: 25px;
    overflow: hidden;
}
.hero-section-v2 .row {
    align-items: center;
}
.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--theme-text-main);
    margin-bottom: 20px;
}
.hero-content p.lead {
    font-size: 1.1rem;
    color: var(--theme-text-muted);
    margin-bottom: 30px;
}
.hero-checklist {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}
.hero-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-weight: 500;
    color: #495057;
}
.hero-checklist .check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--theme-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.btn-hero {
    display: inline-block;
    white-space: nowrap;
    background-color: var(--theme-primary);
    color: #fff;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-hero:hover {
    background-color: var(--theme-primary-hover);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}
.hero-image img {
    max-width: 100%;
    height: auto;
}
.hero-image {
    position: relative;
}
.hero-cloud-img {
    position: absolute;
    top: 15px;
    left: -25px;
    width: 160px;
    max-width: 35%;
    z-index: 10;
    transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}
.hero-cloud-img.is-active-cursor {
    opacity: 0.6;
    filter: grayscale(40%);
}
body.cloud-cursor-active, 
body.cloud-cursor-active * {
    cursor: none !important;
}
#cloud-cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 55px;
    pointer-events: none;
    z-index: 999999;
    display: none;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 4px 10px rgba(0, 141, 210, 0.4));
    transition: transform 0.04s ease-out;
}
.hero-cloud-img:hover {
    animation: cloudSway 2.5s ease-in-out infinite alternate;
}
@keyframes cloudSway {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(14px);
    }
    100% {
        transform: translateX(-14px);
    }
}
@media (max-width: 991px) {
    .hero-cloud-img {
        top: -50px;
        left: 50%;
        transform: translateX(-50%);
        width: 110px;
    }
    .hero-cloud-img:hover {
        animation: cloudSwayMobile 2.5s ease-in-out infinite alternate;
    }
}
@keyframes cloudSwayMobile {
    0% {
        transform: translateX(-50%) translateX(-10px);
    }
    100% {
        transform: translateX(-50%) translateX(10px);
    }
}

@media (max-width: 991px) {
    .hero-section-v2 {
        padding: 40px 20px;
    }
    .hero-content {
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2.2rem; 
    }
    .hero-checklist {
        display: inline-block;
        text-align: left;
        width: 100%;
        margin-bottom: 25px;
    }
    .btn-hero {
        display: inline-block;
        margin-top: 10px;
    }
    .hero-image {
        margin-top: 60px;
    }
}

.action-card {
    display: block;
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 25px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    height: 100%;
    color: #495057;
}
.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    color: #fff;
    font-size: 24px;
}
.icon-bg-blue { background-color: var(--theme-primary); }
.icon-bg-green { background-color: #28a745; }
.icon-bg-yellow { background-color: #ffc107; }
.icon-bg-purple { background-color: #6f42c1; }
.icon-bg-orange { background-color: #fd7e14; }

.action-card h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
    color: var(--theme-text-main);
}
.action-card p {
    font-size: 0.9rem;
    color: var(--theme-text-muted);
    text-align: center;
    line-height: 1.6;
    margin: 0;
}

.resp-tabs-list {
    display: flex;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 20px !important;
}
.resp-tabs-list li {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease;
    font-weight: 500;
    color: var(--theme-text-muted);
}
.resp-tabs-list li:hover { color: var(--theme-primary); }
.resp-tabs-list li.resp-tab-active { border-bottom-color: var(--theme-primary); color: var(--theme-primary); }

.client-area-announcement ul, .client-area-popular-article ul {
    list-style: none;
    padding-left: 0;
}
.client-area-announcement li, .client-area-popular-article li {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}
.client-area-announcement li:last-child, .client-area-popular-article li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.client-area-announcement li p, .client-area-popular-article li p {
    font-weight: 600;
    margin-bottom: 5px;
}

.accordion-item {
    padding: 15px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}
.accordion-item:hover {
    background-color: #f8f9fa;
}
.accordion-item.active {
    background-color: var(--theme-bg-main);
    color: var(--theme-primary);
}
.client-faq-content {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
}

.client-area-top-block .row {
    display: flex;
    flex-wrap: wrap;
}
.client-area-top-block .row > [class*='col-'] {
    display: flex;
    flex-direction: column;
}
.action-card {
    flex-grow: 1; 
}

.corner-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    z-index: 2;
}
.badge-soon { background-color: var(--theme-text-muted); }
.badge-planning { background-color: #fd7e14; }
.badge-future { background-color: #6f42c1; }

.action-card.disabled-card {
    opacity: 0.65;
    pointer-events: none;
    cursor: not-allowed;
}

.stock-counter {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    font-size: 0.8rem;
    color: var(--theme-text-muted);
    font-weight: 500;
}
.stock-counter i {
    color: #28a745;
    margin-right: 5px;
}

.icon-bg-discord { background-color: #5865F2; }
.icon-bg-blue-light { background-color: #17a2b8; } 
.icon-bg-red { background-color: #dc3545; }
.icon-bg-pink { background-color: #e83e8c; }
.icon-bg-teal { background-color: #20c997; }

.action-card {
    position: relative;
    display: flex;
    flex-direction: column; 
}

.info-section {
    background: linear-gradient(135deg, var(--theme-primary-hover) 0%, var(--theme-primary) 100%);
    color: #fff;
    border-radius: 8px;
    padding: 40px 30px;
    margin-bottom: 25px;
    text-align: center;
    overflow: hidden;
}
.info-headline {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}
.info-dynamic-text-container {
    font-size: 2rem;
    font-weight: 700;
    color: #a7d9f5; 
    height: 45px; 
    position: relative; 
    overflow: hidden;
    margin-bottom: 15px;
}

.info-section {
    background: linear-gradient(135deg, var(--theme-primary-hover) 0%, var(--theme-primary) 100%);
    color: #fff;
    border-radius: 8px;
    padding: 40px 30px;
    margin-bottom: 25px;
    text-align: center;
    overflow: hidden;
}
.info-headline {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff !important;
}
.info-dynamic-text-container {
    font-size: 2rem;
    font-weight: 700;
    color: #a7d9f5; 
    height: 45px; 
    overflow: hidden;
    margin-bottom: 15px;
}
.info-dynamic-text {
    
    animation: scroll-up-12 24s infinite ease-in-out;
}
@keyframes scroll-up-12 {
    0%, 7%     { transform: translateY(0%); }      
    8%, 15%    { transform: translateY(-8.33%); }  
    16%, 23%   { transform: translateY(-16.66%); } 
    24%, 31%   { transform: translateY(-25%); }    
    32%, 39%   { transform: translateY(-33.33%); } 
    40%, 47%   { transform: translateY(-41.66%); } 
    48%, 55%   { transform: translateY(-50%); }    
    56%, 63%   { transform: translateY(-58.33%); } 
    64%, 71%   { transform: translateY(-66.66%); } 
    72%, 79%   { transform: translateY(-75%); }    
    80%, 87%   { transform: translateY(-83.33%); } 
    88%, 95%   { transform: translateY(-91.66%); } 
    100%       { transform: translateY(0%); }      
}
.info-dynamic-text span {
    display: block;
    height: 45px;
    line-height: 45px;
}
.info-description {
    color: #fff;
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.btn-info-cta {
    background-color: var(--theme-bg-card);
    color: var(--theme-primary);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-info-cta:hover {
    background-color: var(--theme-bg-main);
    text-decoration: none;
    transform: translateY(-2px);
}

.domain-checker-section {
    background-color: var(--theme-primary); 
    color: #fff;
    border-radius: 8px;
    padding: 50px 30px;
    margin-bottom: 25px;
    text-align: center;
}
.domain-checker-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.search-bar-wrapper {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    max-width: 700px;
    margin: 0 auto 20px auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.search-bar-wrapper input {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 10px 15px;
    font-size: 1.1rem;
    outline: none;
    color: #333;
}
.search-bar-wrapper .btn-domain {
    border: none;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.btn-domain-search {
    background-color: var(--theme-primary);
    color: #fff;
    margin-right: 5px;
}
.btn-domain-search:hover {
    background-color: var(--theme-primary-hover);
}
.btn-domain-transfer {
    background-color: var(--theme-text-muted);
    color: #fff;
}
.btn-domain-transfer:hover {
    background-color: #5a6268;
}

.tld-pricing-boxes {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.tld-box {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 6px;
}
.tld-box .tld-name {
    font-weight: 600;
}
.tld-box .tld-price {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
}
.view-all-pricing a {
    color: #fff;
    opacity: 0.8;
    font-size: 0.9rem;
    text-decoration: underline;
}
.view-all-pricing a:hover {
    opacity: 1;
}

@media (max-width: 767px) {
    .search-bar-wrapper {
        flex-direction: column; 
        gap: 10px;       
        padding: 15px;
    }
    .search-bar-wrapper input {
        width: 100%;
        text-align: center;
    }
    .search-bar-wrapper .btn-domain {
        width: 100%;
        margin-right: 0;
    }
}

.faq-section {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 30px;
}
.faq-section .head {
    text-align: center;
    margin-bottom: 30px;
}
.faq-section .head h3 {
    font-size: 1.8rem;
    color: var(--theme-text-main);
    margin-bottom: 5px;
}
.faq-section .head p {
    color: var(--theme-text-muted);
}

.faq-section {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 30px;
}
.faq-section .head { text-align: center; margin-bottom: 30px; }
.faq-section .head h3 { font-size: 1.8rem; color: var(--theme-text-main); margin-bottom: 5px; }
.faq-section .head p { color: var(--theme-text-muted); }

.accordion-item {
    border-bottom: 1px solid #e9ecef;
}
.accordion-item:last-child {
    border-bottom: none;
}
.accordion-header {
    padding: 20px 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}
.accordion-header:hover {
    background-color: #f8f9fa;
}
.accordion-header h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    color: var(--theme-primary);
}
.accordion-header .icon {
    transition: transform 0.3s ease;
    color: var(--theme-primary);
    font-size: 1.2rem;
}
.accordion-item.active > .accordion-header .icon {
    transform: rotate(180deg);
}
.accordion-content {
    display: none;
    padding: 0 10px 10px 10px;
}

.sub-accordion-item {
    border-top: 1px solid #e9ecef;
    padding: 15px 0 15px 20px;
    border-left: 3px solid transparent;
}
.sub-accordion-item:hover {
    border-left-color: #e0e0e0;
}
.sub-accordion-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sub-accordion-header h5 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    color: #495057;
}
.sub-accordion-header .sub-icon {
    transition: transform 0.3s ease;
    color: var(--theme-text-muted);
}
.sub-accordion-item.active > .sub-accordion-header .sub-icon {
    transform: rotate(45deg);
}
.sub-accordion-content {
    display: none;
    padding-top: 15px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--theme-text-muted);
}
.sub-accordion-content a {
    color: var(--theme-primary);
    font-weight: 500;
}

.faq-controls { text-align: center; margin-top: 30px; }
.btn-faq-toggle {
    background-color: #f1f3f5;
    color: #495057;
    border: 1px solid var(--theme-border-color);
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
}
.btn-faq-toggle:hover {
    background-color: #e9ecef;
}

.launch-announcement {
    background-color: var(--theme-bg-card);3cd; 
    color: #856404;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.launch-icon {
    font-size: 2rem;
    flex-shrink: 0;
}
.launch-text h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #533f03;
}
.launch-text p {
    margin: 0;
    line-height: 1.6;
}
.launch-text a {
    color: #856404;
    font-weight: 600;
    text-decoration: underline;
}

.why-choose-us-section {
    padding: 40px 0;
    text-align: center;
}
.section-headline {
    margin-bottom: 40px;
}
.section-headline h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--theme-text-main);
    margin-bottom: 10px;
}
.section-headline p {
    font-size: 1.1rem;
    color: var(--theme-text-muted);
    max-width: 700px;
    margin: 0 auto;
}
.feature-box {
    text-align: center;
    padding: 20px;
}
.feature-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: #e7f3fe; 
    color: var(--theme-primary); 
    font-size: 24px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-box h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--theme-text-main);
    margin-bottom: 10px;
}
.feature-box p {
    font-size: 0.95rem;
    color: var(--theme-text-muted);
    line-height: 1.6;
    margin: 0;
}

.guarantee-banner {
    background: linear-gradient(135deg, #e7f3fe 0%, #f0f8ff 100%);
    border: 1px solid #cce5ff;
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 25px;
}
.guarantee-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    color: var(--theme-primary);
}
.guarantee-text h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #0056b3;
}
.guarantee-text p {
    margin: 0;
    line-height: 1.6;
    color: #495057;
}

.live-status-section {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid #e9ecef;
}
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #495057;
}
.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #28a745; 
    animation: pulse 2s infinite;
}
.status-indicator a {
    color: var(--theme-primary);
    font-weight: 500;
    text-decoration: underline;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

.plan-finder-section {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 40px 30px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.plan-finder-section .section-headline {
    text-align: center;
}
.plan-finder-wizard .finder-step {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    min-height: 300px;
}
.plan-finder-wizard .finder-step.active {
    display: block;
    opacity: 1;
}
.finder-question {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    color: var(--theme-text-main);
    margin-bottom: 30px;
}
.finder-options {
    display: grid;
    gap: 20px;
    
    grid-template-columns: 1fr;
}
@media (min-width: 576px) {
    .finder-options {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .finder-options {
        grid-template-columns: repeat(3, 1fr);
    }
}

.option-box {
    border: 2px solid var(--theme-border-color);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.option-box:hover {
    transform: translateY(-5px);
    border-color: var(--theme-primary);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.option-box .option-icon { font-size: 2.5rem; color: var(--theme-primary); margin-bottom: 15px; }
.option-box h5 { font-size: 1.1rem; font-weight: 600; margin-bottom: 5px; color: #343a40; }
.option-box p { font-size: 0.9rem; color: var(--theme-text-muted); margin: 0; }

#finder-result { text-align: center; }
#finder-result .result-badge { display: inline-block; background-color: #e7f3fe; color: #007bff; font-weight: 600; padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; margin-bottom: 15px; text-transform: uppercase; }
#finder-result h3 { font-size: 1.8rem; font-weight: 700; color: var(--theme-text-main); }
#finder-result #recommendation-name { color: var(--theme-primary); }
#finder-result #recommendation-reason { font-size: 1rem; color: var(--theme-text-muted); max-width: 550px; margin: 15px auto 25px auto; }
.result-details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; max-width: 600px; margin: 0 auto 30px auto; text-align: left; }
.detail-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; background-color: #f8f9fa; padding: 10px; border-radius: 6px; }
.detail-item i { color: var(--theme-primary); font-size: 1.2rem; }
.detail-text strong { display: block; font-weight: 600; color: #343a40; }
.detail-text span { color: var(--theme-text-muted); }

.how-to-find { margin-top: 30px; background-color: #f8f9fa; border: 1px solid var(--theme-border-color); border-radius: 8px; padding: 20px; max-width: 600px; margin-left: auto; margin-right: auto; }
.how-to-find h5 { font-size: 1rem; font-weight: 600; text-align: center; margin-bottom: 15px; color: #343a40; }
.how-to-find ol { list-style-type: none; padding-left: 0; text-align: left; }
.how-to-find li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 10px; font-size: 0.9rem; line-height: 1.5; }
.how-to-find .step-number { background-color: var(--theme-primary); color: white; font-weight: bold; min-width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.how-to-find li strong { color: #007bff; }

.finder-controls { display: flex; justify-content: center; gap: 15px; margin-top: 30px; }
.btn-finder { background-color: var(--theme-text-muted); color: #fff; padding: 10px 25px; font-weight: 600; border-radius: 6px; cursor: pointer; text-decoration: none; border: none; }
.btn-finder:hover { background-color: #5a6268; color: #fff; }

.finder-disclaimer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    font-size: 0.85rem;
    color: var(--theme-text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.finder-disclaimer i {
    margin-top: 3px;
    color: var(--theme-text-muted);
}

.panel-comparison-section {
    padding: 40px 0;
}
.comparison-container {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    overflow: hidden;
}

.comparison-header {
    padding: 30px 40px;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
}
.comparison-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--theme-text-main);
    margin-bottom: 10px;
}
.comparison-header p {
    font-size: 1.1rem;
    color: var(--theme-text-muted);
    max-width: 700px;
    margin: 0 auto;
}
.comparison-header .intro-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--theme-text-muted);
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-radius: 6px;
    display: inline-block;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
}
@media (min-width: 992px) {
    .comparison-grid {
        grid-template-columns: 1fr 4fr;
    }
}
.panel-selector {
    background-color: #f8f9fa;
    border-right: 1px solid #e9ecef;
}
.panel-logo-item {
    display: flex; align-items: center; gap: 15px; padding: 15px 20px;
    cursor: pointer; border-left: 4px solid transparent; transition: all 0.2s ease;
}
.panel-logo-item:not(:last-child) { border-bottom: 1px solid #e9ecef; }
.panel-logo-item img { height: 32px; width: auto; max-width: 100px; }
.panel-logo-item span { font-weight: 600; color: #495057; }
.panel-logo-item:hover { background-color: #e7f3fe; }
.panel-logo-item.active { background-color: var(--theme-bg-card); border-left-color: var(--theme-primary); }
.panel-logo-item.active span { color: var(--theme-primary); }
@media (max-width: 991px) {
    .panel-selector { border-right: none; border-bottom: 1px solid #e9ecef; display: flex; overflow-x: auto; }
    .panel-logo-item { border-left: none; border-bottom: none; border-top: 4px solid transparent; }
    .panel-logo-item:not(:last-child) { border-right: 1px solid #e9ecef; }
}

.panel-content-display { padding: 30px 40px; }
.panel-description { display: none; }
.panel-description.active { display: block; }
.panel-description h4 { font-size: 1.5rem; font-weight: 700; color: var(--theme-text-main); margin-bottom: 10px; }
.panel-description .target-audience { font-size: 0.9rem; font-weight: 600; color: #fff; background-color: var(--theme-text-muted); padding: 4px 10px; border-radius: 15px; display: inline-block; margin-bottom: 20px; }
.panel-description p { color: #495057; line-height: 1.7; margin-bottom: 25px; }
.feature-list { list-style: none; padding-left: 0; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.feature-list i { color: #28a745; font-size: 1.1rem; margin-top: 2px; }
.feature-list li strong { color: #343a40; }

.newsletter-section-v2 {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid var(--theme-border-color);
}
@media (min-width: 992px) {
    .newsletter-section-v2 {
        grid-template-columns: 1fr 1fr;
    }
}

.newsletter-benefits { padding: 40px; }
.newsletter-benefits .large-icon { font-size: 2.5rem; color: var(--theme-primary); margin-bottom: 25px; }
.newsletter-benefits .large-icon svg { width: 48px; height: 48px; }
.newsletter-benefits h4 { font-size: 1.75rem; font-weight: 700; color: var(--theme-text-main); margin-bottom: 25px; }
.benefit-list { list-style: none; padding: 0; margin: 0; }
.benefit-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 1rem; font-weight: 400; color: #495057; }
.benefit-list .check-icon { width: 22px; height: 22px; border-radius: 50%; background-color: #e0f2fe; color: #0c93d5; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }

.newsletter-form-wrapper {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid #e9ecef;
}
@media (min-width: 992px) {
    .newsletter-form-wrapper { border-top: none; border-left: 1px solid #e9ecef; }
}
.newsletter-form-wrapper h4 { font-size: 1.75rem; font-weight: 700; color: var(--theme-text-main); margin-bottom: 8px; }
.newsletter-form-wrapper p { color: var(--theme-text-muted); line-height: 1.6; margin-bottom: 25px; }

#agxl-newsletter-form input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 1rem;
}
#agxl-newsletter-form button {
    width: 100%;
    background-color: var(--theme-primary);
    color: #fff;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
#agxl-newsletter-form button:hover { background-color: var(--theme-primary-hover); }
#agxl-newsletter-form button:disabled { background-color: var(--theme-text-muted); cursor: not-allowed; }
.spinner {
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

#newsletter-feedback {
    margin-top: 15px; font-size: 0.9rem; font-weight: 500;
    padding: 10px; border-radius: 6px; display: none;
}
.feedback-success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.feedback-error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

.about-section-container {
    margin-bottom: 25px;
}
.about-section {
    display: grid;
    grid-template-columns: 1fr;
    background-color: #212121;
    color: #fff;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
@media (min-width: 992px) {
    .about-section {
        grid-template-columns: 45% 55%;
    }
}
.about-image {
    background-size: cover;
    background-position: center;
    min-height: 400px;
    width: 100%;
    z-index: 1; 
}
.about-content {
    padding: 50px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 2; 
}
@media (min-width: 992px) {
    .about-content {
        padding: 70px 50px;
    }
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    
    left: -150px; 
    width: 300px;  
    height: 100%;
    background-color: #212121; 
    
    border-radius: 50%; 
    z-index: -1; 
    display: none; 
}
@media (min-width: 992px) {
    .about-content::before {
        display: block; 
    }
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff; 
}
.about-content h2 i {
    color: var(--theme-primary);
    font-style: normal;
}

.collapsible-content {
    max-height: 120px;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}
.about-content.expanded .collapsible-content {
    max-height: 800px;
}
.about-content p {
    color: #adb5bd;
    line-height: 1.7;
    margin-bottom: 30px;
}
.author-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}
.author-info .thumb img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.author-info .info h4 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff; 
}
.author-info .info span {
    color: var(--theme-primary);
    font-weight: 500;
}
.author-info .signature {
    margin-left: auto;
    max-width: 150px;
}
.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.social-links li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 1px solid #495057;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: all 0.2s ease;
}
.social-links li a:hover {
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
    color: #fff;
}
.social-links li a img {
    height: 18px;
}
.about-toggle {
    margin-top: auto;
    padding-top: 20px;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
    color: #adb5bd;
}
.about-toggle i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.about-content.expanded .about-toggle i {
    transform: rotate(180deg);
}

.stats-section {
    padding: 40px 0;
    text-align: center;
}
.stats-headline {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 40px;
    
    background: linear-gradient(90deg, #6f42c1, var(--theme-primary), #fd7e14, #dc3545);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stats-bar {
    background: linear-gradient(90deg, var(--theme-primary), #17a2b8);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden; 
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 141, 210, 0.3);
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/img/shape/map.svg'); 
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative; 
    z-index: 2;
}
@media (max-width: 767px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-size: 3rem;
    font-weight: 700;
}
.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

.info-card {
    background-color: #f8f9fa; 
    border: 1px solid var(--theme-border-color);
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.info-card .card-icon {
    font-size: 2.5rem;
    color: var(--theme-primary);
    margin-bottom: 20px;
}
.info-card h5 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #343a40;
}
.info-card .intro-text {
    color: var(--theme-text-muted);
    line-height: 1.6;
    flex-grow: 1; 
}

.collapsible-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, margin-top 0.5s ease-in-out;
    color: #495057;
    line-height: 1.7;
}
.info-card.expanded .collapsible-text {
    max-height: 1000px; 
    margin-top: 15px;
}
.show-more-btn {
    margin-top: 20px;
    background: none;
    border: none;
    color: var(--theme-primary);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.show-more-btn i {
    transition: transform 0.3s ease;
}
.info-card.expanded .show-more-btn i {
    transform: rotate(180deg);
}

.scalable-system-section {
    background: linear-gradient(135deg, #ffffff 0%, #f4f9fd 100%);
    border-radius: 12px;
    border: 1px solid #e2edf7;
    padding: 45px 35px;
    margin: 35px 0;
    box-shadow: 0 8px 30px rgba(0, 141, 210, 0.06);
    position: relative;
    overflow: hidden;
}
.scalable-system-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--theme-primary) 0%, #0056b3 100%);
}
.scalable-system-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 35px auto;
}
.scalable-system-header h2 {
    font-size: 2.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}
.scalable-system-header p {
    font-size: 1.05rem;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.6;
}
.scalable-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}
.scalable-card {
    background: var(--theme-bg-card);
    border-radius: 10px;
    padding: 28px 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}
.scalable-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 141, 210, 0.12);
    border-color: #cbd5e1;
}
.scalable-card .card-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}
.scalable-card .icon-compute { background: rgba(0, 141, 210, 0.1); color: var(--theme-primary); }
.scalable-card .icon-storage { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.scalable-card .icon-transparency { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }

.scalable-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 10px;
}
.scalable-card p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 0;
}
.scalable-transparency-banner {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.scalable-transparency-banner i {
    font-size: 1.8rem;
    color: #0284c7;
    flex-shrink: 0;
}
.scalable-transparency-banner .banner-text {
    font-size: 0.96rem;
    color: #0c4a6e;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .scalable-system-section {
        padding: 30px 20px;
    }
    .scalable-system-header h2 {
        font-size: 1.6rem;
    }
    .scalable-transparency-banner {
        flex-direction: column;
        text-align: center;
    }
}

.tech-marquee-wrapper {
    background: var(--theme-bg-card);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}
.tech-marquee {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
}
.tech-marquee-content {
    display: flex;
    animation: scrollMarquee 35s linear infinite;
}
.tech-marquee-content span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #64748b;
    padding: 0 40px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.tech-marquee-content span i {
    font-size: 1.5rem;
    color: #0d6efd;
}
@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.comparison-section {
    padding: 40px 0 60px 0;
}
.comparison-table-wrapper {
    background: var(--theme-bg-card);
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    padding: 20px;
    border: 1px solid #f1f1f1;
}
.comparison-table {
    margin-bottom: 0;
}
.comparison-table th, .comparison-table td {
    padding: 20px;
    vertical-align: middle;
    border-bottom: 1px solid #f8f9fa;
}
.comparison-table thead th {
    border-bottom: 2px solid #e9ecef;
    font-size: 1.1rem;
    color: #495057;
    font-weight: 700;
}
.comparison-table .highlight-col {
    background-color: #f8fbff;
    border-left: 1px solid #eef3fb;
    border-right: 1px solid #eef3fb;
    font-weight: 600;
}
.comparison-table thead .highlight-col {
    background-color: #eef3fb;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom: none;
}
.comparison-table tbody tr:last-child td {
    border-bottom: none;
}
.comparison-table td:first-child {
    width: 40%;
    color: #333;
}
.comparison-table td i {
    font-size: 1.2rem;
    margin-right: 5px;
    vertical-align: text-bottom;
}

/* --- Migrated from register.phtml --- */
/* --- START: Final, Polished Styles for Full-Width Register Page --- */
.register-page .container {
    padding-top: 40px;
    padding-bottom: 40px;
}
.register-card {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 40px;
}
.login-logo { text-align: center; margin-bottom: 25px; }
.login-logo img { max-width: 180px; height: auto; }
.register-card h3 { text-align: center; font-size: 1.8rem; color: var(--theme-text-main); margin-bottom: 30px; }
.register-card .form-elem { margin-bottom: 20px; }
.register-card .btn { padding: 12px; font-size: 1rem; font-weight: 600; }
.login-footer { text-align: center; margin-top: 25px; font-size: 0.9rem; }
/* --- END: Modern Styles --- */

/* --- Migrated from forgotpassword.phtml --- */
/* --- START: Final, Polished Styles for Two-Column Page --- */
html, body { height: 100%; }
body { display: flex; flex-direction: column; }
.content-page { flex-grow: 1; }
.login-page { background-color: #f8f9fa; display: flex; align-items: center; justify-content: center; width: 100%; padding: 40px 15px; }
.login-container { display: flex; background: var(--theme-bg-card); border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); width: 100%; max-width: 900px; min-height: 600px; overflow: hidden; position: relative; }

/* Form column now on the RIGHT */
.login-form-column {
    flex-basis: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    margin-left: 50%; /* Pushes the form to the right half */
}
/* Image column now on the LEFT */
.login-image-column {
    position: absolute;
    top: 0; left: 0; /* Positioned on the left */
    width: 50%; height: 100%;
    z-index: 1;
}
.image-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease-in-out; }
.image-layer.is-visible { opacity: 1; }

.login-logo { text-align: center; margin-bottom: 25px; }
.login-logo img { max-width: 180px; height: auto; }
.login-form-column h3 { text-align: center; font-size: 1.5rem; color: var(--theme-text-main); margin-bottom: 25px; }
.login-form-column .form-group { margin-bottom: 20px; }
.login-form-column .form-control { height: 48px; padding: 10px 15px; border-radius: 6px; }
.login-form-column .btn { width: 100%; padding: 12px; font-size: 1rem; font-weight: 600; }
.login-footer { text-align: center; margin-top: 25px; font-size: 0.9rem; }
.success-message { text-align: center; font-size: 1rem; line-height: 1.6; }

@media (max-width: 991px) {
    .login-image-column { display: none; }
    .login-form-column { flex-basis: 100%; margin-left: 0; }
    .login-container { min-height: auto; flex-direction: column; position: static; }
}
/* --- END: Modern Styles --- */

/* --- Migrated from invalidlicense.phtml --- */
@import url(//fonts.googleapis.com/css?family=Lato:300,400,700,700italic);

body {
    background-color: #f4f4f4 !important;
}

.invalid-license {
    text-align: center;
    font-size: 30px;
    font-family: 'Lato', serif;
}

.invalid-license h1 {
    font-size: 45px;
}

.invalid-license-domain {
    font-weight: 700;
    color: #6D71A0;
    font-size: 40px;
}

.invalid-contact-info {
    font-size: 20px;
    font-weight: 300 !important;
    margin-top: 50px;
    line-height: 30px;
}

.invalid-license a {
    text-decoration: none;
    color: rgb(255, 92, 0);
}

.brand-logo {
    margin-top: 40px;
    height: 30px;
}

/* --- Migrated from login.phtml --- */
/* --- START: Final, Polished Styles for Two-Column Login Page --- */
html, body { height: 100%; }
body { display: flex; flex-direction: column; }
.content-page { flex-grow: 1; }
.login-page { background-color: #f8f9fa; display: flex; align-items: center; justify-content: center; width: 100%; padding: 40px 15px; }
.login-container { display: flex; background: var(--theme-bg-card); border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); width: 100%; max-width: 900px; min-height: 600px; overflow: hidden; position: relative; }
.login-form-column { flex-basis: 50%; padding: 40px; display: flex; flex-direction: column; justify-content: center; z-index: 2; }
.login-image-column { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; z-index: 1; }
.image-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease-in-out; }
.image-layer.is-visible { opacity: 1; }
.login-logo { text-align: center; margin-bottom: 25px; }
.login-logo img { max-width: 180px; height: auto; }
.login-form-column h3 { text-align: center; font-size: 1.5rem; color: var(--theme-text-main); margin-bottom: 25px; }
.login-form-column .form-group { margin-bottom: 20px; }
.login-form-column .form-control { height: 48px; padding: 10px 15px; border-radius: 6px; border-right: none; }
.login-form-column .input-group-text { background-color: #e9ecef; border-left: none; }
.login-options { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; margin-bottom: 25px; }
.login-options a { color: var(--theme-text-muted); }
.login-form-column .btn { width: 100%; padding: 12px; font-size: 1rem; font-weight: 600; }
.login-footer { text-align: center; margin-top: 25px; font-size: 0.9rem; }
/* NEW: Style for the clickable password toggle icon */
#password-toggle { cursor: pointer; }
@media (max-width: 991px) {
    .login-image-column { display: none; }
    .login-form-column { flex-basis: 100%; }
    .login-container { min-height: auto; flex-direction: column; position: static; }
}
/* --- END: Modern Styles --- */

/* --- Migrated from dashboard.phtml --- */
/* --- START: Modern Dashboard Styles --- */
.dashboard-wraper { background-color: #f8f9fa; }
.dashboard-main .row { align-items: flex-start; }
.sidebar-card { background-color: var(--theme-bg-card); border-radius: 8px; box-shadow: 0 5px 25px rgba(0,0,0,0.08); padding: 25px; margin-bottom: 25px; }
.sidebar-card .heading h4 { font-size: 1.2rem; color: var(--theme-primary); margin-top: 0; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #e9ecef; }
.sidebar-card p { font-size: 0.9rem; color: var(--theme-text-muted); line-height: 1.6; margin-bottom: 0; }
.quick-actions-list { list-style: none; padding: 0; margin: 0; }
.quick-actions-list li a { display: flex; align-items: center; padding: 10px 5px; color: #495057; font-weight: 500; text-decoration: none; border-radius: 6px; transition: all 0.2s ease; }
.quick-actions-list li a:hover { background-color: var(--theme-bg-main); color: var(--theme-primary); }
.quick-actions-list li a i { font-size: 16px; width: 30px; text-align: center; margin-right: 10px; color: #adb5bd; }
.sidebar-card--help { background-color: #e9f5ff; border: 1px solid #bde0ff; text-align: center; }
.sidebar-card--help .icon { font-size: 2rem; color: var(--theme-primary); margin-bottom: 10px; }
.sidebar-card--help h5 { font-size: 1.1rem; color: var(--theme-text-main); margin-bottom: 15px; }
.sidebar-card--help .btn-support { display: block; width: 100%; margin-bottom: 10px; background-color: var(--theme-bg-card); border: 1px solid var(--theme-primary); color: var(--theme-primary); padding: 8px; font-weight: 600; }
.sidebar-card--help .btn-support:hover { background-color: var(--theme-primary); color: #fff; }
.dashboard-right-block { padding-left: 15px; }
.dashboard-card { display: block; background-color: var(--theme-bg-card); border-radius: 8px; box-shadow: 0 5px 25px rgba(0,0,0,0.08); padding: 20px; text-align: center; text-decoration: none !important; transition: all 0.2s ease; margin-bottom: 25px; color: #495057; }
.dashboard-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.card-icon { width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; margin: 0 auto 15px auto; color: #fff; font-size: 24px; }
.icon-bg-blue { background-color: var(--theme-primary); } .icon-bg-yellow { background-color: #ffc107; } .icon-bg-purple { background-color: #6f42c1; } .icon-bg-green { background-color: #28a745; }
.dashboard-card h5 { font-size: 2rem; font-weight: 700; margin: 0 0 5px 0; }
.dashboard-card p { font-size: 0.9rem; font-weight: 500; color: var(--theme-text-muted); margin: 0; }
.cm-holder { background-color: var(--theme-bg-card); border-radius: 8px; box-shadow: 0 5px 25px rgba(0,0,0,0.08); padding: 25px; margin-bottom: 25px; }
.cm-holder .head { margin-bottom: 15px; }
.cm-holder .head h3 { font-size: 1.3rem; margin: 0; }
.view-all-table { font-weight: 500; }
.table thead th { background-color: #f8f9fa; border-bottom: 2px solid #e9ecef; }
.status { padding: 4px 10px; border-radius: 15px; font-size: 12px; font-weight: 600; color: #fff; background-color: var(--theme-text-muted); }
.status.active, .status.paid { background-color: #28a745; }
.status.pending, .status.unpaid { background-color: #ffc107; color: var(--theme-text-main);}
.status.suspended, .status.fraud, .status.cancelled { background-color: #dc3545; }

/* --- START: Modern Package Grid-Cards --- */
.package-grid-wrapper {
    margin-bottom: 25px;
}
.package-card-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
    height: 100%;
}
.package-card {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border: 1px solid var(--theme-border-color);
    position: relative;
}
.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 141, 210, 0.12);
    border-color: var(--theme-primary);
}
.package-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.package-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #e6f7ff;
    color: var(--theme-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}
/* Anpassung der Status-Badges für die Kacheln */
.package-card .status {
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
}
.package-card-body {
    flex-grow: 1;
    margin-bottom: 15px;
}
.package-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--theme-text-main);
    margin: 0 0 8px 0;
    line-height: 1.4;
    /* Verhindert Textüberlauf bei extrem langen Produktnamen */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.package-card-meta {
    font-size: 0.8rem;
    color: var(--theme-text-muted);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}
.package-card-meta .meta-label {
    font-weight: 500;
}
.package-card-meta .meta-value {
    font-weight: 600;
    color: #495057;
}
.package-card-footer {
    border-top: 1px solid #f1f3f5;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: auto;
}
.package-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--theme-text-main);
}
.package-card-term {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #adb5bd;
    letter-spacing: 0.5px;
}
/* --- END: Modern Package Grid-Cards --- */

/* --- START: Modern Ticket Feed-List --- */
.ticket-list-wrapper {
    margin-bottom: 25px;
}
.ticket-item-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
    margin-bottom: 12px;
}
.ticket-item-link:last-child {
    margin-bottom: 0;
}
.ticket-item-content {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    border: 1px solid var(--theme-border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ticket-item-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 141, 210, 0.08);
    border-color: var(--theme-primary);
}
.ticket-item-left {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 75%; /* Verhindert, dass extrem lange Betreffs das Badge wegschieben */
}
.ticket-item-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Dynamische Farbringe passend zum Ticketstatus */
.ticket-item-icon.open, .ticket-item-icon.active {
    background-color: #e6f7ff;
    color: var(--theme-primary);
}
.ticket-item-icon.waiting-on-customer {
    background-color: var(--theme-bg-card);8e1;
    color: #f57f17;
}
.ticket-item-icon.closed, .ticket-item-icon.resolved {
    background-color: #e2f9df;
    color: #1b5e20;
}
/* Fallback-Farbring für sonstige Statuswerte */
.ticket-item-icon {
    background-color: #f8f9fa;
    color: var(--theme-text-muted);
}

.ticket-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0; /* Ermöglicht Text-Abkürzung mit "..." in Flexbox */
}
.ticket-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--theme-text-main);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ticket-item-meta {
    font-size: 0.78rem;
    color: #868e96;
    margin: 0;
    font-weight: 500;
}
.ticket-item-meta .meta-value {
    font-weight: 600;
    color: #495057;
}
.ticket-item-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
/* Feine Anpassung der Ticket-Status-Badges */
.ticket-item-content .status {
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ticket-item-arrow {
    color: #adb5bd;
    font-size: 0.9rem;
    transition: transform 0.2s ease, color 0.2s ease;
}
.ticket-item-content:hover .ticket-item-arrow {
    color: var(--theme-primary);
    transform: translateX(3px);
}
/* --- END: Modern Ticket Feed-List --- */

/* --- START: Modern Invoice Feed-List --- */
.invoice-list-wrapper {
    margin-bottom: 25px;
}
.invoice-item-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
    margin-bottom: 12px;
}
.invoice-item-link:last-child {
    margin-bottom: 0;
}
.invoice-item-content {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    border: 1px solid var(--theme-border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.invoice-item-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 141, 210, 0.08);
    border-color: var(--theme-primary);
}
.invoice-item-left {
    display: flex;
    align-items: center;
    gap: 15px;
}
.invoice-item-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
/* Dynamische Farbringe passend zum Rechnungsstatus */
.invoice-item-icon.unpaid, .invoice-item-icon.unpaid {
    background-color: var(--theme-bg-card);8e1;
    color: #f57f17;
}
.invoice-item-icon.paid {
    background-color: #e2f9df;
    color: #1b5e20;
}
.invoice-item-icon.cancelled, .invoice-item-icon.refunded {
    background-color: #ffebee;
    color: #b71c1c;
}

.invoice-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.invoice-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--theme-text-main);
    margin: 0;
}
.invoice-item-date {
    font-size: 0.78rem;
    color: #868e96;
    margin: 0;
    font-weight: 500;
}
.invoice-item-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.invoice-item-price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.invoice-item-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--theme-text-main);
}
/* Feine Anpassung der Rechnungs-Status-Badges */
.invoice-item-content .status {
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.invoice-item-arrow {
    color: #adb5bd;
    font-size: 0.9rem;
    transition: transform 0.2s ease, color 0.2s ease;
}
.invoice-item-content:hover .invoice-item-arrow {
    color: var(--theme-primary);
    transform: translateX(3px);
}
/* --- END: Modern Invoice Feed-List --- */

/* NEW: Styles for the Multiserver Map Card */
.status-soon { background-color: var(--theme-text-muted); font-size: 11px; vertical-align: middle; margin-left: 10px; }
.map-container {
    height: 350px;
    border: 1px solid var(--theme-border-color);
    border-radius: 6px;
    background-color: #f8f9fa;
    overflow: hidden; /* Important for Panzoom */
    cursor: grab;
}
.map-container:active { cursor: grabbing; }
.map-container svg {
    width: 100%;
    height: 100%;
}
.map-container svg path {
    fill: #d4d9e2;
    stroke: #fff;
    stroke-width: 0.5;
    transition: fill 0.2s ease-in-out;
}
.map-container svg path:hover {
    fill: var(--theme-primary); /* Highlight country on hover */
}
.map-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
/* --- Didit Identity Verification Widget --- */
.quick-action-didit {
    background: var(--theme-bg-card);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 20px; /* Abstand zu anderen Elementen */
}

.quick-action-didit:hover {
    border-color: var(--theme-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,141,210,0.15);
}

.didit-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.didit-icon {
    width: 40px;
    height: 40px;
    background-color: #e6f7ff;
    color: var(--theme-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.didit-text h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.didit-text p {
    margin: 3px 0 0 0;
    font-size: 13px;
    color: #666;
}

/* Tooltip Styles */
.info-tooltip-wrapper {
    position: relative;
    display: inline-flex;
    margin-left: 8px;
}

.info-icon {
    color: var(--theme-primary);
    cursor: help;
    font-size: 14px;
    transition: color 0.2s;
}

.info-icon:hover {
    color: #005f8d;
}

.custom-tooltip {
    visibility: hidden;
    width: 320px;
    background-color: #333;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 12px;
    position: absolute;
    z-index: 100;
    bottom: 135%; /* Position above icon */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    line-height: 1.5;
    font-weight: normal;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.custom-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.info-tooltip-wrapper:hover .custom-tooltip {
    visibility: visible;
    opacity: 1;
}

.didit-ignore-note {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    color: #999;
    font-style: italic;
}

.btn-verify {
    background-color: var(--theme-primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-verify:hover {
    background-color: #006da0;
    text-decoration: none;
    color: white;
}

/* --- Didit Modal Overlay Styles --- */
.didit-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.didit-modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 480px; /* Mobile optimized standard width */
    height: 85vh;
    max-height: 750px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.didit-modal-header {
    padding: 15px;
    display: flex;
    justify-content: flex-end;
    background: var(--theme-bg-card);
    border-bottom: 1px solid #f0f0f0;
}

.didit-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.didit-modal-close:hover {
    background: #e0e0e0;
    color: #000;
}

.didit-iframe {
    width: 100%;
    height: 100%;
    border: none;
    flex-grow: 1;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Dark Mode Adjustments */
[data-theme="dark"] .quick-action-didit {
    background: #2d2d2d;
    border-color: #444;
}
[data-theme="dark"] .didit-text h4 { color: #fff; }
[data-theme="dark"] .didit-text p { color: #aaa; }
[data-theme="dark"] .didit-icon { background-color: rgba(0, 141, 210, 0.2); }
/* --- END: Modern Styles --- */

/* --- Migrated from dashboard.phtml --- */
/* CSS Variables initialized by JS */
    .random-banner-wrapper {
        --banner-bg: #000000;       
        --banner-border: #333333;
        --btn-bg: #ffffff;
        --btn-text: #ffffff;
        --text-color: #ffffff; 
        --accent-color: #ffffff;
        --logo-font: 'Montserrat', sans-serif;
    }

    /* Main link container */
    .rb-link {
        text-decoration: none;
        color: inherit;
        display: block;
        width: 100%;
        max-width: 950px;
        margin: 0px auto 20px auto;
        font-family: 'Montserrat', sans-serif;
    }

    /* Banner layout */
    .rb-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: var(--banner-bg);
        border: 1px solid var(--banner-border);
        padding: 15px 30px;
        box-sizing: border-box;
        border-radius: 8px;
        overflow: hidden;
        position: relative;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        transition: all 0.3s ease;
    }

    /* Logo styling */
    .rb-logo {
        flex-shrink: 0;
        z-index: 2;
        border-right: 1px solid var(--banner-border);
        padding-right: 20px;
        min-width: 160px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
    }
    
    .rb-logo img {
        max-height: 35px;
        max-width: 150px;
        width: auto;
        display: block;
        object-fit: contain;
    }

    /* Text Logo Styling */
    .rb-text-logo {
        color: var(--text-color);
        font-weight: 800;
        font-size: 20px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        font-family: var(--logo-font);
        line-height: 1.1;
        white-space: nowrap;
    }
    .rb-text-logo span { color: var(--accent-color); }

    /* Text Wrapper */
    .rb-text-wrapper {
        flex-grow: 1;
        margin: 0 20px;
        position: relative;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        z-index: 1;
    }

    /* Animated Text */
    .rb-animated-text {
        color: var(--text-color);
        font-size: 16px;
        font-weight: 600;
        text-align: center;
        position: absolute;
        width: 100%;
        left: 0;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.5s ease, transform 0.5s ease;
        line-height: 1.4;
        margin: 0;
        padding: 0;
    }
    
    .rb-animated-text.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .rb-highlight { color: var(--accent-color); font-weight: 700; }

    /* Button styling */
    .rb-button {
        flex-shrink: 0;
        background: var(--btn-bg);
        color: var(--btn-text);
        padding: 12px 25px;
        font-size: 14px;
        font-weight: 700;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        text-transform: uppercase;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        transition: transform 0.2s ease;
        z-index: 2;
    }

    @keyframes rb-pulse {
        0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2); }
        70% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
        100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
    }
    .rb-button { animation: rb-pulse 3s infinite; }

    .rb-link:hover .rb-button { transform: scale(1.03); filter: brightness(1.1); }
    .rb-button .arrow-icon { margin-left: 10px; }

    /* --- RESPONSIVE FIX --- */
    @media (max-width: 768px) {
        .rb-container {
            flex-direction: column;
            padding: 20px 15px;
            text-align: center;
            height: auto;
        }
        .rb-logo {
            border-right: none;
            padding-right: 0;
            margin-bottom: 15px;
            border-bottom: 1px solid var(--banner-border);
            padding-bottom: 15px;
            width: 100%;
            justify-content: center;
        }
        .rb-text-wrapper {
            margin: 0 0 20px 0;
            height: auto; 
            min-height: 50px; /* Ensures space for text */
            width: 100%;
        }
        .rb-animated-text {
            font-size: 15px; /* Slightly smaller on mobile */
            position: relative; /* Use relative on mobile to allow flow if needed, or stick to absolute with min-height */
            /* Keeping absolute for transition, relying on min-height of wrapper */
            position: absolute;
            transform: translateY(10px);
        }
        .rb-animated-text.is-visible {
            transform: translateY(0);
        }
        .rb-button {
            width: 100%; /* Full width button on mobile */
            justify-content: center;
        }
    }

/* --- Migrated from editaccountpassword.phtml --- */
/* --- START: Final, Polished Styles for Two-Column Page --- */
html, body { height: 100%; }
body { display: flex; flex-direction: column; }
.content-page { flex-grow: 1; }
.login-page { background-color: #f8f9fa; display: flex; align-items: center; justify-content: center; width: 100%; padding: 40px 15px; }
.login-container { display: flex; background: var(--theme-bg-card); border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); width: 100%; max-width: 900px; min-height: 600px; overflow: hidden; position: relative; }
.login-form-column { flex-basis: 50%; padding: 40px; display: flex; flex-direction: column; justify-content: center; z-index: 2; }
.login-image-column { position: absolute; top: 0; right: 0; width: 50%; height: 100%; z-index: 1; }
.image-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease-in-out; }
.image-layer.is-visible { opacity: 1; }
.login-logo { text-align: center; margin-bottom: 25px; }
.login-logo img { max-width: 180px; height: auto; }
.login-form-column h3 { text-align: center; font-size: 1.5rem; color: var(--theme-text-main); margin-bottom: 25px; }
.login-form-column .form-group { margin-bottom: 20px; }
.login-form-column .form-control { height: 48px; padding: 10px 15px; border-radius: 6px; border-right: none; }
.login-form-column .input-group-text { background-color: #e9ecef; border-left: none; }
.password-toggle { cursor: pointer; }
.login-form-column .btn { width: 100%; padding: 12px; font-size: 1rem; font-weight: 600; }
.login-footer { text-align: center; margin-top: 25px; font-size: 0.9rem; }
#password-requirements { list-style: none; padding: 0; margin: 10px 0 0 0; font-size: 0.8rem; }
#password-requirements li { color: #dc3545; transition: color 0.3s ease; margin-bottom: 4px; }
#password-requirements li i { margin-right: 8px; }
#password-requirements li.valid { color: #28a745; }
#password-strength-bar-container { background-color: #e9ecef; border-radius: 4px; height: 8px; margin-top: 15px; overflow: hidden; }
#password-strength-bar { height: 100%; width: 0; transition: width 0.3s ease, background-color 0.3s ease; }
#password-strength-bar.weak { background-color: #dc3545; }
#password-strength-bar.medium { background-color: #fd7e14; }
#password-strength-bar.strong { background-color: #ffc107; }
#password-strength-bar.very-strong { background-color: #28a745; }

@media (max-width: 991px) {
    .login-image-column { display: none; }
    .login-form-column { flex-basis: 100%; }
    .login-container { min-height: auto; flex-direction: column; position: static; }
}
/* --- END: Modern Styles --- */

/* --- Migrated from invoice.phtml --- */
/* --- START: Modern Invoice Styles --- */
.invoice-page-wraper {
    background-color: #f8f9fa;
    padding: 40px 0;
}

/* ... (Bestehende Invoice Styles bleiben erhalten) ... */

.invoice-actions-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}
.invoice-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}
.status-badge {
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 500;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.status-badge.paid, .status-badge.active { background-color: #28a745; }
.status-badge.unpaid, .status-badge.pending { background-color: #dc3545; }
.status-badge.draft { background-color: var(--theme-text-muted); }
.status-badge.void { background-color: #ffc107; color: #000; }

.btn-invoice-action {
    display: inline-block;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out;
}
.btn-invoice-action:hover { opacity: 0.9; }

.btn-email { background-color: var(--theme-bg-card); border-color: #ccc; color: #444; }
.btn-pdf { background-color: var(--theme-primary); color: #fff; }
.btn-credit { background-color: #28a745; color: #fff; }

.invoice-card {
    background: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Header, Billing, Table Styles ... (gleich wie vorher) */
.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 30px;
}
.invoice-company-details .logo { max-width: 180px; margin-bottom: 15px; }
.invoice-company-details address { font-style: normal; color: var(--theme-text-muted); line-height: 1.6; }
.invoice-title-section h1 { font-size: 2.5rem; color: var(--theme-primary); margin: 0 0 10px 0; text-align: right; }
.invoice-meta { text-align: right; color: #495057; }
.invoice-meta p { margin: 0; line-height: 1.6; }
.invoice-meta strong { color: var(--theme-text-main); }

.invoice-billing-details { margin-bottom: 40px; }
.invoice-billing-details h6 { font-size: 0.9rem; color: var(--theme-primary); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.invoice-billing-details address { font-style: normal; line-height: 1.6; }

.invoice-table { width: 100%; margin-bottom: 30px; }
.invoice-table th { background-color: #f8f9fa; border-bottom: 2px solid #e9ecef; color: #495057; font-weight: 600; text-align: left; padding: 12px 15px; }
.invoice-table td { padding: 15px; border-bottom: 1px solid #e9ecef; vertical-align: top; }
.invoice-table tbody tr:last-child td { border-bottom: none; }
.invoice-table .entry-details { font-size: 0.85rem; color: var(--theme-text-muted); }
.text-right { text-align: right; }

.invoice-totals { display: flex; justify-content: flex-end; }
.invoice-totals table { width: 100%; max-width: 350px; }
.invoice-totals td { padding: 10px 15px; }
.invoice-totals .total-label { font-weight: 500; color: #495057; }
.invoice-totals .total-due { background-color: var(--theme-primary); color: white; font-size: 1.2rem; font-weight: bold; }
.invoice-totals .total-due td { padding: 15px; }

.invoice-transactions {
    margin-top: 30px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--theme-text-muted);
}
.invoice-transactions h6 {
    font-weight: bold;
    color: #495057;
    margin-top: 0;
    margin-bottom: 10px;
}

/* --- BANK TRANSFER WIDGET STYLES (Ported from bank.html) --- */
.payment-info-section { margin-top: 40px; padding-top: 30px; border-top: 1px solid #e9ecef; }

.search-container {
    margin-bottom: 24px;
    position: relative;
    max-width: 100%;
    display: flex;
    align-items: center;
}
.search-container input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #eee;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    transition: all 0.2s ease;
}
.search-container input:focus {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 2px rgba(0,141,210,0.1);
}
.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    border-radius: 0 0 12px 12px;
    max-height: 200px;
    overflow-y: auto;
}
.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: var(--theme-bg-card);
    border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
    background-color: #e9e9e9;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.tab {
    padding: 10px 16px;
    cursor: pointer;
    background-color: var(--theme-bg-card);
    border: 1px solid #eee;
    outline: none;
    transition: all 0.2s ease;
    margin: 0;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
}
.tab:hover { background-color: #f5f5f5; }
.tab.active { background-color: var(--theme-primary); color: white; border-color: var(--theme-primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

.bank-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border: 1px solid var(--theme-border-color);
}
@media (min-width: 768px) {
    .bank-info { flex-direction: row; align-items: flex-start; }
    .details-wrapper { flex-grow: 1; }
    .qr-code-wrapper { width: auto; flex-shrink: 0; text-align: center; }
}

.bank-info h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; color: #333; }
.bank-info h4 { color: #666; font-size: 14px; margin: 0 0 20px; font-weight: normal; }

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    padding: 12px;
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    border: 1px solid #eee;
}
.info-row p:first-child { font-weight: 600; color: #333; margin: 0; }
.info-container { display: flex; align-items: center; }
.info-container p { margin: 0; color: #555; }

.hidden-info { filter: blur(5px); transition: filter 0.3s ease; }
.eye-icon {
    cursor: pointer; margin-left: 10px; padding: 6px; border-radius: 50%;
    background-color: #f0f0f0; display: inline-flex; align-items: center; justify-content: center;
}
.eye-icon svg { width: 16px; height: 16px; }
.copy-btn {
    background-color: #333; color: white; border: none; padding: 6px 12px;
    margin-left: 10px; cursor: pointer; border-radius: 6px; font-size: 12px;
}
.copy-btn:hover { background-color: #000; }

.qr-code-wrapper img {
    width: 140px; height: 140px; display: block; margin: 0 auto;
    border: 1px solid #eee; border-radius: 8px; background-color: var(--theme-bg-card);
}
.qr-code-wrapper p { margin-top: 8px; font-size: 12px; color: #666; text-align: center; }

.section-divider {
    margin: 30px 0 20px 0;
    display: flex; align-items: center; text-align: center; color: #888;
}
.section-divider::before, .section-divider::after {
    content: ''; flex: 1; border-bottom: 1px solid #ddd;
}
.section-divider span {
    padding: 0 15px; font-size: 13px; font-weight: 500; white-space: nowrap;
}

.crypto-warning-main {
    text-align: center; color: #721c24; background-color: #f8d7da;
    border: 1px solid #f5c6cb; padding: 12px; border-radius: 8px; margin-bottom: 20px; font-size: 14px;
}
.wallet-address { font-family: monospace; font-size: 13px; word-break: break-all; }
.crypto-note { margin-top: 12px; font-size: 13px; color: #721c24; font-weight: 500; background-color: var(--theme-bg-card); border: 1px solid #eee; padding: 10px; border-radius: 8px; }
.fee-note {
    display: flex; align-items: flex-start; gap: 10px; padding: 12px;
    margin-top: 12px; background-color: #e6f7ff; border: 1px solid #b7e9ff;
    border-radius: 8px; font-size: 13px; color: #00529b; line-height: 1.4;
}
.fee-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; }

.localize-btn { background: none; border: none; cursor: pointer; padding: 0 0 0 10px; }
.localize-btn svg { width: 20px; height: 20px; }

.invoice-footer { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid #e9ecef; color: var(--theme-text-muted); }

/* --- SWIFT WARNING STYLE --- */
.swift-alert {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.swift-alert svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: #dc3545;
}

/* --- POST-PAYMENT INFO STYLES --- */
.bank-post-payment-info {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bank-action-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

/* Style für den Ticket-Hinweis */
.bank-action-box.process-info {
    background-color: #e9f5ff; /* Helles Blau */
    border-left: 4px solid var(--theme-primary);
    color: #00529b;
}

/* Style für das Geschenk */
.bank-action-box.bonus-info {
    background-color: #f0fdf4; /* Helles Grün */
    border-left: 4px solid #28a745;
    color: #155724;
}

.bank-action-box svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.bank-action-box strong {
    font-weight: 600;
    font-size: 15px;
    display: block;
    margin-bottom: 5px;
}

.bank-ticket-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    background-color: var(--theme-primary);
    color: white !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-weight: 500;
    font-size: 13px;
    transition: background-color 0.2s;
}

.bank-ticket-btn:hover {
    background-color: #006da0;
}

@media (min-width: 768px) {
    .bank-post-payment-info {
        flex-direction: row;
    }
    .bank-action-box {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .invoice-header, .invoice-actions-container { flex-direction: column; align-items: flex-start; }
    .invoice-title-section, .invoice-meta, .invoice-actions { text-align: left; justify-content: flex-start; }
    .invoice-totals { justify-content: flex-start; }
    .invoice-totals table { max-width: 100%; }
    .bank-info { flex-direction: column; }
    .qr-code-wrapper { width: 100%; margin-top: 15px; }
}

/* --- Migrated from invoicedirectlinkform.phtml --- */
/* --- START: Modern Styles for the Direct Invoice Payment Form --- */
.direct-payment-page {
    background-color: #f8f9fa;
    padding: 60px 0;
}
.payment-card {
    background: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 35px rgba(0,0,0,0.1);
    padding: 30px 40px;
    max-width: 600px;
    margin: 0 auto;
}
.payment-card-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}
.payment-card-header .logo {
    max-width: 180px;
    margin-bottom: 15px;
}
.payment-card-header h3 {
    font-size: 1.5rem;
    color: var(--theme-text-main);
    margin: 0;
}
.payment-summary {
    list-style: none;
    padding: 0 0 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}
.payment-summary li {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    padding: 8px 0;
}
.payment-summary .total-due {
    font-weight: bold;
    font-size: 1.3rem;
    color: var(--theme-primary);
}
.payment-method-title {
    font-weight: 600;
    margin-bottom: 15px;
}
/* This ensures the payment gateway's button is styled correctly */
.paymentbutton2 .btn, .paymentbutton2 input[type="submit"] {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    background-color: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
    color: #fff !important;
}
/* --- END: Modern Styles --- */

/* --- Migrated from allinvoices.phtml --- */
/* --- START: Global Modernization Styles --- */
.datatable-page .container, .content-area .container {
    padding-top: 20px;
    padding-bottom: 20px;
}
.cm-holder {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 30px;
}
.cm-holder .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}
.cm-holder .head h1 {
    font-size: 1.8rem;
    margin: 0;
}
.knowledge-base-search { max-width: 300px; }
.knowledge-base-search input { border-radius: 6px !important; border: 1px solid #ced4da; padding: 8px 12px; }
.knowledge-base-search button { border-top-right-radius: 6px !important; border-bottom-right-radius: 6px !important; }
.table { border-collapse: collapse !important; width: 100% !important; }
.table thead th { background-color: #f8f9fa; border-bottom: 2px solid #e9ecef; font-weight: 600; }
.table td { vertical-align: middle; border-top: 1px solid #e9ecef !important; }
.status { padding: 4px 10px; border-radius: 15px; font-size: 12px; font-weight: 600; color: #fff; text-align: center; display: inline-block; }
.status.active, .status.paid { background-color: #28a745; }
.status.pending, .status.unpaid, .status.Open { background-color: #ffc107; color: var(--theme-text-main);}
.status.suspended, .status.fraud, .status.cancelled, .status.Closed { background-color: #dc3545; }
.btn-group .btn { border: 1px solid #ced4da; }
.btn-group .btn-primary { background-color: var(--theme-primary); border-color: var(--theme-primary); }
.form-control, .searchSelect2 { border-radius: 6px !important; }
/* --- END: Global Modernization Styles --- */

/* --- Migrated from notes.phtml --- */
/* --- START: Modern Styles for Account Notes Page --- */
.notes-page {
    background-color: #f8f9fa;
}
.notes-page .container {
    padding-top: 40px;
    padding-bottom: 40px;
}
.cm-holder {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 30px;
}
.cm-holder .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}
.cm-holder .head h1 {
    font-size: 1.8rem;
    margin: 0;
}
.knowledge-base-search input {
    border-radius: 6px !important;
}
.knowledge-base-search button {
    border-top-right-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}

/* Table styling */
.account-notes-table {
    border-collapse: collapse !important;
    width: 100% !important;
}
.account-notes-table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
}
.account-notes-table td {
    vertical-align: middle;
    border-top: 1px solid #e9ecef !important;
}

/* Style for the expand/collapse icons */
td.details-control {
    cursor: pointer;
}
td.details-control i {
    color: var(--theme-primary);
    font-size: 18px;
    transition: transform 0.2s ease-in-out;
}
tr.shown td.details-control i {
    transform: rotate(90deg);
}

/* Style the expanded child row (the note content) */
tr.shown + tr > td {
    background-color: #f9fafb !important; /* Light background for the content */
    padding: 25px 30px !important;       /* Add spacing around the note content */
    border-left: 3px solid var(--theme-primary);      /* Add a highlight bar on the left */
    line-height: 1.6;
}
/* --- END: Modern Styles --- */

/* --- Migrated from paymentmethod.phtml --- */
/* --- START: Modern Styles for Payment Method Page --- */
.payment-method-page {
    background-color: #f8f9fa;
}
.payment-method-page .container {
    padding-top: 40px;
    padding-bottom: 40px;
}
.cm-holder {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 30px;
}
.cm-holder .head {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}
.cm-holder .head h1 {
    font-size: 1.8rem;
    margin: 0;
}

/* Preferred Payment Method Box */
.preferred-payment-box {
    background-color: #e9f5ff;
    border: 1px solid #bde0ff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.preferred-payment-box .icon {
    font-size: 2.5rem;
    color: var(--theme-primary);
}
.preferred-payment-box h6 {
    font-weight: 600;
    color: #004085;
    margin-bottom: 5px;
}
.preferred-payment-box p {
    margin: 0;
    line-height: 1.6;
    color: #004085;
}
.preferred-payment-box a {
    font-weight: bold;
}
.preferred-payment-box .text-danger {
    font-weight: bold;
}

/* Form Styling */
.form-control, .normalSelect2 {
    border-radius: 6px !important;
}
.btn-primary {
    background-color: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
    padding: 10px 25px;
    font-weight: 600;
}
/* --- END: Modern Styles --- */

/* --- Migrated from altemails.phtml --- */
/* --- START: Modern Styles for Alternate Accounts Page --- */
.alt-email-page {
    background-color: #f8f9fa;
}
.alt-email-page .container {
    padding-top: 40px;
    padding-bottom: 40px;
}
.cm-holder {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 30px;
}
.cm-holder .head {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}
.cm-holder .head h1 {
    font-size: 1.8rem;
    margin: 0;
}

/* New List-based Layout */
.alt-email-header, .alt-email-row {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    border-bottom: 1px solid #e9ecef;
}
.alt-email-header {
    font-weight: 600;
    color: #495057;
    background-color: #f8f9fa;
    font-size: 0.9rem;
}
.alt-email-row:last-child {
    border-bottom: none;
}
.email-col { flex: 3; }
.toggle-col { flex: 1; text-align: center; }

/* Modern Toggle Switch Styles */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 22px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 16px; width: 16px;
    left: 3px; bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: #28a745;
}
input:checked + .slider.slider-delete {
    background-color: #dc3545;
}
input:checked + .slider:before {
    transform: translateX(18px);
}

/* Add New Row Styling */
.add-new-row {
    background-color: #f8f9fa;
    margin-top: 20px;
    border-top: 2px solid #e0e3f1;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .alt-email-header { display: none; }
    .alt-email-row { flex-direction: column; align-items: flex-start; gap: 15px; }
    .toggle-col {
        width: 100%;
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .toggle-col::before {
        content: attr(data-label);
        font-weight: 500;
    }
}
/* --- END: Modern Styles --- */

/* --- Migrated from editprofile.phtml --- */
/* --- START: Alternative Styles for Edit Profile Page --- */
.edit-profile-page {
    background-color: #f8f9fa;
}
.edit-profile-page .container {
    padding-top: 40px;
    padding-bottom: 40px;
}
/* The Profile Header Card */
.profile-header-card {
    background: linear-gradient(135deg, var(--theme-primary) 0%, #006ca8 100%);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 25px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.profile-avatar { width: 90px; height: 90px; border-radius: 50%; border: 4px solid #fff; flex-shrink: 0; }
.profile-identity { flex-grow: 1; }
.profile-identity h4 { margin: 0 0 5px 0; font-size: 1.5rem; font-weight: 600; }
.profile-identity p { margin: 0; color: rgba(255, 255, 255, 0.8); }
.profile-actions { position: relative; }
.btn-gravatar { background-color: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.5); color: #fff; font-weight: 600; }
.btn-gravatar:hover { background-color: rgba(255,255,255,0.3); color: #fff; }
.external-link-icon { font-size: 10px; opacity: 0.7; margin-left: 8px; }
.info-icon-wrapper { display: inline-block; margin-left: 10px; }
.info-icon-wrapper .tooltip-text {
    visibility: hidden; width: 250px; background-color: #343a40; color: #fff; text-align: left;
    font-weight: normal; font-size: 0.8rem; line-height: 1.5; border-radius: 6px; padding: 10px;
    position: absolute; z-index: 1; bottom: 125%; right: 0; opacity: 0; transition: opacity 0.3s;
}
.info-icon-wrapper:hover .tooltip-text { visibility: visible; opacity: 1; }

/* The main form card */
.form-card { background-color: var(--theme-bg-card); border-radius: 8px; box-shadow: 0 5px 25px rgba(0,0,0,0.08); padding: 30px; }
.form-card .head { margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid #e9ecef; }
.form-card .head h1 { font-size: 1.8rem; margin: 0; }
.form-control { border-radius: 6px !important; }
.btn-primary { padding: 10px 25px; font-weight: 600; background-color: var(--theme-primary) !important; border-color: var(--theme-primary) !important; }

/* NEW: Privacy Notice Style */
.privacy-notice {
    font-size: 0.8rem;
    color: var(--theme-text-muted);
    line-height: 1.5;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

/* VAT Field Styles */
.input-group .form-control { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
.input-group .input-group-prepend .input-group-text { border-top-left-radius: 6px !important; border-bottom-left-radius: 6px !important; background-color: #e9ecef; border: 1px solid #ced4da; border-right: none; }
.vat-validation-message { display: block; font-size: 0.8rem; font-weight: 500; margin-top: 8px; }
#vat_validating { color: var(--theme-text-muted); } #vat_valid { color: #28a745; } #vat_invalid, #vat_error { color: #dc3545; }

/* MOBILE FIX: Stack elements in the header vertically */
@media (max-width: 767px) {
    .profile-header-card {
        flex-direction: column;
        text-align: center;
    }
    .profile-identity {
        margin-bottom: 15px;
    }
    .info-icon-wrapper .tooltip-text {
        bottom: auto;
        top: 110%; /* Position below the icon on mobile */
        left: 50%;
        transform: translateX(-50%);
    }
}
/* --- Didit Identity Verification Widget --- */
.quick-action-didit {
    background: var(--theme-bg-card);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 20px; /* Abstand zu anderen Elementen */
}

.quick-action-didit:hover {
    border-color: var(--theme-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,141,210,0.15);
}

.didit-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.didit-icon {
    width: 40px;
    height: 40px;
    background-color: #e6f7ff;
    color: var(--theme-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.didit-text h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.didit-text p {
    margin: 3px 0 0 0;
    font-size: 13px;
    color: #666;
}

/* Tooltip Styles */
.info-tooltip-wrapper {
    position: relative;
    display: inline-flex;
    margin-left: 8px;
}

.info-icon {
    color: var(--theme-primary);
    cursor: help;
    font-size: 14px;
    transition: color 0.2s;
}

.info-icon:hover {
    color: #005f8d;
}

.custom-tooltip {
    visibility: hidden;
    width: 320px;
    background-color: #333;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 12px;
    position: absolute;
    z-index: 100;
    bottom: 135%; /* Position above icon */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    line-height: 1.5;
    font-weight: normal;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.custom-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.info-tooltip-wrapper:hover .custom-tooltip {
    visibility: visible;
    opacity: 1;
}

.didit-ignore-note {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    color: #999;
    font-style: italic;
}

.btn-verify {
    background-color: var(--theme-primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-verify:hover {
    background-color: #006da0;
    text-decoration: none;
    color: white;
}

/* --- Didit Modal Overlay Styles --- */
.didit-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.didit-modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 480px; /* Mobile optimized standard width */
    height: 85vh;
    max-height: 750px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.didit-modal-header {
    padding: 15px;
    display: flex;
    justify-content: flex-end;
    background: var(--theme-bg-card);
    border-bottom: 1px solid #f0f0f0;
}

.didit-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.didit-modal-close:hover {
    background: #e0e0e0;
    color: #000;
}

.didit-iframe {
    width: 100%;
    height: 100%;
    border: none;
    flex-grow: 1;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Dark Mode Adjustments */
[data-theme="dark"] .quick-action-didit {
    background: #2d2d2d;
    border-color: #444;
}
[data-theme="dark"] .didit-text h4 { color: #fff; }
[data-theme="dark"] .didit-text p { color: #aaa; }
[data-theme="dark"] .didit-icon { background-color: rgba(0, 141, 210, 0.2); }

/* --- END: Modern Styles --- */

/* --- Migrated from editpassword.phtml --- */
/* --- START: Modern Styles for Edit Password Page --- */
.edit-password-page {
    background-color: #f8f9fa;
}
.edit-password-page .container {
    padding-top: 40px;
    padding-bottom: 40px;
}
.cm-holder {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 30px;
}
.cm-holder .head {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}
.cm-holder .head h1 {
    font-size: 1.8rem;
    margin: 0;
}
.form-group { margin-bottom: 20px; }
.form-control { height: 48px; padding: 10px 15px; border-radius: 6px !important; }
.input-group .form-control { border-right: none; }
.input-group .input-group-text { background-color: #e9ecef; border-left: none; }
.password-toggle { cursor: pointer; }
.btn-primary { width: 100%; padding: 12px; font-size: 1rem; font-weight: 600; background-color: var(--theme-primary) !important; border-color: var(--theme-primary) !important; }

/* Password Strength & Generator Section */
.password-tools {
    background-color: #f8f9fa;
    border: 1px solid var(--theme-border-color);
    border-radius: 8px;
    padding: 20px;
    height: 100%;
}
.password-tools h6 { font-weight: 600; margin-bottom: 15px; }
#password-requirements { list-style: none; padding: 0; margin: 0; font-size: 0.8rem; }
#password-requirements li { color: #dc3545; transition: color 0.3s ease; margin-bottom: 4px; }
#password-requirements li i { margin-right: 8px; }
#password-requirements li.valid { color: #28a745; }
#password-strength-bar-container { background-color: #e9ecef; border-radius: 4px; height: 8px; margin-top: 15px; overflow: hidden; }
#password-strength-bar { height: 100%; width: 0; transition: width 0.3s ease, background-color 0.3s ease; }
#password-strength-bar.weak { background-color: #dc3545; }
#password-strength-bar.medium { background-color: #fd7e14; }
#password-strength-bar.strong { background-color: #ffc107; }
#password-strength-bar.very-strong { background-color: #28a745; }

/* Generator Styles */
#generated-password-display {
    background-color: var(--theme-bg-card); border: 1px solid #ced4da; border-radius: 6px; padding: 10px;
    font-family: monospace; font-size: 1.1rem; text-align: center; margin-top: 15px;
    word-break: break-all;
}
.generator-actions { display: flex; gap: 10px; margin-top: 10px; }
.btn-secondary { border-color: #ced4da; }
/* --- END: Modern Styles --- */

/* --- Migrated from twofactor.phtml --- */
/* --- START: Modern Two-Factor Authentication Page Styles --- */
.twofactor-page-wrapper {
    background-color: #f8f9fa;
    padding-top: 30px;
    padding-bottom: 50px;
    min-height: 70vh;
}
.twofactor-card {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 30px;
    margin-bottom: 25px;
    border: 1px solid var(--theme-border-color);
}
.twofactor-card h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--theme-text-main);
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}
.twofactor-status {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #495057;
}
.twofactor-status-label {
    font-weight: 600;
    margin-right: 12px;
}

/* Modern status badges */
.status {
    display: inline-block;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}
.status.active {
    background-color: #e2f9df !important;
    color: #1b5e20 !important;
}
.status.suspended {
    background-color: #ffebee !important;
    color: #b71c1c !important;
}

/* Modern Alert Boxes */
.alert {
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 0.88rem;
    line-height: 1.5;
    border: 1px solid transparent;
}
.alert-warning {
    background-color: var(--theme-bg-card);3cd;
    border-color: #ffeeba;
    color: #856404;
}
.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Buttons */
.btn {
    font-size: 0.88rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.btn-primary {
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
    color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: #006da0;
    border-color: #006da0;
    color: #fff;
}
.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}
.btn-danger:hover, .btn-danger:focus {
    background-color: #bd2130;
    border-color: #b21f2d;
    color: #fff;
}
.btn-secondary {
    background-color: #f1f3f5;
    border-color: #ced4da;
    color: #495057;
}
.btn-secondary:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    color: var(--theme-text-main);
}

/* Premium Modal Styling */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.modal-header {
    border-bottom: 1px solid #f1f3f5;
    padding: 15px 20px;
}
.modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--theme-text-main);
}
.modal-body {
    padding: 20px;
}
.qr-code-wrapper {
    background-color: #f8f9fa;
    border: 1px solid var(--theme-border-color);
    border-radius: 8px;
    padding: 15px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

/* 6-Digit input field optimization */
.twofactor-input {
    text-align: center;
    letter-spacing: 6px;
    font-size: 1.3rem;
    font-weight: 700;
    max-width: 180px;
    margin: 0 auto;
    border: 1.5px solid #ced4da;
    border-radius: 6px;
    color: var(--theme-text-main);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.twofactor-input:focus {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 3px rgba(0, 141, 210, 0.15);
}
/* --- END: Modern Two-Factor Authentication Page Styles --- */

/* --- Migrated from emailhistory.phtml --- */
/* --- START: Modern Styles for Email History --- */
.datatable-page .container {
    padding-top: 20px;
    padding-bottom: 20px;
}

.cm-holder {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 30px;
}

.data-table-wrapper .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.data-table-wrapper .head h1 {
    font-size: 1.8rem;
    margin: 0;
}

/* Style for the search input */
.knowledge-base-search {
    max-width: 300px;
}
.knowledge-base-search input {
    border-radius: 6px !important;
    border: 1px solid #ced4da;
    padding: 8px 12px;
}
.knowledge-base-search button {
    border-top-right-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}

/* Table styling */
.email-history-table {
    border-collapse: collapse !important;
    width: 100% !important;
}
.email-history-table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
}
.email-history-table td {
    border-top: 1px solid #e9ecef !important;
}

/* Style for the expand/collapse icons */
td.details-control {
    cursor: pointer;
}
td.details-control i {
    color: var(--theme-primary);
    font-size: 18px;
    transition: transform 0.2s ease-in-out;
}
tr.shown td.details-control i {
    transform: rotate(90deg);
}

/*
 *  THE FIX: Style the expanded child row
 *  This targets the new row created by JavaScript.
*/
tr.shown + tr > td {
    background-color: #f9fafb !important; /* Light background for the content */
    padding: 25px 30px !important;       /* Add spacing around the email content */
    border-left: 3px solid var(--theme-primary);      /* Add a highlight bar on the left */
}
/* --- END: Modern Styles --- */

/* --- Migrated from products.phtml --- */
/* --- START: Modern Styles for Products Page --- */
.product-list-page .container {
    padding-top: 20px;
    padding-bottom: 20px;
}
.product-list-page .cm-holder {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 30px;
}

/* Header & Search */
.product-list-page .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.product-list-page .head h1 {
    font-size: 1.8rem;
    margin: 0;
}
.product-list-page .knowledge-base-search {
    max-width: 300px;
}
.product-list-page .knowledge-base-search input {
    border-radius: 6px !important;
    border: 1px solid #ced4da;
    padding: 8px 12px;
}
.product-list-page .knowledge-base-search button {
    border-top-right-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}

/* Table Styling */
.product-list-table {
    border-collapse: collapse !important;
    width: 100% !important;
}
.product-list-table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
}
.product-list-table td {
    vertical-align: middle;
    border-top: 1px solid #e9ecef !important;
}
.product-list-table .product-name a {
    font-weight: 600;
    color: var(--theme-primary);
}

/* Status Badges (Consistent with Dashboard) */
.status {
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background-color: var(--theme-text-muted); /* Default */
}
.status.active { background-color: #28a745; }
.status.pending { background-color: #ffc107; color: var(--theme-text-main); }
.status.suspended, .status.fraud, .status.cancelled { background-color: #dc3545; }

/* NEW: Modern Action Menu (Cog Button & Dropdown) */
.product-list-table .mid {
    position: relative;
    text-align: center;
}
.product-list-table .action {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background-color: #f1f3f5;
    color: #495057;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.product-list-table .action:hover {
    background-color: #e9ecef;
}
.product-list-table .cog-drop-down {
    display: none;
    position: absolute;
    right: 50px;
    top: 10px;
    background-color: var(--theme-bg-card);
    border: 1px solid var(--theme-border-color);
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    list-style: none;
    padding: 5px 0;
    margin: 0;
    min-width: 160px;
    z-index: 100;
}
.product-list-table .mid:hover .cog-drop-down {
    display: block; /* Show on hover */
}
.product-list-table .cog-drop-down li a {
    display: block;
    padding: 8px 15px;
    color: var(--theme-text-main);
    font-size: 14px;
    text-decoration: none;
}
.product-list-table .cog-drop-down li a:hover {
    background-color: #f8f9fa;
}
/* --- END: Modern Styles --- */

/* --- Migrated from cancel.phtml --- */
/* --- START: Modern Styles for Cancellation Page --- */
.cancellation-page-wrapper {
    background-color: #f8f9fa;
}
.cancellation-page-wrapper .container {
    padding-top: 40px;
    padding-bottom: 40px;
}
.cm-holder {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 30px;
}
.cm-holder .head {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}
.cm-holder .head h1 {
    font-size: 1.8rem;
    margin: 0;
}
.cm-holder .head p {
    color: var(--theme-text-muted);
    margin-top: 5px;
}
.cm-holder .head strong {
    color: var(--theme-primary);
}
.form-control, .normalSelect2 {
    border-radius: 6px !important;
}
/* NEW: Styling for action buttons */
.action-buttons {
    display: flex;
    gap: 15px; /* Adds space between buttons */
    margin-top: 20px;
}
.action-buttons .btn {
    padding: 10px 25px;
    font-weight: 600;
}
.btn-secondary {
    background-color: var(--theme-text-muted);
    border-color: var(--theme-text-muted);
    color: #fff;
}
.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
}
/* This applies to mobile devices (screens smaller than 768px) */
@media (max-width: 767px) {
    .action-buttons {
        flex-direction: column; /* Stacks the buttons vertically */
        align-items: stretch;   /* Makes both buttons take up the full width */
    }
}
/* --- END: Modern Styles --- */

/* --- Migrated from product.phtml --- */
.jconfirm-content {
        overflow-wrap: break-word;
    }

/* --- Migrated from productheader.phtml --- */
.sidebar { 
    height: 100%; 
    width: 100%;
}
@media (min-width: 992px) {
    .sidebar {
        max-width: 265px !important;
    }
}
.sidebar-card { background-color: var(--theme-bg-card); border-radius: 8px; box-shadow: 0 5px 25px rgba(0,0,0,0.08); padding: 20px; margin-bottom: 25px; }
.sidebar-card .heading h4 { font-size: 1.2rem; color: var(--theme-primary); margin-top: 0; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #e9ecef; }
.sidebar-card ul { list-style: none; padding: 0; margin: 0; }
.sidebar-card ul li a { display: flex; align-items: center; padding: 10px 12px; color: #495057; font-weight: 500; text-decoration: none; border-radius: 6px; transition: all 0.2s ease; }
.sidebar-card ul li a:hover { background-color: var(--theme-bg-main); color: var(--theme-primary); }
.sidebar-card ul li.active a { background-color: var(--theme-primary); color: #fff; }
.sidebar-card ul li.active a i { color: #fff; }
.sidebar-card ul li a i { font-size: 16px; width: 20px; text-align: center; margin-right: 15px; color: #adb5bd; transition: color 0.2s ease; }
.sidebar-card ul li a:hover i { color: var(--theme-primary); }
.sidebar-card--ad { padding: 0; overflow: hidden; }
.sidebar-card--ad img { display: block; width: 100%; height: auto; }
.sidebar-card--ai .heading h6 { display: flex; align-items: center; font-size: 1.1rem; color: var(--theme-primary); margin-bottom: 15px; margin-top: 0; }
.ai-icon-pulsing { margin-right: 10px; animation: pulseAndColorChange 4s infinite ease-in-out; }
@keyframes pulseAndColorChange { 0% { transform: scale(1); color: #007bff; } 25% { transform: scale(1.1); color: #28a745; } 50% { transform: scale(1); color: #6f42c1; } 75% { transform: scale(1.1); color: #fd7e14; } 100% { transform: scale(1); color: #007bff; } }
.ai-textarea { width: 100%; min-height: 100px; border: 1px solid #ced4da; border-radius: 6px; padding: 10px; resize: vertical; font-size: 0.9rem; margin-bottom: 10px; }
.ai-disclaimer { font-size: 11px; color: var(--theme-text-muted); line-height: 1.4; }
.ai-actions { display: flex; align-items: center; gap: 10px; margin-top: 15px; }
.btn-ai-generate { flex-grow: 1; padding: 8px 15px; font-weight: 600; background-color: var(--theme-primary); color: #fff; border: none; border-radius: 6px; cursor: pointer; transition: background-color 0.2s; }
.btn-ai-generate:hover { background-color: var(--theme-primary-hover); }
.btn-ai-settings-wrapper { position: relative; }
.btn-ai-settings { flex-shrink: 0; width: 38px; height: 38px; background-color: #f1f3f5; color: #495057; border: 1px solid #ced4da; border-radius: 6px; cursor: pointer; transition: background-color 0.2s; }
.btn-ai-settings:hover { background-color: #e9ecef; }
.ai-model-dropdown { display: none; position: absolute; bottom: 110%; right: 0; background-color: var(--theme-bg-card); border-radius: 6px; box-shadow: 0 5px 15px rgba(0,0,0,0.15); list-style: none; padding: 5px 0; margin: 0 0 5px 0; min-width: 180px; z-index: 101; }
.ai-model-dropdown.show { display: block; }
.ai-model-dropdown li a { display: block; padding: 8px 15px; font-size: 14px; color: var(--theme-text-main); text-decoration: none; }
.ai-model-dropdown li a:hover { background-color: #f8f9fa; }
.ai-model-dropdown li a i { margin-right: 10px; color: var(--theme-text-muted); }

/* --- START: Partner Offer Text Rotator Styles --- */
.sidebar-card--partner-text { 
    background-color: #f8f9fa !important; 
    border: 1px solid var(--theme-border-color); !important; 
}
.partner-offer-link { 
    display: block; 
    text-decoration: none; 
    color: inherit; 
}
.partner-offer-content { 
    border: 2px dashed #ced4da; 
    border-radius: 6px; 
    padding: 20px 15px; 
    text-align: center; 
    transition: background-color 0.3s ease, border-color 0.3s ease; 
    min-height: 110px; /* Verhindert Layout-Verschiebungen beim Textwechsel */
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}
.partner-offer-link:hover .partner-offer-content { 
    background-color: #f0f4f8; 
    border-color: var(--theme-primary); 
}
.partner-offer-content .offer-text { 
    font-size: 0.95rem; 
    font-weight: 600; 
    color: #495057; 
    margin-bottom: 6px; 
}
.partner-offer-content .offer-subtext { 
    font-size: 0.78rem; 
    color: var(--theme-text-muted); 
    line-height: 1.4;
}
/* --- END: Partner Offer Text Rotator Styles --- */

/* Wrapper to place the title and ad side-by-side on desktop */
.product-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
.product-header-title {
    flex-grow: 1; /* Takes up available space */
}

.product-header-ad {
    width: 100% !important;
    max-width: 225px !important;
    aspect-ratio: 255 / 300;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    position: relative;
    margin: 0 auto;
}
.product-header-ad img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}
.product-header-ad img.is-visible {
    opacity: 1;
}

@media (max-width: 991px) {
    .product-header-wrapper {
        justify-content: center;
    }
    .product-header-title {
        text-align: center;
    }
    .product-header-ad {
        display: none !important;
    }
}

/* --- START: New Sidebar Website Diagnostics Styles --- */
.sidebar-diagnostic-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.sidebar-diagnostic-list li {
    border-bottom: 1px solid #f1f3f5;
}
.sidebar-diagnostic-list li:last-child {
    border-bottom: none;
}
.sidebar-diagnostic-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 12px !important;
    color: #495057 !important;
    text-decoration: none !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    background-color: transparent !important;
}
.sidebar-diagnostic-item:hover {
    background-color: var(--theme-bg-main); !important;
    color: var(--theme-primary) !important;
    padding-left: 16px !important;
}
.sidebar-diagnostic-item .left-content {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sidebar-diagnostic-item .left-content i {
    width: 20px;
    text-align: center;
    color: var(--theme-primary);
    font-size: 1.05rem;
    margin-right: 0 !important; /* Overrides default navigation styles */
}
.sidebar-diagnostic-item .external-icon {
    font-size: 0.7rem;
    color: #adb5bd;
    transition: transform 0.2s ease;
}
.sidebar-diagnostic-item:hover .external-icon {
    transform: translateX(2px);
    color: var(--theme-primary);
}
.sidebar-disclaimer-text {
    font-size: 0.68rem;
    color: #adb5bd;
    line-height: 1.3;
    margin-top: 12px;
    border-top: 1px solid #f1f3f5;
    padding-top: 8px;
    padding-left: 12px;
    padding-right: 12px;
}
/* --- END: Modern Styles --- */

/* --- Migrated from upgrade.phtml --- */
/* --- START: Modern Styles for Upgrade Page --- */
.upgrade-downgrade-page-wraper {
    background-color: #f8f9fa;
}
.upgrade-downgrade-page-wraper .container {
    padding-top: 40px;
    padding-bottom: 40px;
}
.cm-holder {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 30px;
}
.page-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}
.page-header h1 {
    font-size: 1.8rem;
    margin: 0;
}
.page-header p {
    color: var(--theme-text-muted);
    margin-top: 5px;
}
.page-header p strong {
    color: var(--theme-primary);
}

/* Section Styling */
.upgrade-section {
    margin-bottom: 40px;
}
.upgrade-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.upgrade-section h4 .step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--theme-primary);
    color: #fff;
    font-size: 1rem;
    margin-right: 15px;
}
.form-control, .normalSelect2 {
    border-radius: 6px !important;
}

/* Table styling */
.table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
}
.table td {
    vertical-align: middle;
}
.form-option2 .radio-container {
    padding-left: 25px;
    position: relative;
    cursor: pointer;
}

/* Totals section */
.totals-summary {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid var(--theme-border-color);
}
.totals-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.totals-summary li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
}
.totals-summary li:last-child {
    border-bottom: none;
}
.totals-summary li.grand-total {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--theme-primary);
    padding-top: 15px;
}
.totals-summary .amount {
    font-weight: 600;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}
.cancel-btn {
    background-color: var(--theme-text-muted);
    border-color: var(--theme-text-muted);
}
/* --- END: Modern Styles --- */

/* --- Migrated from hosting.phtml --- */
.product-details-page .row.equal-height-row {
    display: flex;
    flex-wrap: wrap;
}
.equal-height-row > [class*='col-'] {
    display: flex;
    flex-direction: column;
}
.full-height-card {
    flex-grow: 1;
}
.detail-card {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 25px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}
.d-flex.flex-column > .detail-card {
    flex: 1 1 auto;
}
.full-height-card {
    height: 100%;
}
.detail-card h6 {
    font-size: 1.2rem;
    color: var(--theme-primary);
    margin: 0 0 15px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}
.detail-card ul { list-style: none; padding: 0; margin: 0; flex-grow: 1; }
.detail-card li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #f1f3f5; }
.detail-card li:last-child { border-bottom: none; }
.card-label { color: var(--theme-text-muted); font-size: 0.9rem; padding-right: 15px; }
.card-value { color: var(--theme-text-main); font-weight: 600; text-align: right; }
.card-value a:not(.btn) { color: var(--theme-primary); font-weight: 600; }
.status { padding: 4px 10px; border-radius: 15px; font-size: 12px; font-weight: 600; color: #fff; background-color: var(--theme-text-muted); }
.status.active, .status.paid { background-color: #28a745; }
.status.pending, .status.unpaid { background-color: #ffc107; color: var(--theme-text-main);}
.status.suspended, .status.fraud, .status.cancelled { background-color: #dc3545; }

/* --- Live Status Block --- */
.status-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--theme-border-color);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}
.status-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #495057;
    margin-bottom: 15px;
}
.info-tooltip {
    color: #adb5bd;
    cursor: help;
}
.status-indicator {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 5px 0;
    border-radius: 6px;
    margin-bottom: 10px;
}
.status-indicator.up { background-color: #d4edda; color: #155724; }
.status-indicator.down { background-color: #f8d7da; color: #721c24; }
.status-indicator.paused { background-color: #e2e3e5; color: #383d41; }

/* Intelligent Alert Box */
.status-alert {
    font-size: 0.8rem;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 15px;
    line-height: 1.4;
}
.alert-success { background-color: #d4edda; color: #155724; }
.alert-warning { background-color: var(--theme-bg-card);3cd; color: #856404; }
.alert-danger { background-color: #f8d7da; color: #721c24; }
.alert-info { background-color: #d1ecf1; color: #0c5460; }

.uptime-percentages {
    display: flex;
    justify-content: space-around;
    font-size: 0.75rem;
    color: var(--theme-text-muted);
    padding: 0 10px;
}
.uptime-percentages div { flex-basis: 33%; }
.uptime-percentages strong { display: block; color: var(--theme-text-main); font-size: 0.7rem; margin-bottom: 3px; }

/* Timeframe Selector */
.timeframe-selector {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}
.timeframe-selector .btn-group {
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.timeframe-selector .btn {
    font-size: 0.75rem;
    padding: 4px 10px;
}

.response-time-chart-container {
    flex-grow: 1;
    min-height: 100px;
}
.status-card-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* "Last Checked" Timestamp */
.last-checked {
    font-size: 0.7rem;
    color: #adb5bd;
}

.server-flag {
    font-size: 1.5rem;
    margin-right: 10px;
    vertical-align: middle;
}

.server-flag-img {
    width: 40px;
    height: auto;
    margin-right: 10px;
    vertical-align: middle;
    border-radius: 2px;
}

.webmail-disabled-text {
    font-size: 0.8rem;
    color: var(--theme-text-muted);
    text-align: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-top: 10px;
}

.btn-copy {
    background: none;
    border: none;
    color: #adb5bd;
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 4px;
    transition: all 0.2s ease;
}
.btn-copy:hover {
    color: var(--theme-primary);
    background-color: var(--theme-bg-main);
}
.btn-copy.copied {
    color: #28a745;
    cursor: default;
}
.password-inline-hint {
    font-size: 0.8rem;
    font-style: italic;
    font-weight: 500;
    color: var(--theme-text-muted);
}

/* Quickstart Guide Styles */
.quickstart-content { position: relative; min-height: 135px; }
.quickstart-step { 
    display: none !important; 
    position: absolute; 
    width: 100%; 
    align-items: flex-start; 
    gap: 20px; 
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
.quickstart-step.is-active { 
    display: flex !important; 
    opacity: 1;
}
.step-icon { flex-shrink: 0; width: 50px; height: 50px; border-radius: 50%; color: #fff; display: flex; justify-content: center; align-items: center; font-size: 22px; }
.step-icon-1 { background-color: #007bff; } .step-icon-2 { background-color: #17a2b8; } .step-icon-3 { background-color: #ffc107; } .step-icon-4 { background-color: #28a745; } .step-icon-5 { background-color: #6f42c1; } .step-icon-6 { background-color: #dc3545; }
.step-text h4 { font-size: 1.1rem; color: #343a40; margin-bottom: 8px; }
.step-text p { font-size: 0.9rem; line-height: 1.6; color: var(--theme-text-muted); margin: 0 0 5px 0; }
.step-text code { background-color: #e9ecef; padding: 2px 6px; border-radius: 4px; font-family: monospace; color: #c7254e; }
.quickstart-controls { display: flex; justify-content: center; align-items: center; gap: 15px; margin-top: 20px; }
.qs-arrow { background: none; border: none; font-size: 20px; color: #adb5bd; cursor: pointer; transition: color 0.2s ease; }
.qs-arrow:hover { color: var(--theme-primary); }
.qs-play-pause { background: none; border: none; font-size: 16px; color: var(--theme-text-muted); cursor: pointer; transition: color 0.2s ease; }
.qs-play-pause:hover { color: var(--theme-primary); }
.step-indicator { display: flex; gap: 8px; }
.step-indicator span { width: 10px; height: 10px; border-radius: 50%; background-color: #dee2e6; transition: background-color 0.3s ease; }
.step-indicator span.active { background-color: var(--theme-primary); }
/* NEW: Responsive fix for the Quickstart Guide on mobile */
@media (max-width: 767px) {
    .quickstart-content {
        min-height: 340px; /* Increased height specifically for mobile view */
    }
}

/* --- Quickstart Collapse Toggle --- */
.qs-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--theme-text-muted);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    transition: color 0.2s ease;
    font-weight: 500;
}
.qs-toggle-btn:hover { color: var(--theme-primary); }
.qs-toggle-btn i { transition: transform 0.3s ease; }
.qs-toggle-btn.collapsed i.fa-chevron-down { transform: rotate(-90deg); }
.qs-collapsible-body { overflow: hidden; transition: max-height 0.4s ease, opacity 0.3s ease; max-height: 600px; opacity: 1; }
.qs-collapsible-body.qs-hidden { max-height: 0; opacity: 0; pointer-events: none; }
/* When body is hidden, reduce card padding so it stays compact */
.detail-card:has(> .qs-collapsible-body.qs-hidden) {
    padding-bottom: 18px;
}

/* --- View Mode Toggle (Simple / Expert) --- */
.view-mode-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 8px 0 12px 0;
    font-size: 0.82rem;
    color: var(--theme-text-muted);
}
.view-mode-bar .mode-label { font-weight: 500; }
.mode-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}
.mode-switch input { opacity: 0; width: 0; height: 0; }
.mode-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    border-radius: 22px;
    transition: 0.3s;
}
.mode-slider:before {
    position: absolute;
    content: "";
    height: 16px; width: 16px;
    left: 3px; bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}
input:checked + .mode-slider { background-color: var(--theme-primary); }
input:checked + .mode-slider:before { transform: translateX(22px); }
/* Elements hidden in simple (default) mode */
.expert-only { display: none !important; }
body.expert-mode .expert-only { display: block !important; }
body.expert-mode li.expert-only,
body.expert-mode .resource-item.expert-only { display: flex !important; }

/* Style for the server flag IMAGE */
.server-flag-img {
    width: 24px;
    height: auto;
    margin-right: 10px;
    vertical-align: middle;
    border-radius: 2px;
}

.cp-logo-img {
    vertical-align: middle;
}

.resource-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f5;
}
.resource-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.resource-label {
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
}
.resource-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--theme-text-main);
}

h2.resp-accordion {
    display: none !important;
}
ul.resp-tabs-list {
    display: flex !important;
    flex-wrap: wrap !important;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 20px !important;
    padding: 0;
}
.resp-tabs-list li {
    padding: 10px 15px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px;
    transition: all 0.2s ease; font-weight: 500; color: var(--theme-text-muted); display: flex; align-items: center; gap: 8px; list-style: none;
}
.resp-tabs-list li:hover { color: var(--theme-primary); }
.resp-tabs-list li.resp-tab-active { border-bottom-color: var(--theme-primary); color: var(--theme-primary); }
.resp-arrow { display: none !important; }
.resp-tabs-container > div { display: none; padding: 0 !important; border: none !important; }
.resp-tabs-container > div.resp-tab-content-active { display: block; }

.resp-tabs-list li .menu-tag {
    font-size: 7px;
    padding: 2px 5px;
    margin-left: 17px;
    vertical-align: middle;
    position: relative;
    top: -0.5px; /* Fine-tunes vertical alignment */
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    padding-top: 10px;
}


.app-grid .tab-separator {
    grid-column: 1 / -1;
    width: 100%;
    margin: 20px 0 15px 0;
    border-top: 1px solid #e9ecef;
}

.app-grid .tab-separator-title {
    grid-column: 1 / -1; 
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 20px;
    text-align: left;
}

.app-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--theme-border-color);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.app-tile:hover {
    border-color: var(--theme-primary);
    box-shadow: 0 4px 15px rgba(0, 141, 210, 0.1);
    transform: translateY(-3px);
}
.app-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--theme-primary);
}
.app-name {
    font-weight: 600;
    color: #343a40;
}

/* Style for the Log viewer */
.log-viewer {
    background-color: #2d3748; /* Dark background */
    color: #e2e8f0; /* Light text */
    border-radius: 6px;
    padding: 15px;
    max-height: 400px;
    overflow-y: auto;
    font-family: monospace;
    font-size: 0.8rem;
    line-height: 1.6;
}
.log-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.log-controls .form-control {
    max-width: 250px;
}

/* Style for the API Access tab */
.api-key-display {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border: 1px solid var(--theme-border-color);
    border-radius: 6px;
    padding: 10px 15px;
    font-family: monospace;
}
.api-key-text {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.api-actions button {
    margin-left: 10px;
}

/* Style for the Stats tab */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.stat-item {
    background-color: #f8f9fa;
    border: 1px solid var(--theme-border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}
.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--theme-primary);
}
.stat-label {
    font-size: 0.9rem;
    color: var(--theme-text-muted);
    margin-top: 5px;
}

.info-tooltip {
    color: #adb5bd; 
    cursor: help;
    margin-left: 5px;
    font-size: 0.8rem;
    vertical-align: middle;
}
.tooltip-inner {
    max-width: 250px;
    padding: 8px 12px;
    text-align: left;
}

.feature-tab-content {
    text-align: center;
    padding: 40px 20px;
}
.feature-tab-content .icon {
    font-size: 3rem;
    color: var(--theme-primary);
    margin-bottom: 20px;
}
.feature-tab-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--theme-text-main);
    margin-bottom: 15px;
}
.feature-tab-content p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--theme-text-muted);
    line-height: 1.6;
}
.feature-tab-content .btn {
    margin-top: 20px;
    padding: 10px 30px;
    font-weight: 600;
}
.feature-tab-content .alert {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
}

.uptimerobot-ad-banner {
    background-color: #15212d;
    color: #3cd770;
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: -10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.uptimerobot-ad-banner:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    color: #48ff8a; /* Lighter green on hover */
    text-decoration: none;
}
.uptimerobot-logo {
    flex-shrink: 0;
}
.uptimerobot-logo img {
    height: 30px; /* Control the size of the logo */
    width: auto;
}
.uptimerobot-text {
    font-size: 0.9rem;
    font-weight: 500;
}
.uptimerobot-text strong {
    color: #fff; /* White color for the dynamic part */
}
.hide-ads .ad-container {
    display: none !important;
}

/* --- Diagnostic & Optimization Tools --- */
.diagnostic-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    margin-top: 10px;
}
@media (max-width: 575px) {
    .diagnostic-tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    }
}

/* --- Mail Client Config Styles --- */
.mail-config-box {
    background-color: #f8f9fa;
    border: 1px solid var(--theme-border-color);
    border-radius: 8px;
    padding: 20px;
    margin-top: 10px;
}
.mail-config-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--theme-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mail-config-table {
    width: 100%;
    font-size: 0.85rem;
}
.mail-config-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #e9ecef;
}
.mail-config-table tr:last-child td {
    border-bottom: none;
}
.mail-config-label {
    color: var(--theme-text-muted);
    font-weight: 500;
    width: 40%;
}
.mail-config-value {
    font-weight: 600;
    color: var(--theme-text-main);
    font-family: monospace;
}

/* --- Migrated from hosting3.phtml --- */
.product-details-page .row.equal-height-row {
    display: flex;
    flex-wrap: wrap;
}
.equal-height-row > [class*='col-'] {
    display: flex;
    flex-direction: column;
}
.full-height-card {
    flex-grow: 1;
}
.detail-card {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 25px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}
.d-flex.flex-column > .detail-card {
    flex: 1 1 auto;
}
.full-height-card {
    height: 100%;
}
.detail-card h6 {
    font-size: 1.2rem;
    color: var(--theme-primary);
    margin: 0 0 15px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}
.detail-card ul { list-style: none; padding: 0; margin: 0; flex-grow: 1; }
.detail-card li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #f1f3f5; }
.detail-card li:last-child { border-bottom: none; }
.card-label { color: var(--theme-text-muted); font-size: 0.9rem; padding-right: 15px; }
.card-value { color: var(--theme-text-main); font-weight: 600; text-align: right; }
.card-value a:not(.btn) { color: var(--theme-primary); font-weight: 600; }
.status { padding: 4px 10px; border-radius: 15px; font-size: 12px; font-weight: 600; color: #fff; background-color: var(--theme-text-muted); }
.status.active, .status.paid { background-color: #28a745; }
.status.pending, .status.unpaid { background-color: #ffc107; color: var(--theme-text-main);}
.status.suspended, .status.fraud, .status.cancelled { background-color: #dc3545; }

/* --- Live Status Block --- */
.status-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--theme-border-color);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}
.status-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #495057;
    margin-bottom: 15px;
}
.info-tooltip {
    color: #adb5bd;
    cursor: help;
}
.status-indicator {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 5px 0;
    border-radius: 6px;
    margin-bottom: 10px;
}
.status-indicator.up { background-color: #d4edda; color: #155724; }
.status-indicator.down { background-color: #f8d7da; color: #721c24; }
.status-indicator.paused { background-color: #e2e3e5; color: #383d41; }

/* Intelligent Alert Box */
.status-alert {
    font-size: 0.8rem;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 15px;
    line-height: 1.4;
}
.alert-success { background-color: #d4edda; color: #155724; }
.alert-warning { background-color: var(--theme-bg-card);3cd; color: #856404; }
.alert-danger { background-color: #f8d7da; color: #721c24; }
.alert-info { background-color: #d1ecf1; color: #0c5460; }

.uptime-percentages {
    display: flex;
    justify-content: space-around;
    font-size: 0.75rem;
    color: var(--theme-text-muted);
    padding: 0 10px;
}
.uptime-percentages div { flex-basis: 33%; }
.uptime-percentages strong { display: block; color: var(--theme-text-main); font-size: 0.7rem; margin-bottom: 3px; }

/* Timeframe Selector */
.timeframe-selector {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}
.timeframe-selector .btn-group {
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.timeframe-selector .btn {
    font-size: 0.75rem;
    padding: 4px 10px;
}

.response-time-chart-container {
    flex-grow: 1;
    min-height: 100px;
}
.status-card-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* "Last Checked" Timestamp */
.last-checked {
    font-size: 0.7rem;
    color: #adb5bd;
}

.server-flag {
    font-size: 1.5rem;
    margin-right: 10px;
    vertical-align: middle;
}

.server-flag-img {
    width: 40px;
    height: auto;
    margin-right: 10px;
    vertical-align: middle;
    border-radius: 2px;
}

.webmail-disabled-text {
    font-size: 0.8rem;
    color: var(--theme-text-muted);
    text-align: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-top: 10px;
}

.btn-copy {
    background: none;
    border: none;
    color: #adb5bd;
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 4px;
    transition: all 0.2s ease;
}
.btn-copy:hover {
    color: var(--theme-primary);
    background-color: var(--theme-bg-main);
}
.btn-copy.copied {
    color: #28a745;
    cursor: default;
}
.password-inline-hint {
    font-size: 0.8rem;
    font-style: italic;
    font-weight: 500;
    color: var(--theme-text-muted);
}

/* Quickstart Guide Styles */
.quickstart-content { position: relative; min-height: 135px; }
.quickstart-step { 
    display: none !important; 
    position: absolute; 
    width: 100%; 
    align-items: flex-start; 
    gap: 20px; 
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
.quickstart-step.is-active { 
    display: flex !important; 
    opacity: 1;
}
.step-icon { flex-shrink: 0; width: 50px; height: 50px; border-radius: 50%; color: #fff; display: flex; justify-content: center; align-items: center; font-size: 22px; }
.step-icon-1 { background-color: #007bff; } .step-icon-2 { background-color: #17a2b8; } .step-icon-3 { background-color: #ffc107; } .step-icon-4 { background-color: #28a745; } .step-icon-5 { background-color: #6f42c1; } .step-icon-6 { background-color: #dc3545; }
.step-text h4 { font-size: 1.1rem; color: #343a40; margin-bottom: 8px; }
.step-text p { font-size: 0.9rem; line-height: 1.6; color: var(--theme-text-muted); margin: 0 0 5px 0; }
.step-text code { background-color: #e9ecef; padding: 2px 6px; border-radius: 4px; font-family: monospace; color: #c7254e; }
.quickstart-controls { display: flex; justify-content: center; align-items: center; gap: 15px; margin-top: 20px; }
.qs-arrow { background: none; border: none; font-size: 20px; color: #adb5bd; cursor: pointer; transition: color 0.2s ease; }
.qs-arrow:hover { color: var(--theme-primary); }
.qs-play-pause { background: none; border: none; font-size: 16px; color: var(--theme-text-muted); cursor: pointer; transition: color 0.2s ease; }
.qs-play-pause:hover { color: var(--theme-primary); }
.step-indicator { display: flex; gap: 8px; }
.step-indicator span { width: 10px; height: 10px; border-radius: 50%; background-color: #dee2e6; transition: background-color 0.3s ease; }
.step-indicator span.active { background-color: var(--theme-primary); }
/* NEW: Responsive fix for the Quickstart Guide on mobile */
@media (max-width: 767px) {
    .quickstart-content {
        min-height: 340px; /* Increased height specifically for mobile view */
    }
}

/* --- Quickstart Collapse Toggle --- */
.qs-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--theme-text-muted);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    transition: color 0.2s ease;
    font-weight: 500;
}
.qs-toggle-btn:hover { color: var(--theme-primary); }
.qs-toggle-btn i { transition: transform 0.3s ease; }
.qs-toggle-btn.collapsed i.fa-chevron-down { transform: rotate(-90deg); }
.qs-collapsible-body { overflow: hidden; transition: max-height 0.4s ease, opacity 0.3s ease; max-height: 600px; opacity: 1; }
.qs-collapsible-body.qs-hidden { max-height: 0; opacity: 0; pointer-events: none; }
/* When body is hidden, reduce card padding so it stays compact */
.detail-card:has(> .qs-collapsible-body.qs-hidden) {
    padding-bottom: 18px;
}

/* --- View Mode Toggle (Simple / Expert) --- */
.view-mode-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 8px 0 12px 0;
    font-size: 0.82rem;
    color: var(--theme-text-muted);
}
.view-mode-bar .mode-label { font-weight: 500; }
.mode-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}
.mode-switch input { opacity: 0; width: 0; height: 0; }
.mode-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    border-radius: 22px;
    transition: 0.3s;
}
.mode-slider:before {
    position: absolute;
    content: "";
    height: 16px; width: 16px;
    left: 3px; bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}
input:checked + .mode-slider { background-color: var(--theme-primary); }
input:checked + .mode-slider:before { transform: translateX(22px); }
/* Elements hidden in simple (default) mode */
.expert-only { display: none !important; }
body.expert-mode .expert-only { display: flex !important; }
body.expert-mode li.expert-only { display: flex !important; }
body.expert-mode div.expert-only { display: block !important; }
body.expert-mode .expert-only { display: revert !important; }

/* Style for the server flag IMAGE */
.server-flag-img {
    width: 24px;
    height: auto;
    margin-right: 10px;
    vertical-align: middle;
    border-radius: 2px;
}

.cp-logo-img {
    vertical-align: middle;
}

.resource-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f5;
}
.resource-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.resource-label {
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
}
.resource-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--theme-text-main);
}

h2.resp-accordion {
    display: none !important;
}
ul.resp-tabs-list {
    display: flex !important;
    flex-wrap: wrap !important;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 20px !important;
    padding: 0;
}
.resp-tabs-list li {
    padding: 10px 15px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px;
    transition: all 0.2s ease; font-weight: 500; color: var(--theme-text-muted); display: flex; align-items: center; gap: 8px; list-style: none;
}
.resp-tabs-list li:hover { color: var(--theme-primary); }
.resp-tabs-list li.resp-tab-active { border-bottom-color: var(--theme-primary); color: var(--theme-primary); }
.resp-arrow { display: none !important; }
.resp-tabs-container > div { display: none; padding: 0 !important; border: none !important; }
.resp-tabs-container > div.resp-tab-content-active { display: block; }

.resp-tabs-list li .menu-tag {
    font-size: 7px;
    padding: 2px 5px;
    margin-left: 17px;
    vertical-align: middle;
    position: relative;
    top: -0.5px; /* Fine-tunes vertical alignment */
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    padding-top: 10px;
}


.app-grid .tab-separator {
    grid-column: 1 / -1;
    width: 100%;
    margin: 20px 0 15px 0;
    border-top: 1px solid #e9ecef;
}

.app-grid .tab-separator-title {
    grid-column: 1 / -1; 
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 20px;
    text-align: left;
}

.app-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--theme-border-color);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.app-tile:hover {
    border-color: var(--theme-primary);
    box-shadow: 0 4px 15px rgba(0, 141, 210, 0.1);
    transform: translateY(-3px);
}
.app-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--theme-primary);
}
.app-name {
    font-weight: 600;
    color: #343a40;
}

/* Style for the Log viewer */
.log-viewer {
    background-color: #2d3748; /* Dark background */
    color: #e2e8f0; /* Light text */
    border-radius: 6px;
    padding: 15px;
    max-height: 400px;
    overflow-y: auto;
    font-family: monospace;
    font-size: 0.8rem;
    line-height: 1.6;
}
.log-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.log-controls .form-control {
    max-width: 250px;
}

/* Style for the API Access tab */
.api-key-display {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border: 1px solid var(--theme-border-color);
    border-radius: 6px;
    padding: 10px 15px;
    font-family: monospace;
}
.api-key-text {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.api-actions button {
    margin-left: 10px;
}

/* Style for the Stats tab */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.stat-item {
    background-color: #f8f9fa;
    border: 1px solid var(--theme-border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}
.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--theme-primary);
}
.stat-label {
    font-size: 0.9rem;
    color: var(--theme-text-muted);
    margin-top: 5px;
}

.info-tooltip {
    color: #adb5bd; 
    cursor: help;
    margin-left: 5px;
    font-size: 0.8rem;
    vertical-align: middle;
}
.tooltip-inner {
    max-width: 250px;
    padding: 8px 12px;
    text-align: left;
}

.feature-tab-content {
    text-align: center;
    padding: 40px 20px;
}
.feature-tab-content .icon {
    font-size: 3rem;
    color: var(--theme-primary);
    margin-bottom: 20px;
}
.feature-tab-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--theme-text-main);
    margin-bottom: 15px;
}
.feature-tab-content p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--theme-text-muted);
    line-height: 1.6;
}
.feature-tab-content .btn {
    margin-top: 20px;
    padding: 10px 30px;
    font-weight: 600;
}
.feature-tab-content .alert {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
}

.uptimerobot-ad-banner {
    background-color: #15212d;
    color: #3cd770;
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: -10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.uptimerobot-ad-banner:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    color: #48ff8a; /* Lighter green on hover */
    text-decoration: none;
}
.uptimerobot-logo {
    flex-shrink: 0;
}
.uptimerobot-logo img {
    height: 30px; /* Control the size of the logo */
    width: auto;
}
.uptimerobot-text {
    font-size: 0.9rem;
    font-weight: 500;
}
.uptimerobot-text strong {
    color: #fff; /* White color for the dynamic part */
}
.hide-ads .ad-container {
    display: none !important;
}

/* --- Diagnostic & Optimization Tools --- */
.diagnostic-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    margin-top: 10px;
}
@media (max-width: 575px) {
    .diagnostic-tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    }
}

/* --- Mail Client Config Styles --- */
.mail-config-box {
    background-color: #f8f9fa;
    border: 1px solid var(--theme-border-color);
    border-radius: 8px;
    padding: 20px;
    margin-top: 10px;
}
.mail-config-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--theme-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mail-config-table {
    width: 100%;
    font-size: 0.85rem;
}
.mail-config-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #e9ecef;
}
.mail-config-table tr:last-child td {
    border-bottom: none;
}
.mail-config-label {
    color: var(--theme-text-muted);
    font-weight: 500;
    width: 40%;
}
.mail-config-value {
    font-weight: 600;
    color: var(--theme-text-main);
    font-family: monospace;
}

/* --- Migrated from hosting2.phtml --- */
.product-details-page .row.equal-height-row {
    display: flex;
    flex-wrap: wrap;
}
.equal-height-row > [class*='col-'] {
    display: flex;
    flex-direction: column;
}
.full-height-card {
    flex-grow: 1;
}
.detail-card {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 25px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}
.d-flex.flex-column > .detail-card {
    flex: 1 1 auto;
}
.full-height-card {
    height: 100%;
}
.detail-card h6 {
    font-size: 1.2rem;
    color: var(--theme-primary);
    margin: 0 0 15px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}
.detail-card ul { list-style: none; padding: 0; margin: 0; flex-grow: 1; }
.detail-card li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #f1f3f5; }
.detail-card li:last-child { border-bottom: none; }
.card-label { color: var(--theme-text-muted); font-size: 0.9rem; padding-right: 15px; }
.card-value { color: var(--theme-text-main); font-weight: 600; text-align: right; }
.card-value a:not(.btn) { color: var(--theme-primary); font-weight: 600; }
.status { padding: 4px 10px; border-radius: 15px; font-size: 12px; font-weight: 600; color: #fff; background-color: var(--theme-text-muted); }
.status.active, .status.paid { background-color: #28a745; }
.status.pending, .status.unpaid { background-color: #ffc107; color: var(--theme-text-main);}
.status.suspended, .status.fraud, .status.cancelled { background-color: #dc3545; }

/* --- Live Status Block --- */
.status-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--theme-border-color);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}
.status-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #495057;
    margin-bottom: 15px;
}
.info-tooltip {
    color: #adb5bd;
    cursor: help;
}
.status-indicator {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 5px 0;
    border-radius: 6px;
    margin-bottom: 10px;
}
.status-indicator.up { background-color: #d4edda; color: #155724; }
.status-indicator.down { background-color: #f8d7da; color: #721c24; }
.status-indicator.paused { background-color: #e2e3e5; color: #383d41; }

/* Intelligent Alert Box */
.status-alert {
    font-size: 0.8rem;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 15px;
    line-height: 1.4;
}
.alert-success { background-color: #d4edda; color: #155724; }
.alert-warning { background-color: var(--theme-bg-card);3cd; color: #856404; }
.alert-danger { background-color: #f8d7da; color: #721c24; }
.alert-info { background-color: #d1ecf1; color: #0c5460; }

.uptime-percentages {
    display: flex;
    justify-content: space-around;
    font-size: 0.75rem;
    color: var(--theme-text-muted);
    padding: 0 10px;
}
.uptime-percentages div { flex-basis: 33%; }
.uptime-percentages strong { display: block; color: var(--theme-text-main); font-size: 0.7rem; margin-bottom: 3px; }

/* Timeframe Selector */
.timeframe-selector {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}
.timeframe-selector .btn-group {
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.timeframe-selector .btn {
    font-size: 0.75rem;
    padding: 4px 10px;
}

.response-time-chart-container {
    flex-grow: 1;
    min-height: 100px;
}
.status-card-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* "Last Checked" Timestamp */
.last-checked {
    font-size: 0.7rem;
    color: #adb5bd;
}

.server-flag {
    font-size: 1.5rem;
    margin-right: 10px;
    vertical-align: middle;
}

.server-flag-img {
    width: 40px;
    height: auto;
    margin-right: 10px;
    vertical-align: middle;
    border-radius: 2px;
}

.webmail-disabled-text {
    font-size: 0.8rem;
    color: var(--theme-text-muted);
    text-align: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-top: 10px;
}

.btn-copy {
    background: none;
    border: none;
    color: #adb5bd;
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 4px;
    transition: all 0.2s ease;
}
.btn-copy:hover {
    color: var(--theme-primary);
    background-color: var(--theme-bg-main);
}
.btn-copy.copied {
    color: #28a745;
    cursor: default;
}
.password-inline-hint {
    font-size: 0.8rem;
    font-style: italic;
    font-weight: 500;
    color: var(--theme-text-muted);
}

/* Quickstart Guide Styles */
.quickstart-content { position: relative; min-height: 135px; }
.quickstart-step { 
    display: none !important; 
    position: absolute; 
    width: 100%; 
    align-items: flex-start; 
    gap: 20px; 
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
.quickstart-step.is-active { 
    display: flex !important; 
    opacity: 1;
}
.step-icon { flex-shrink: 0; width: 50px; height: 50px; border-radius: 50%; color: #fff; display: flex; justify-content: center; align-items: center; font-size: 22px; }
.step-icon-1 { background-color: #007bff; } .step-icon-2 { background-color: #17a2b8; } .step-icon-3 { background-color: #ffc107; } .step-icon-4 { background-color: #28a745; } .step-icon-5 { background-color: #6f42c1; } .step-icon-6 { background-color: #dc3545; }
.step-text h4 { font-size: 1.1rem; color: #343a40; margin-bottom: 8px; }
.step-text p { font-size: 0.9rem; line-height: 1.6; color: var(--theme-text-muted); margin: 0 0 5px 0; }
.step-text code { background-color: #e9ecef; padding: 2px 6px; border-radius: 4px; font-family: monospace; color: #c7254e; }
.quickstart-controls { display: flex; justify-content: center; align-items: center; gap: 15px; margin-top: 20px; }
.qs-arrow { background: none; border: none; font-size: 20px; color: #adb5bd; cursor: pointer; transition: color 0.2s ease; }
.qs-arrow:hover { color: var(--theme-primary); }
.qs-play-pause { background: none; border: none; font-size: 16px; color: var(--theme-text-muted); cursor: pointer; transition: color 0.2s ease; }
.qs-play-pause:hover { color: var(--theme-primary); }
.step-indicator { display: flex; gap: 8px; }
.step-indicator span { width: 10px; height: 10px; border-radius: 50%; background-color: #dee2e6; transition: background-color 0.3s ease; }
.step-indicator span.active { background-color: var(--theme-primary); }
/* NEW: Responsive fix for the Quickstart Guide on mobile */
@media (max-width: 767px) {
    .quickstart-content {
        min-height: 340px; /* Increased height specifically for mobile view */
    }
}

/* Style for the server flag IMAGE */
.server-flag-img {
    width: 24px;
    height: auto;
    margin-right: 10px;
    vertical-align: middle;
    border-radius: 2px;
}

.cp-logo-img {
    vertical-align: middle;
}

.resource-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f5;
}
.resource-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.resource-label {
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
}
.resource-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--theme-text-main);
}

h2.resp-accordion {
    display: none !important;
}
ul.resp-tabs-list {
    display: flex !important;
    flex-wrap: wrap !important;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 20px !important;
    padding: 0;
}
.resp-tabs-list li {
    padding: 10px 15px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px;
    transition: all 0.2s ease; font-weight: 500; color: var(--theme-text-muted); display: flex; align-items: center; gap: 8px; list-style: none;
}
.resp-tabs-list li:hover { color: var(--theme-primary); }
.resp-tabs-list li.resp-tab-active { border-bottom-color: var(--theme-primary); color: var(--theme-primary); }
.resp-arrow { display: none !important; }
.resp-tabs-container > div { display: none; padding: 0 !important; border: none !important; }
.resp-tabs-container > div.resp-tab-content-active { display: block; }

.resp-tabs-list li .menu-tag {
    font-size: 7px;
    padding: 2px 5px;
    margin-left: 17px;
    vertical-align: middle;
    position: relative;
    top: -0.5px; /* Fine-tunes vertical alignment */
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    padding-top: 10px;
}


.app-grid .tab-separator {
    grid-column: 1 / -1;
    width: 100%;
    margin: 20px 0 15px 0;
    border-top: 1px solid #e9ecef;
}

.app-grid .tab-separator-title {
    grid-column: 1 / -1; 
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 20px;
    text-align: left;
}

.app-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--theme-border-color);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.app-tile:hover {
    border-color: var(--theme-primary);
    box-shadow: 0 4px 15px rgba(0, 141, 210, 0.1);
    transform: translateY(-3px);
}
.app-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--theme-primary);
}
.app-name {
    font-weight: 600;
    color: #343a40;
}

/* Style for the Log viewer */
.log-viewer {
    background-color: #2d3748; /* Dark background */
    color: #e2e8f0; /* Light text */
    border-radius: 6px;
    padding: 15px;
    max-height: 400px;
    overflow-y: auto;
    font-family: monospace;
    font-size: 0.8rem;
    line-height: 1.6;
}
.log-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.log-controls .form-control {
    max-width: 250px;
}

/* Style for the API Access tab */
.api-key-display {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border: 1px solid var(--theme-border-color);
    border-radius: 6px;
    padding: 10px 15px;
    font-family: monospace;
}
.api-key-text {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.api-actions button {
    margin-left: 10px;
}

/* Style for the Stats tab */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.stat-item {
    background-color: #f8f9fa;
    border: 1px solid var(--theme-border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}
.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--theme-primary);
}
.stat-label {
    font-size: 0.9rem;
    color: var(--theme-text-muted);
    margin-top: 5px;
}

.info-tooltip {
    color: #adb5bd; 
    cursor: help;
    margin-left: 5px;
    font-size: 0.8rem;
    vertical-align: middle;
}
.tooltip-inner {
    max-width: 250px;
    padding: 8px 12px;
    text-align: left;
}

.feature-tab-content {
    text-align: center;
    padding: 40px 20px;
}
.feature-tab-content .icon {
    font-size: 3rem;
    color: var(--theme-primary);
    margin-bottom: 20px;
}
.feature-tab-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--theme-text-main);
    margin-bottom: 15px;
}
.feature-tab-content p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--theme-text-muted);
    line-height: 1.6;
}
.feature-tab-content .btn {
    margin-top: 20px;
    padding: 10px 30px;
    font-weight: 600;
}
.feature-tab-content .alert {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
}

.uptimerobot-ad-banner {
    background-color: #15212d;
    color: #3cd770;
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: -10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.uptimerobot-ad-banner:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    color: #48ff8a; /* Lighter green on hover */
    text-decoration: none;
}
.uptimerobot-logo {
    flex-shrink: 0;
}
.uptimerobot-logo img {
    height: 30px; /* Control the size of the logo */
    width: auto;
}
.uptimerobot-text {
    font-size: 0.9rem;
    font-weight: 500;
}
.uptimerobot-text strong {
    color: #fff; /* White color for the dynamic part */
}
.hide-ads .ad-container {
    display: none !important;
}

/* --- Diagnostic & Optimization Tools --- */
.diagnostic-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    margin-top: 10px;
}
@media (max-width: 575px) {
    .diagnostic-tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    }
}

/* --- Mail Client Config Styles --- */
.mail-config-box {
    background-color: #f8f9fa;
    border: 1px solid var(--theme-border-color);
    border-radius: 8px;
    padding: 20px;
    margin-top: 10px;
}
.mail-config-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--theme-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mail-config-table {
    width: 100%;
    font-size: 0.85rem;
}
.mail-config-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #e9ecef;
}
.mail-config-table tr:last-child td {
    border-bottom: none;
}
.mail-config-label {
    color: var(--theme-text-muted);
    font-weight: 500;
    width: 40%;
}
.mail-config-value {
    font-weight: 600;
    color: var(--theme-text-main);
    font-family: monospace;
}

/* --- Migrated from alltickets.phtml --- */
/* --- START: Global Modernization Styles --- */
.datatable-page .container, .content-area .container {
    padding-top: 20px;
    padding-bottom: 20px;
}
.cm-holder {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 30px;
}
.cm-holder .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}
.cm-holder .head h1 {
    font-size: 1.8rem;
    margin: 0;
}
.knowledge-base-search { max-width: 300px; }
.knowledge-base-search input { border-radius: 6px !important; border: 1px solid #ced4da; padding: 8px 12px; }
.knowledge-base-search button { border-top-right-radius: 6px !important; border-bottom-right-radius: 6px !important; }
.table { border-collapse: collapse !important; width: 100% !important; }
.table thead th { background-color: #f8f9fa; border-bottom: 2px solid #e9ecef; font-weight: 600; }
.table td { vertical-align: middle; border-top: 1px solid #e9ecef !important; }
.status { padding: 4px 10px; border-radius: 15px; font-size: 12px; font-weight: 600; color: #fff; text-align: center; display: inline-block; }
.status.active, .status.paid { background-color: #28a745; }
.status.pending, .status.unpaid, .status.Open { background-color: #ffc107; color: var(--theme-text-main);}
.status.suspended, .status.fraud, .status.cancelled, .status.Closed { background-color: #dc3545; }
.btn-group .btn { border: 1px solid #ced4da; }
.btn-group .btn-primary { background-color: var(--theme-primary); border-color: var(--theme-primary); }
.form-control, .searchSelect2 { border-radius: 6px !important; }
/* --- END: Global Modernization Styles --- */

/* --- Migrated from cart1.phtml --- */
/* --- Styles are unchanged from your provided file --- */
.free-package-section { border-top: 1px solid #e9ecef; padding-top: 2.5rem; margin-top: 2rem; }
.free-package-intro { text-align: center; margin-bottom: 1.5rem; }
.free-package-intro h4 { font-size: 1.25rem; font-weight: 400; color: var(--theme-text-muted); }
.free-package-content, .info-box { border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: all 0.3s ease; display: flex; flex-direction: column; height: 100%; }
.free-package-content:hover, .info-box:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.free-package-content { background: var(--theme-bg-card); border: 1px solid #e0e3f1; padding: 25px 30px; position: relative; overflow: hidden; }
.info-box { background-color: var(--theme-primary); color: white; padding: 25px 30px; }
.info-box h4 { color: white; font-size: 1.1rem; font-weight: 500; text-align: center; border-bottom: none; margin-bottom: 20px; padding-bottom: 0; }
.info-list { list-style: none; padding-left: 0; margin-top: 5px; }
.info-list li { padding-left: 30px; position: relative; margin-bottom: 15px; font-size: 14px; line-height: 1.5; }
.info-list li::before { position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background-color: white; color: var(--theme-primary); text-align: center; line-height: 22px; font-size: 14px; }
.info-list li.spam::before { content: '🛡️'; }
.info-list li.sync::before { content: '🔄'; }
.info-list li.protocol::before { content: '📬'; }
.info-list li.calendar::before { content: '📅'; }
.info-list li.branding::before { content: '🏢'; }
.info-list li.desktop::before { content: '💻'; }
.info-list li.reputation::before { content: '📈'; }
.info-list li.migration::before { content: '🚚'; }
.info-list li.encryption::before { content: '🔒'; }
.info-list li.collaboration::before { content: '👥'; }
.info-list li.sendlimit::before { content: '✉️'; }

.free-badge { position: absolute; top: 15px; right: -30px; transform: rotate(45deg); background-color: #28a745; color: white; padding: 5px 0; width: 120px; text-align: center; font-weight: bold; font-size: 14px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.free-package-content .prod-icon { text-align: center; margin-bottom: 15px; }
.free-package-content .prod-icon img { max-width: 60px; }
.free-package-content .head, .free-package-content .product-features, .free-package-content .product-order-button { width: 100%; text-align: center; }
.free-package-content .product-features { flex-grow: 1; }
.free-package-content .head .title h4 { font-size: 1.5rem; font-weight: 500; }
.free-package-content .head h3 { margin-top: 5px; }
.free-package-notice { display: flex; align-items: flex-start; margin-top: 15px; padding: 12px 15px; border: 1px solid var(--theme-border-color); background-color: #f8f9fa; border-radius: 4px; width: 100%; }
.notice-icon { flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; background-color: var(--theme-text-muted); color: white; font-family: serif; font-weight: bold; font-style: italic; font-size: 12px; line-height: 16px; text-align: center; margin-right: 10px; }
.notice-text { font-size: 12px; color: var(--theme-text-muted); line-height: 1.5; }
.free-package-content .product-order-button { padding-top: 15px; margin-top: auto; }
.free-package-content .cm-listing ul { justify-content: center; }

.product-flex-wrapper .product-flex-item { width: 100%; display: flex; flex-direction: column; margin: 0; border: 1px solid #e0e3f1; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.product-flex-wrapper .product-flex-item:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.product-flex-wrapper .product-flex-item.highlight { border: 2px solid var(--theme-primary); }
.product-flex-wrapper .product-flex-item .product-features { flex-grow: 1; }
.product-flex-wrapper .product-flex-item .product-order-button { padding: 0 30px 30px; margin-top: auto; }
.head h3 p.availability { font-size: 12px; font-weight: 500; color: var(--theme-text-muted); background-color: #e9ecef; padding: 3px 8px; border-radius: 4px; display: inline-block; margin-top: 8px; }
.cm-listing ul { display: flex; flex-wrap: wrap; justify-content: flex-start; list-style: none; padding-left: 0 !important; margin-bottom: 15px; }
.cm-listing ul li { flex: 1 0 45%; min-width: 200px; box-sizing: border-box; padding: 5px 0 5px 34px !important; margin: 0 5px; text-align: left; }
.cm-listing p { width: 100%; text-align: left; padding-left: 10px; margin-top: 10px; border-top: 1px solid #e0e3f1; padding-top: 10px; }

.info-alert { background-color: #e7f3fe; color: #0c5460; border: 1px solid #b6d4fe; border-radius: 8px; padding: 20px 25px; margin-bottom: 25px; display: flex; align-items: center; gap: 20px; }
.info-alert-icon { font-size: 1.5rem; flex-shrink: 0; color: #007bff; }
.info-alert-text p { margin: 0; line-height: 1.6; font-size: 0.95rem; }
.info-alert-text p strong { color: #0056b3; }

/* --- Migrated from cart1.phtml --- */
/* --- START: Styles for the free package & info box section --- */
.free-package-section {
    border-top: 1px solid #e9ecef;
    padding-top: 2.5rem;
    margin-top: 2rem;
}

.free-package-intro {
    text-align: center;
    margin-bottom: 1.5rem;
}
.free-package-intro h4 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--theme-text-muted);
}

.free-package-content, .info-box {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensures columns have the same height */
}
.free-package-content:hover, .info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.free-package-content {
    background: var(--theme-bg-card);
    border: 1px solid #e0e3f1;
    padding: 25px 30px;
    position: relative;
    overflow: hidden;
}

/* The new info box */
.info-box {
    background-color: var(--theme-primary);
    color: white;
    padding: 25px 30px;
}
.info-box h4 {
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
    margin-bottom: 20px;
}
/* List with CSS icons */
.info-list {
    list-style: none;
    padding-left: 0;
    margin-top: 5px;
}
.info-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}
.info-list li::before {
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 18px;
    color: white;
}
/* Assigning different icons */
.info-list li.leaf::before { content: '🌿'; }
.info-list li.performance::before { content: '⚡️'; }
.info-list li.security::before { content: '🛡️'; }
.info-list li.ssl::before { content: '🔒'; }
.info-list li.privacy::before { content: '✅'; }
.info-list li.scaling::before { content: '🚀'; }
.info-list li.location::before { content: '🌍'; }
/* Further icons for the info list */
.info-list li.apps::before { content: '📦'; }
.info-list li.clean::before { content: '✨'; }
.info-list li.management::before { content: '⚙️'; }
.info-list li.community::before { content: '👥'; }


/* --- Changes for the Info Box --- */

/* Make the heading white, smaller, and centered */
.info-box h4 {
    color: white;
    font-size: 1.1rem; /* Smaller font size */
    font-weight: 500;
    text-align: center; /* Centered for a cleaner look */
    border-bottom: none; /* Removed the line */
    margin-bottom: 20px;
    padding-bottom: 0;
}

/* Create the white circle around the icons */
.info-list li::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;              /* Circle width */
    height: 22px;             /* Circle height */
    border-radius: 50%;       /* Makes it a circle */
    background-color: white;  /* White background */
    color: var(--theme-primary);           /* Icon color matching the box */
    text-align: center;       /* Center icon horizontally */
    line-height: 22px;        /* Center icon vertically */
    font-size: 14px;          /* Icon size */
}

.free-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    transform: rotate(45deg);
    background-color: #28a745;
    color: white;
    padding: 5px 0;
    width: 120px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.free-package-content .prod-icon {
    text-align: center;
    margin-bottom: 15px;
}
.free-package-content .prod-icon img {
    max-width: 60px;
}
.free-package-content .head,
.free-package-content .product-features,
.free-package-content .product-order-button {
    width: 100%;
    text-align: center;
}
.free-package-content .product-features { flex-grow: 1; }
.free-package-content .head .title h4 { font-size: 1.5rem; font-weight: 500; }
.free-package-content .head h3 { margin-top: 5px; }

.free-package-notice {
    display: flex;
    align-items: flex-start;
    margin-top: 15px;
    padding: 12px 15px;
    border: 1px solid var(--theme-border-color);
    background-color: #f8f9fa;
    border-radius: 4px;
    width: 100%;
}
.notice-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--theme-text-muted);
    color: white;
    font-family: serif;
    font-weight: bold;
    font-style: italic;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    margin-right: 10px;
}
.notice-text { font-size: 12px; color: var(--theme-text-muted); line-height: 1.5; }
.free-package-content .product-order-button { padding-top: 15px; margin-top: auto; }
.free-package-content .cm-listing ul { justify-content: center; }
/* --- END: Styles for the free package section --- */


/* Styles for the upper grid packages */
.product-flex-wrapper .product-flex-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    border: 1px solid #e0e3f1;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.product-flex-wrapper .product-flex-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.product-flex-wrapper .product-flex-item.highlight {
    border: 2px solid var(--theme-primary);
}
.product-flex-wrapper .product-flex-item .product-features { flex-grow: 1; }
.product-flex-wrapper .product-flex-item .product-order-button { padding: 0 30px 30px; margin-top: auto; }

/* General style rules */
.head h3 p.availability {
    font-size: 12px;
    font-weight: 500;
    color: var(--theme-text-muted);
    background-color: #e9ecef;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 8px;
}
.cm-listing ul { display: flex; flex-wrap: wrap; justify-content: flex-start; list-style: none; padding-left: 0 !important; margin-bottom: 15px; }
.cm-listing ul li { flex: 1 0 45%; min-width: 200px; box-sizing: border-box; padding: 5px 0 5px 34px !important; margin: 0 5px; text-align: left; }
.cm-listing p { width: 100%; text-align: left; padding-left: 10px; margin-top: 10px; border-top: 1px solid #e0e3f1; padding-top: 10px; }

/* --- Launch --- */
.launch-announcement {
    background-color: var(--theme-bg-card);3cd; /* A warm, friendly yellow */
    color: #856404;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.launch-icon {
    font-size: 2rem;
    flex-shrink: 0;
}
.launch-text h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #533f03;
}
.launch-text p {
    margin: 0;
    line-height: 1.6;
}
.launch-text a {
    color: #856404;
    font-weight: 600;
    text-decoration: underline;
}

/* --- Migrated from cart1.phtml --- */
/* --- General Styles (mostly unchanged) --- */
.product-flex-wrapper .product-flex-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    border: 1px solid #e0e3f1;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%; /* Ensures cards in a row have the same height */
}
.product-flex-wrapper .product-flex-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.product-flex-wrapper .product-flex-item.highlight {
    border: 2px solid var(--theme-primary);
}
.product-flex-wrapper .product-flex-item .product-features { flex-grow: 1; }
.product-flex-wrapper .product-flex-item .product-order-button { padding: 0 30px 30px; margin-top: auto; }
.head h3 p.availability {
    font-size: 12px;
    font-weight: 500;
    color: var(--theme-text-muted);
    background-color: #e9ecef;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 8px;
}
.cm-listing ul { display: flex; flex-wrap: wrap; justify-content: flex-start; list-style: none; padding-left: 0 !important; margin-bottom: 15px; }
.cm-listing ul li { flex: 1 0 45%; min-width: 200px; box-sizing: border-box; padding: 5px 0 5px 34px !important; margin: 0 5px; text-align: left; }
.cm-listing p { width: 100%; text-align: left; padding-left: 10px; margin-top: 10px; border-top: 1px solid #e0e3f1; padding-top: 10px; }


/* --- NEW: Styles for Reseller Page Specific Sections --- */
.reseller-features-section {
    border-top: 1px solid #e9ecef;
    padding-top: 2.5rem;
}

/* The blue benefits box */
.info-box {
    background-color: var(--theme-primary);
    color: white;
    padding: 30px 35px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.info-box h4 {
    font-weight: 600;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 25px;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 15px;
}
.info-list {
    list-style: none;
    padding-left: 0;
    columns: 2; /* Create two columns for the list */
    gap: 25px;
}
.info-list li {
    padding-left: 35px;
    position: relative;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.6;
    break-inside: avoid-column; /* Prevents list items from breaking across columns */
}
.info-list li::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: white;
    color: var(--theme-primary);
    text-align: center;
    line-height: 24px;
    font-size: 16px;
}
/* Reseller-specific icons */
.info-list li.brand::before { content: '🎨'; }
.info-list li.profit::before { content: '💰'; }
.info-list li.manage::before { content: '⚙️'; }
.info-list li.scale::before { content: '🚀'; }
.info-list li.support::before { content: '👥'; }
.info-list li.secure::before { content: '🛡️'; }


/* Control Panel Section */
.control-panel-section {
    text-align: center;
    padding: 3rem 0;
}
.control-panel-section h3 {
    font-weight: 600;
    color: #343a40;
    margin-bottom: 2rem;
}
.panel-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.panel-logo {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.panel-logo:hover {
    opacity: 1;
}
.panel-logo img {
    max-height: 45px;
    width: auto;
}

@media (max-width: 767px) {
    .info-list {
        columns: 1; /* Single column on mobile */
    }
}

/* --- Migrated from cart1.phtml --- */
/* --- START: Final, Polished Styles for VPS Product Page --- */
.product-flex-wrapper .product-flex-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    border: 1px solid #e0e3f1;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}
.product-flex-wrapper .product-flex-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.product-flex-wrapper .product-flex-item.highlight {
    border: 2px solid var(--theme-primary);
}
.product-flex-wrapper .product-flex-item .product-features { flex-grow: 1; }
.product-flex-wrapper .product-flex-item .product-order-button { padding: 0 30px 30px; margin-top: auto; }
.head h3 p.availability {
    font-size: 12px; font-weight: 500; color: var(--theme-text-muted); background-color: #e9ecef;
    padding: 3px 8px; border-radius: 4px; display: inline-block; margin-top: 8px;
}
.cm-listing { padding: 15px 25px 0 25px; }
.cm-listing ul { display: flex; flex-wrap: wrap; justify-content: flex-start; list-style: none; padding-left: 0 !important; margin-bottom: 15px; }
.cm-listing ul li { flex: 1 0 100%; box-sizing: border-box; padding: 8px 0 8px 34px !important; text-align: left; border-bottom: 1px solid #f1f3f5; }
.cm-listing ul li:last-child { border-bottom: none; }

/* MODIFIED: Styles for the feature info box with descriptions */
.info-box {
    background-color: var(--theme-primary); color: white; padding: 25px 30px;
    border-radius: 8px; height: 100%; display: flex; flex-direction: column;
}
.info-box h4 {
    color: white; font-size: 1.1rem; font-weight: 500; text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 15px; margin-bottom: 20px;
}
.info-list { list-style: none; padding-left: 0; margin-top: 5px; flex-grow: 1; }
.info-list li {
    display: flex; /* Aligns icon and text block */
    align-items: flex-start; /* Aligns icon to the top */
    gap: 15px; /* Space between icon and text */
    margin-bottom: 20px;
    position: relative;
    padding-left: 35px;
}
.info-list li::before {
    position: absolute; left: 0; top: 0; width: 24px; height: 24px;
    border-radius: 50%; background-color: white; color: var(--theme-primary);
    text-align: center; line-height: 24px; font-size: 14px; content: '✔️'; /* Default icon */
}
.info-list .feature-text h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 3px 0;
}
.info-list .feature-text p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    margin: 0;
}
/* Assigning Emoji Icons */
.info-list li.instant-access::before { content: '⚡️'; }
.info-list li.ddos::before { content: '🛡️'; }
.info-list li.os::before { content: '💿'; }
.info-list li.ram::before { content: '🐏'; }
.info-list li.nvme::before { content: '🚀'; }
.info-list li.network::before { content: '🌐'; }
.info-list li.ports::before { content: '🚪'; }
.info-list li.cpu::before { content: '⚙️'; }
.info-list li.root::before { content: '🧑‍💻'; }
.info-list li.virtualizor::before { content: '☁️'; }


.launch-announcement { background-color: var(--theme-bg-card);3cd; color: #856404; border: 1px solid #ffeeba; border-radius: 8px; padding: 20px 25px; margin-bottom: 25px; display: flex; align-items: center; gap: 20px; }
.launch-icon { font-size: 2rem; flex-shrink: 0; }
.launch-text h5 { font-size: 1.2rem; font-weight: 600; margin: 0 0 5px 0; color: #533f03; }
.launch-text p { margin: 0; line-height: 1.6; }
.launch-text a { color: #856404; font-weight: 600; text-decoration: underline; }
.usage-policy-alert { background-color: #f8d7da; border-color: #f5c6cb; color: #721c24; }
.usage-policy-alert h5 { color: #721c24; }
/* --- END: Styles --- */

/* --- Migrated from cart1.phtml --- */
.domain_search_notregistered {
    color: #16a085;
    margin-bottom: 15px;
}

.domain_search_alreadyregistered {
    color: #e74c3c;
    margin-bottom: 15px;
}

#domainSearchResults,
#domainTransferSearchResults {
    font-size: 20px;
}

.selected-domain-form .domain-option-name {
    color: #faa732;
}

/* --- Migrated from cart1.phtml --- */
/* --- START: Styles for the free package & info box section --- */
.free-package-section {
    border-top: 1px solid #e9ecef;
    padding-top: 2.5rem;
    margin-top: 2rem;
}
.free-package-intro {
    text-align: center;
    margin-bottom: 1.5rem;
}
.free-package-intro h4 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--theme-text-muted);
}
.free-package-content, .info-box {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.free-package-content:hover, .info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.free-package-content {
    background: var(--theme-bg-card);
    border: 1px solid #e0e3f1;
    padding: 25px 30px;
    position: relative;
    overflow: hidden;
}
.info-box {
    background-color: var(--theme-primary);
    color: white;
    padding: 25px 30px;
}
.info-box h4 {
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.info-list {
    list-style: none;
    padding-left: 0;
    margin-top: 5px;
}
.info-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}
.info-list li::before {
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 18px;
    color: white;
}
.info-list li.leaf::before { content: '🌿'; }
.info-list li.performance::before { content: '⚡️'; }
.info-list li.security::before { content: '🛡️'; }
.info-list li.ssl::before { content: '🔒'; }
.info-list li.privacy::before { content: '✅'; }
.info-list li.scaling::before { content: '🚀'; }
.info-list li.location::before { content: '🌍'; }
.info-list li.apps::before { content: '📦'; }
.info-list li.clean::before { content: '✨'; }
.info-list li.management::before { content: '⚙️'; }
.info-list li.community::before { content: '👥'; }
.info-box h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    border-bottom: none;
    margin-bottom: 20px;
    padding-bottom: 0;
}
.info-list li::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: white;
    color: var(--theme-primary);
    text-align: center;
    line-height: 22px;
    font-size: 14px;
}
.free-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    transform: rotate(45deg);
    background-color: #28a745;
    color: white;
    padding: 5px 0;
    width: 120px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.free-package-content .prod-icon {
    text-align: center;
    margin-bottom: 15px;
}
.free-package-content .prod-icon img {
    max-width: 60px;
}
.free-package-content .head,
.free-package-content .product-features,
.free-package-content .product-order-button {
    width: 100%;
    text-align: center;
}
.free-package-content .product-features { flex-grow: 1; }
.free-package-content .head .title h4 { font-size: 1.5rem; font-weight: 500; }
.free-package-content .head h3 { margin-top: 5px; }
.free-package-notice {
    display: flex;
    align-items: flex-start;
    margin-top: 15px;
    padding: 12px 15px;
    border: 1px solid var(--theme-border-color);
    background-color: #f8f9fa;
    border-radius: 4px;
    width: 100%;
}
.notice-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--theme-text-muted);
    color: white;
    font-family: serif;
    font-weight: bold;
    font-style: italic;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    margin-right: 10px;
}
.notice-text { font-size: 12px; color: var(--theme-text-muted); line-height: 1.5; }
.free-package-content .product-order-button { padding-top: 15px; margin-top: auto; }
.free-package-content .cm-listing ul { justify-content: center; }
.product-flex-wrapper .product-flex-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    border: 1px solid #e0e3f1;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.product-flex-wrapper .product-flex-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.product-flex-wrapper .product-flex-item.highlight {
    border: 2px solid var(--theme-primary);
}
.product-flex-wrapper .product-flex-item .product-features { flex-grow: 1; }
.product-flex-wrapper .product-flex-item .product-order-button { padding: 0 30px 30px; margin-top: auto; }
.head h3 p.availability {
    font-size: 12px;
    font-weight: 500;
    color: var(--theme-text-muted);
    background-color: #e9ecef;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 8px;
}
.cm-listing ul { display: flex; flex-wrap: wrap; justify-content: flex-start; list-style: none; padding-left: 0 !important; margin-bottom: 15px; }
.cm-listing ul li { flex: 1 0 45%; min-width: 200px; box-sizing: border-box; padding: 5px 0 5px 34px !important; margin: 0 5px; text-align: left; }
.cm-listing p { width: 100%; text-align: left; padding-left: 10px; margin-top: 10px; border-top: 1px solid #e0e3f1; padding-top: 10px; }

/* --- Style for the Pre-Order Info Alert Box --- */
.preorder-info-alert {
    background-color: var(--theme-bg-card);3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 25px;
}
.preorder-info-alert h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #533f03;
    margin-top: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.preorder-info-alert ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.preorder-info-alert li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
    line-height: 1.6;
}
.preorder-info-alert li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #856404;
}

/* --- Migrated from cart1.phtml --- */
.free-package-section { border-top: 1px solid #e9ecef; padding-top: 2.5rem; margin-top: 2rem; }
.free-package-intro { text-align: center; margin-bottom: 1.5rem; }
.free-package-intro h4 { font-size: 1.25rem; font-weight: 400; color: var(--theme-text-muted); }
.free-package-content, .info-box { border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: all 0.3s ease; display: flex; flex-direction: column; height: 100%; }
.free-package-content:hover, .info-box:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.free-package-content { background: var(--theme-bg-card); border: 1px solid #e0e3f1; padding: 25px 30px; position: relative; overflow: hidden; }
.info-box { background-color: var(--theme-primary); color: white; padding: 25px 30px; }
.info-box h4 { font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 10px; margin-bottom: 20px; color: white; text-align: center; }
.info-list { list-style: none; padding-left: 0; margin-top: 5px; }
.info-list li { padding-left: 30px; position: relative; margin-bottom: 15px; font-size: 14px; line-height: 1.5; }
.info-list li::before { position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background-color: white; color: var(--theme-primary); text-align: center; line-height: 22px; font-size: 14px; }
.info-list li.leaf::before { content: '🌿'; } .info-list li.performance::before { content: '⚡️'; } .info-list li.security::before { content: '🛡️'; }
.info-list li.ssl::before { content: '🔒'; } .info-list li.privacy::before { content: '✅'; } .info-list li.scaling::before { content: '🚀'; }
.info-list li.location::before { content: '🌍'; } .info-list li.apps::before { content: '📦'; } .info-list li.clean::before { content: '✨'; }
.info-list li.management::before { content: '⚙️'; } .info-list li.community::before { content: '👥'; }
.free-badge { position: absolute; top: 15px; right: -30px; transform: rotate(45deg); background-color: #28a745; color: white; padding: 5px 0; width: 120px; text-align: center; font-weight: bold; font-size: 14px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.free-package-content .prod-icon { text-align: center; margin-bottom: 15px; }
.free-package-content .prod-icon img { max-width: 60px; }
.free-package-content .head, .free-package-content .product-features, .free-package-content .product-order-button { width: 100%; text-align: center; }
.free-package-content .product-features { flex-grow: 1; }
.free-package-content .head .title h4 { font-size: 1.5rem; font-weight: 500; }
.free-package-content .head h3 { margin-top: 5px; }
.free-package-notice { display: flex; align-items: flex-start; margin-top: 15px; padding: 12px 15px; border: 1px solid var(--theme-border-color); background-color: #f8f9fa; border-radius: 4px; width: 100%; }
.notice-icon { flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; background-color: var(--theme-text-muted); color: white; font-family: serif; font-weight: bold; font-style: italic; font-size: 12px; line-height: 16px; text-align: center; margin-right: 10px; }
.notice-text { font-size: 12px; color: var(--theme-text-muted); line-height: 1.5; }
.free-package-content .product-order-button { padding-top: 15px; margin-top: auto; }
.free-package-content .cm-listing ul { justify-content: center; }
.product-flex-wrapper .product-flex-item { width: 100%; display: flex; flex-direction: column; margin: 0; border: 1px solid #e0e3f1; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.product-flex-wrapper .product-flex-item:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.product-flex-wrapper .product-flex-item.highlight { border: 2px solid var(--theme-primary); }
.product-flex-wrapper .product-flex-item .product-features { flex-grow: 1; }
.product-flex-wrapper .product-flex-item .product-order-button { padding: 0 30px 30px; margin-top: auto; }
.head h3 p.availability { font-size: 12px; font-weight: 500; color: var(--theme-text-muted); background-color: #e9ecef; padding: 3px 8px; border-radius: 4px; display: inline-block; margin-top: 8px; }
.cm-listing ul { display: flex; flex-wrap: wrap; justify-content: flex-start; list-style: none; padding-left: 0 !important; margin-bottom: 15px; }
.cm-listing ul li { flex: 1 0 45%; min-width: 200px; box-sizing: border-box; padding: 5px 0 5px 34px !important; margin: 0 5px; text-align: left; }
.cm-listing p { width: 100%; text-align: left; padding-left: 10px; margin-top: 10px; border-top: 1px solid #e0e3f1; padding-top: 10px; }

.exotic-location-info {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6); /* Deep blue gradient */
    color: #ffffff;
    border-radius: 8px;
    padding: 30px 35px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}
.exotic-location-info::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800"><path fill="rgba(255,255,255,0.1)" d="M400 0L420 180L600 200L420 220L400 400L380 220L200 200L380 180z M100 100L110 140L150 150L110 160L100 200L90 160L50 150L90 140z M700 500L710 540L750 550L710 560L700 600L690 560L650 550L690 540z"/></svg>');
    opacity: 0.3;
}
.exotic-location-info h4 {
    font-size: 1.5rem; font-weight: 700; color: #ffffff; margin-top: 0;
    margin-bottom: 25px; display: flex; align-items: center; gap: 15px;
    position: relative; z-index: 1;
}
.exotic-location-info ul { list-style: none; padding-left: 0; margin-top: 25px; margin-bottom: 0; position: relative; z-index: 1; }
.exotic-location-info li { padding-left: 30px; position: relative; margin-bottom: 12px; line-height: 1.6; }
.exotic-location-info li::before { position: absolute; left: 0; top: 0; }

.li-routing::before { content: '🎲'; }
.li-discovery::before { content: '🗺️'; }
.li-flexibility::before { content: '🔄'; }
.li-guarantee::before { content: '🛡️'; }

.lore-box {
    background-color: rgba(255, 255, 255, 0.05); /* Glassmorphism effect */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 20px;
    position: relative; z-index: 1;
}
.lore-box h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #a5d8ff; /* Light blue accent */
    margin: 0 0 10px 0;
}
.lore-box p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #dbeafe; /* Lighter text color */
}

.location-showcase-section {
    padding: 30px 0;
    margin-top: 25px;
    border-top: 1px solid #e9ecef;
}
.location-category-col {
    padding: 20px;
}
.location-category-col h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.location-category-col h5 i {
    color: var(--theme-primary);
}
.location-list {
    list-style: none;
    padding-left: 0;
}
.location-item {
    margin-bottom: 18px;
}
.location-item-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #495057;
    margin-bottom: 5px;
}
.location-item-name i {
    font-size: 0.8rem;
    color: #adb5bd;
}
.location-anecdote {
    font-size: 0.85rem;
    color: var(--theme-text-muted);
    line-height: 1.6;
    padding-left: 20px; /* Indent the text */
    border-left: 2px solid #e9ecef;
    margin-left: 5px;
    font-style: italic;
}

/* === END: CSS FOR EXOTIC LOCATION BOX === */

/* --- Migrated from cart0.phtml --- */
/* --- START: Modern Styles for Product Group Page & Filter --- */
/* The main container for the entire filter section */
.product-filter-container {
    margin-bottom: 30px;
}

/* The tab navigation bar */
.product-category-tabs {
    display: flex;
    margin-bottom: -1px; /* Pulls the tabs down to overlap the card border */
}
.product-category-tabs a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    font-weight: 600;
    color: #495057;
    text-decoration: none;
    border: 1px solid var(--theme-border-color);
    border-bottom: none;
    background-color: #f8f9fa;
    border-radius: 8px 8px 0 0;
    margin-right: 5px;
    position: relative;
    z-index: 1;
    transition: all 0.2s ease-in-out;
}
.product-category-tabs a:hover {
    background-color: var(--theme-bg-card);
    color: var(--theme-primary);
}
.product-category-tabs a.active {
    background-color: var(--theme-bg-card);
    border-color: #dee2e6;
    color: var(--theme-primary);
    z-index: 3;
    /* The "cutout" effect */
    box-shadow: 0 5px 0 0 #fff; /* White line that covers the card's top border */
}
.product-category-tabs a i {
    color: #adb5bd;
    transition: color 0.2s ease;
}
.product-category-tabs a:hover i,
.product-category-tabs a.active i {
    color: var(--theme-primary);
}

/* The main filter content card */
.product-filter-bar {
    background-color: var(--theme-bg-card);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 25px 25px 15px 25px; /* MODIFIED: Less bottom padding */
    border: 1px solid var(--theme-border-color);
    position: relative;
    z-index: 2;
}
.product-filter-bar .row {
    align-items: flex-end;
}
.product-filter-bar label {
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.product-filter-bar .form-control {
    border-radius: 6px;
}


@media (max-width: 767px) {
    .product-category-tabs {
        flex-direction: column; 
        gap: 10px;
        margin-bottom: 20px;
    }
    .product-category-tabs a {
        justify-content: center;
        border-radius: 8px; 
        margin-right: 0;
        box-shadow: none !important;

        position: static;
        z-index: auto;
    }
    .product-category-tabs a.active {
        background-color: var(--theme-primary);
        color: #fff;
        border-color: var(--theme-primary);
    }
    .product-category-tabs a.active i {
        color: #fff;
    }

    .product-filter-bar {
        border-radius: 8px;
        border: 1px solid var(--theme-border-color); 
        box-shadow: 0 5px 25px rgba(0,0,0,0.08);

        z-index: auto;
    }
    
    .product-filter-bar .text-right {
        text-align: center !important;
        margin-top: 15px;
    }
}

.tab-info-icon {
    font-size: 0.8rem;
    color: #adb5bd;
    margin-left: 5px;
    position: relative;
    cursor: help;
}

.tab-info-icon .tooltip-text {
    visibility: hidden;
    width: 280px;
    background-color: #343a40;
    color: #fff;
    text-align: left;
    font-weight: normal;
    font-size: 0.8rem;
    line-height: 1.5;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 10;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.tab-info-icon:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.tab-info-icon .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #343a40 transparent transparent transparent;
}

.cart0 .container {
    padding-top: 20px;
    padding-bottom: 20px;
}
.sec-head {
    text-align: center;
    margin-bottom: 30px;
}
.sec-head h2 {
    font-size: 1.8rem;
    margin: 0;
}

.product-groups-block .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}
.product-group-box-container {
    padding: 15px;
    transition: opacity 0.3s ease, transform 0.3s ease, width 0.3s ease, padding 0.3s ease, margin 0.3s ease;
    width: 33.333%; /* Default width for desktop */
    display: flex; /* Makes the container part of the flex layout */
}
.product-group-box {
    width: 100%;
    cursor: pointer;
    border: 1px solid #e0e3f1;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.2s ease;
    /* FIX: Make the card a vertical flex container */
    display: flex;
    flex-direction: column;
}
.product-group-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--theme-primary);
}
.product-group-box h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}
.product-group-box h4 a {
    text-decoration: none;
    color: inherit;
}
.product-group-box h4 a:hover {
    color: var(--theme-primary);
}
.product-group-box .cm-height {
    flex-grow: 1; /* Pushes the content below it down */
}

/* Class for hidden elements */
.product-group-box-container.is-hidden {
    opacity: 0;
    transform: scale(0.95);
    width: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    pointer-events: none;
}

        /* Accordion Styling */
        .accordion-container {
            background-color: var(--theme-bg-card);
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            margin-bottom: 20px;
            overflow: hidden; /* Important for the animation */
        }

        .accordion-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 18px 24px;
            cursor: pointer;
            user-select: none;
        }
        
        .accordion-header:hover {
            background-color: #f9f9f9;
        }

        .accordion-title {
            font-size: 16px;
            font-weight: 600;
            color: #333;
        }

        .accordion-icon {
            width: 24px;
            height: 24px;
            transition: transform 0.3s ease-in-out;
        }
        
        /* Rotate icon when active */
        .accordion-header.active .accordion-icon {
            transform: rotate(180deg);
        }

        .accordion-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease-in-out;
            padding: 0; /* No padding on the container itself */
            border-top: 1px solid #e9ecef;
        }

        /* Set height when active to reveal content */
        .accordion-content.active {
            max-height: 750px; /* Should be larger than the map's height */
        }
        
        #map { 
            height: 700px;
            width: 100%;
            /* The border is now on the accordion, not the map */
        }

        #location-notice {
            position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
            background-color: rgba(0, 0, 0, 0.75); color: white; padding: 10px 15px;
            border-radius: 5px; z-index: 1000; font-size: 14px; display: none;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }
        #close-notice { margin-left: 15px; font-weight: bold; cursor: pointer; }

        /* Styling for Custom Geolocation Button */
        .leaflet-control-geolocate a {
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23333"><path d="M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm8.94 3c-.46-4.17-3.77-7.48-7.94-7.94V1h-2v2.06C6.83 3.52 3.52 6.83 3.06 11H1v2h2.06c.46 4.17 3.77 7.48 7.94 7.94V23h2v-2.06c4.17-.46 7.48-3.77 7.94-7.94H23v-2h-2.06zM12 19c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"/></svg>');
            background-size: 18px 18px;
            background-repeat: no-repeat;
            background-position: center;
        }

        /* Popup and Tooltip Styles */
        .leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--theme-bg-card); color: #333; }
        .leaflet-popup-content { margin: 15px; font-size: 14px; line-height: 1.6; min-width: 220px; }
        .leaflet-popup-content h4 { margin: 0 0 10px 0; font-size: 16px; color: var(--theme-primary); }
        .leaflet-popup-content p { margin: 5px 0; }
        .leaflet-popup-content .select-button { display: block; width: 100%; margin-top: 15px; padding: 10px; background-color: var(--theme-primary); color: white; text-align: center; text-decoration: none; border-radius: 5px; font-weight: bold; cursor: pointer; transition: background-color 0.2s; }
        .leaflet-popup-content .select-button:hover { background-color: var(--theme-text-main); }
        .custom-server-tooltip { background-color: var(--theme-bg-card); color: #333; border: 1px solid #ccc; border-radius: 4px; box-shadow: 0 1px 5px rgba(0,0,0,0.2); font-weight: bold; padding: 6px 10px; }

/* Responsive adjustments */
@media (max-width: 991px) {
    .product-group-box-container {
        width: 50%;
    }
}
@media (max-width: 767px) {
    .product-group-box-container {
        width: 100%;
    }
}

    .accordion-content.active {
        max-height: 1800px;
        overflow-x: auto; /* This remains essential for the table on small screens */
        -webkit-overflow-scrolling: touch;
    }
    .table-wrapper-for-tooltips {
        padding: 25px 15px;
    }

    /* Tooltip styles */
    .tooltip-icon {
        position: relative; /* This is the anchor for the tooltip */
        display: inline-block;
        font-size: 0.8rem;
        color: #adb5bd;
        margin-left: 4px;
        cursor: help;
    }
    .tooltip-icon .tooltip-text-table {
        /* This is the key change: positioning to the right */
        top: 50%;
        left: 175%; /* Pushes it to the right of the icon with a small gap */
        transform: translateY(-50%); /* Vertically centers it relative to the icon */

        white-space: normal;
        word-wrap: break-word;
        visibility: hidden;
        width: 260px;
        background-color: #343a40;
        color: #fff;
        text-align: left;
        font-weight: normal;
        font-size: 0.8rem;
        line-height: 1.5;
        border-radius: 6px;
        padding: 10px;
        position: absolute;
        z-index: 101;
        opacity: 0;
        transition: opacity 0.3s;
        pointer-events: none;
    }
    .tooltip-icon:hover .tooltip-text-table {
        visibility: visible;
        opacity: 1;
    }
    /* The arrow now needs to point left */
    .tooltip-icon .tooltip-text-table::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 100%; /* Position it on the left edge of the tooltip */
        margin-top: -5px; /* Vertically center the arrow */
        border-width: 5px;
        border-style: solid;
        border-color: transparent #343a40 transparent transparent;
    }

    /* Table Styles */
    .resource-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.9rem;
        min-width: 850px;
    }
    .resource-table th, .resource-table td {
        padding: 14px 12px;
        text-align: left;
        border-bottom: 1px solid #e9ecef;
    }
    .resource-table thead th {
        background-color: #f8f9fa;
        font-weight: 600;
        color: #495057;
        font-size: 0.95rem;
        vertical-align: middle;
    }
    .resource-table tbody th {
        font-weight: 500;
        color: #343a40;
        text-align: left;
        white-space: nowrap;
    }
    .resource-table tr:last-child td, .resource-table tr:last-child th {
        border-bottom: none;
    }
    .resource-table tbody tr:hover {
        background-color: #f9f9f9;
    }
    .resource-table .panel-header {
        text-align: center;
    }
    .resource-table .panel-data {
        text-align: center;
        vertical-align: middle;
    }
    .resource-table .feature-group-header td {
        font-weight: 700;
        background-color: #f0f6fa;
        color: var(--theme-primary);
        padding-top: 20px;
        font-size: 1rem;
    }
    .resource-table .footnote-ref {
        font-size: 0.75em;
        vertical-align: super;
    }
    .table-footer-notes {
        text-align: center;
        color: var(--theme-text-muted);
        font-size: 0.85rem;
        margin-top: 15px;
        margin-bottom: 5px;
        padding: 0 15px;
    }
    .table-disclaimer {
        font-size: 0.75rem;
        font-style: italic;
        margin-bottom: 5px;
    }
    .svg-icon {
        width: 20px;
        height: 20px;
        vertical-align: middle;
    }
    .icon-yes { fill: #28a745; }

    /* === INFO BOX STYLES === */
    .info-box-storage {
        background: linear-gradient(135deg, #e8f4fd 0%, #f0f9ff 100%);
        border: 1px solid #b3d9f5;
        border-left: 5px solid var(--theme-primary);
        border-radius: 10px;
        padding: 22px 28px;
        margin: 0 0 30px 0;
        position: relative;
        overflow: hidden;
    }
    .info-box-storage::before {
        content: '';
        position: absolute;
        top: -30px;
        right: -30px;
        width: 100px;
        height: 100px;
        background: rgba(0, 141, 210, 0.06);
        border-radius: 50%;
    }
    .info-box-storage .info-box-icon {
        font-size: 1.5rem;
        color: var(--theme-primary);
        margin-right: 12px;
        flex-shrink: 0;
        margin-top: 2px;
    }
    .info-box-storage .info-box-header {
        display: flex;
        align-items: flex-start;
        gap: 4px;
        margin-bottom: 10px;
    }
    .info-box-storage .info-box-title {
        font-weight: 700;
        font-size: 1rem;
        color: #1a6fa3;
        margin-bottom: 4px;
    }
    .info-box-storage .info-box-body {
        color: #3a6a8a;
        font-size: 0.9rem;
        line-height: 1.65;
    }
    .info-box-storage .info-box-body p {
        margin: 0 0 8px 0;
    }
    .info-box-storage .info-box-body p:last-child {
        margin-bottom: 0;
    }
    .info-box-highlight {
        background: rgba(0,141,210,0.08);
        border-radius: 6px;
        padding: 8px 14px;
        margin-top: 10px;
        font-size: 0.85rem;
        color: #2a5a7a;
        border-left: 3px solid var(--theme-primary);
    }

    /* === PRIORITY DOTS STYLES === */
    .priority-dots {
        display: inline-flex;
        gap: 4px;
        align-items: center;
        justify-content: center;
    }
    .priority-dots .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: 2px solid #ccc;
        background: transparent;
        display: inline-block;
        transition: background 0.2s, border-color 0.2s;
    }
    .priority-dots .dot.filled {
        border-color: var(--theme-primary);
        background: var(--theme-primary);
    }
    .priority-dots-label {
        font-size: 0.72rem;
        color: var(--theme-text-muted);
        display: block;
        margin-top: 3px;
    }

    /* === STICKY FLOATING BACK-TO-TOP BUTTON (CENTERED) === */
    .btn-scroll-top {
        position: fixed;
        bottom: 25px;
        left: 50%;
        transform: translate(-50%, 15px);
        z-index: 9999;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 22px;
        border-radius: 25px;
        background: rgba(255, 255, 255, 0.88);
        color: var(--theme-primary);
        font-size: 0.85rem;
        font-weight: 600;
        border: 1px solid rgba(0, 141, 210, 0.3);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
        backdrop-filter: blur(8px);
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        text-decoration: none;
    }
    .btn-scroll-top.visible {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }
    .btn-scroll-top:hover {
        background: var(--theme-primary);
        color: #fff;
        border-color: var(--theme-primary);
        box-shadow: 0 6px 20px rgba(0, 141, 210, 0.35);
        transform: translate(-50%, -3px);
        text-decoration: none;
    }
    .btn-scroll-top i {
        font-size: 0.85rem;
    }

    /* === TIER SELECTOR STYLES === */
    .tier-selector-wrapper {
        margin: 0 0 28px 0;
        background: var(--theme-bg-card);
        border: 1px solid var(--theme-border-color);
        border-radius: 12px;
        padding: 20px 24px 22px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    }
    .tier-selector-label {
        font-size: 0.85rem;
        font-weight: 600;
        color: #495057;
        margin-bottom: 12px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
    .tier-selector {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .tier-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 16px;
        border: 2px solid var(--theme-border-color);
        border-radius: 9px;
        background: #f8f9fa;
        cursor: pointer;
        transition: all 0.2s ease;
        min-width: 90px;
        position: relative;
    }
    .tier-btn:hover {
        border-color: var(--theme-primary);
        background: #f0f9ff;
    }
    .tier-btn.active {
        border-color: var(--theme-primary);
        background: linear-gradient(135deg, var(--theme-primary) 0%, #006aaa 100%);
        color: #fff;
        box-shadow: 0 4px 12px rgba(0,141,210,0.35);
    }
    .tier-btn .tier-name {
        font-weight: 700;
        font-size: 0.9rem;
        line-height: 1.2;
    }
    .tier-btn .tier-storage {
        font-size: 0.75rem;
        margin-top: 3px;
        color: var(--theme-text-muted);
    }
    .tier-btn.active .tier-storage {
        color: rgba(255,255,255,0.8);
    }
    .tier-btn .tier-badge {
        position: absolute;
        top: -8px;
        right: -8px;
        background: #28a745;
        color: #fff;
        font-size: 0.6rem;
        font-weight: 700;
        padding: 2px 6px;
        border-radius: 20px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }
    .tier-btn .tier-price {
        font-size: 0.72rem;
        margin-top: 4px;
        color: var(--theme-text-muted);
        font-weight: 500;
    }
    .tier-btn.active .tier-price {
        color: rgba(255,255,255,0.85);
    }
    .tier-resource-value {
        transition: opacity 0.2s ease;
    }
    .tier-resource-value.updating {
        opacity: 0.3;
    }
    @media (max-width: 576px) {
        .tier-btn { min-width: 70px; padding: 8px 10px; }
    }
    .tier-divider {
        display: flex;
        align-items: center;
        align-self: stretch;
        gap: 8px;
        padding: 0 4px;
        color: #adb5bd;
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        white-space: nowrap;
    }
    .tier-divider::before,
    .tier-divider::after {
        content: '';
        display: block;
        width: 1px;
        height: 100%;
        min-height: 36px;
        background: #dee2e6;
    }
/* --- END: Modern Styles --- */

/* --- Migrated from cart2.phtml --- */
.input-group-append .input-group-text { background-color: #e9ecef; }
.password-toggle { cursor: pointer; }
.password-requirements { list-style: none; padding: 0; margin: 10px 0 0 0; font-size: 0.8rem; }
.password-requirements li { color: #dc3545; transition: color 0.3s ease; margin-bottom: 4px; }
.password-requirements li i { margin-right: 8px; }
.password-requirements li.valid { color: #28a745; }
.password-strength-bar-container { background-color: #e9ecef; border-radius: 4px; height: 8px; margin-top: 15px; overflow: hidden; }
.password-strength-bar { height: 100%; width: 0; transition: width 0.3s ease, background-color 0.3s ease; }
.password-strength-bar.weak { background-color: #dc3545; }
.password-strength-bar.medium { background-color: #fd7e14; }
.password-strength-bar.strong { background-color: #ffc107; }
.password-strength-bar.very-strong { background-color: #28a745; }
.btn-copy-password { margin-left: 10px; }
.setupfee .setupfeeprice { font-weight: 600; font-size: 10px; }
.setupfee { font-size: 12px; font-weight: 900; padding: 5px 0 0 20px; }
.saveWrapper { float: right; font-size: 12px; font-weight: 900; color: red; }
.input-group [class^='select2'], .subdomain [class^='select2'] { border-top-left-radius: 0px; border-bottom-left-radius: 0px; }
.select2-container--disabled .select2-selection__arrow { display: none; }


/* ==========================================================================
   GLOBAL DARK MODE OVERRIDES (MAIN.CSS)
   ========================================================================== */

[data-theme="dark"],
html[data-theme="dark"] body,
html[data-theme="dark"] .page-wrapper,
html[data-theme="dark"] .content-area,
html[data-theme="dark"] .dashboard-wraper,
html[data-theme="dark"] .client-area-page,
html[data-theme="dark"] .knowledge-base-article-page {
    background: var(--theme-bg-main) !important;
    background-color: var(--theme-bg-main) !important;
    color: var(--theme-text-main) !important;
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .item-wrapper,
html[data-theme="dark"] .footer,
html[data-theme="dark"] .header,
html[data-theme="dark"] .data-table-wrapper table tr td,
html[data-theme="dark"] .box,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .client-area-top-box,
html[data-theme="dark"] .client-area-tabs-block,
html[data-theme="dark"] .knowledge-base-content-block,
html[data-theme="dark"] .affiliate-bardiagram,
html[data-theme="dark"] .mobile-menu {
    background: var(--theme-bg-card) !important;
    background-color: var(--theme-bg-card) !important;
    color: var(--theme-text-main) !important;
    border-color: var(--theme-border-color) !important;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] p,
[data-theme="dark"] span,
[data-theme="dark"] div,
[data-theme="dark"] a {
    color: inherit;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] .text-dark,
[data-theme="dark"] .text-muted {
    color: var(--theme-text-main) !important;
}

[data-theme="dark"] .text-muted {
    color: var(--theme-text-muted) !important;
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
    background-color: var(--theme-bg-main) !important;
    color: var(--theme-text-main) !important;
    border-color: var(--theme-border-color) !important;
}

[data-theme="dark"] .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] .table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}


/* === ADDITIONAL GLOBAL DARK MODE OVERRIDES === */

html[data-theme="dark"] .form-option label::after,
html[data-theme="dark"] .cm-holder.invoices .data-table-wrapper table tr td,
html[data-theme="dark"] .client-area-page .client-area-bottom-block .resp-tabs-container .resp-tab-content .client-area-tabs-block,
html[data-theme="dark"] .knowledge-base-search,
html[data-theme="dark"] .knowledge-base-article-page .knowledge-base-content-block,
html[data-theme="dark"] .action-btns,
html[data-theme="dark"] .inline-heading h4,
html[data-theme="dark"] .data-table-wrapper table tr td .action.active,
html[data-theme="dark"] .data-table-wrapper table tr td .cog-drop-down,
html[data-theme="dark"] .action-btns:hover,
html[data-theme="dark"] .client-area-page .client-area-top-block .client-area-top-box:hover,
html[data-theme="dark"] .data-table-wrapper .cs-padding,
html[data-theme="dark"] .knowledge-base-search .knowledge-search-input,
html[data-theme="dark"] .affiliate-system-page .affiliate-bardiagram {
    background: var(--theme-bg-card) !important;
    background-color: var(--theme-bg-card) !important;
    color: var(--theme-text-main) !important;
    border-color: var(--theme-border-color) !important;
}

/* === SPECIFIC COMPONENT FIXES FOR DARK MODE === */

html[data-theme="dark"] .detail-card,
html[data-theme="dark"] .status-card {
    background-color: var(--theme-bg-card) !important;
    border-color: var(--theme-border-color) !important;
}

html[data-theme="dark"] .app-name,
html[data-theme="dark"] .status-card-header,
html[data-theme="dark"] .tab-separator-title,
html[data-theme="dark"] .resource-label {
    color: var(--theme-text-main) !important;
}

html[data-theme="dark"] .status-indicator.up,
html[data-theme="dark"] .alert-success { 
    background-color: rgba(40, 167, 69, 0.2); 
    color: #28a745; 
}

html[data-theme="dark"] .status-indicator.down,
html[data-theme="dark"] .alert-danger { 
    background-color: rgba(220, 53, 69, 0.2); 
    color: #dc3545; 
}

html[data-theme="dark"] .status-indicator.paused { 
    background-color: rgba(255, 255, 255, 0.1); 
    color: #e0e0e0; 
}

html[data-theme="dark"] .alert-warning { 
    background-color: rgba(255, 193, 7, 0.2); 
    color: #ffc107; 
}

html[data-theme="dark"] .alert-info { 
    background-color: rgba(23, 162, 184, 0.2); 
    color: #17a2b8; 
}

html[data-theme="dark"] .rb-animated-text,
html[data-theme="dark"] .rb-text-logo {
    color: var(--text-color) !important;
}

/* Tier selector alignment */
.tier-selector {
    justify-content: center;
}

/* Force readable info box in light and dark mode */
.info-box {
    background-color: var(--theme-primary) !important;
    color: #fff !important;
}
.info-box h4, .info-box .info-list li {
    color: #fff !important;
}

/* Tier Selector Dark Mode */
html[data-theme="dark"] .tier-selector-wrapper {
    background: var(--theme-bg-card);
    border-color: var(--theme-border-color);
}
html[data-theme="dark"] .tier-selector-label {
    color: var(--theme-text-main);
}
html[data-theme="dark"] .tier-btn {
    background: var(--theme-bg-card);
    border-color: var(--theme-border-color);
    color: var(--theme-text-main);
}
html[data-theme="dark"] .tier-btn .tier-name,
html[data-theme="dark"] .tier-btn .tier-price {
    color: var(--theme-text-main);
}
html[data-theme="dark"] .tier-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--theme-primary);
}
html[data-theme="dark"] .tier-btn.active {
    background: linear-gradient(135deg, var(--theme-primary) 0%, #00568c 100%);
    color: #fff;
    border-color: var(--theme-primary);
}
html[data-theme="dark"] .tier-btn.active .tier-name,
html[data-theme="dark"] .tier-btn.active .tier-price {
    color: #fff;
}

/* Location Boxes Dark Mode */
html[data-theme="dark"] .product-group-box {
    background: var(--theme-bg-card) !important;
    border-color: var(--theme-border-color) !important;
}
html[data-theme="dark"] .product-group-box:hover {
    border-color: var(--theme-primary) !important;
}
html[data-theme="dark"] .product-group-box h4 a {
    color: var(--theme-text-main) !important;
}

/* === SIGNUP PAGES DARK MODE OVERRIDES === */

html[data-theme="dark"] .accordion-title,
html[data-theme="dark"] .location-item-name,
html[data-theme="dark"] .location-category-col h5 {
    color: var(--theme-text-main) !important;
}

html[data-theme="dark"] .accordion-header:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

html[data-theme="dark"] .product-flex-item {
    background-color: var(--theme-bg-card) !important;
    border-color: var(--theme-border-color) !important;
}
html[data-theme="dark"] .product-flex-item:hover {
    border-color: var(--theme-primary) !important;
}

html[data-theme="dark"] .free-package-content {
    background-color: var(--theme-bg-card) !important;
    border-color: var(--theme-border-color) !important;
}

html[data-theme="dark"] .free-package-notice {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--theme-border-color) !important;
}
html[data-theme="dark"] .free-package-notice .notice-text {
    color: var(--theme-text-main) !important;
}

html[data-theme="dark"] .info-box-storage {
    background-color: rgba(0, 141, 210, 0.1) !important;
    border-color: var(--theme-border-color) !important;
}
html[data-theme="dark"] .info-box-storage .info-box-title,
html[data-theme="dark"] .info-box-storage .info-box-body p,
html[data-theme="dark"] .info-box-storage .info-box-highlight {
    color: var(--theme-text-main) !important;
}

/* === NAVBAR AND LOGO DARK MODE OVERRIDES === */

/* Logo Swapping for Light Mode */
html:not([data-theme="dark"]) .logo img,
html:not([data-theme="dark"]) img.logo,
html:not([data-theme="dark"]) .agxl-loader-logo {
    content: url("../images/agxl-cloud-logo-dark.svg") !important;
}

/* Logo Swapping for Dark Mode */
html[data-theme="dark"] .logo img,
html[data-theme="dark"] img.logo,
html[data-theme="dark"] .agxl-loader-logo {
    content: url("../images/agxl-cloud-logo-white.svg") !important;
}

/* Navbar Link Readability */
html[data-theme="dark"] .navbar .navbar-nav a {
    color: var(--theme-text-main) !important;
}
html[data-theme="dark"] .navbar .navbar-nav a:hover {
    color: var(--theme-primary) !important;
}
html[data-theme="dark"] .navbar {
    color: var(--theme-text-main) !important;
}

/* Mobile Hamburger Menu */
html[data-theme="dark"] .navbar-light .navbar-toggler-icon {
    filter: invert(1);
}

/* Dropdown Menu styling in Dark Mode */
html[data-theme="dark"] .dropdown-menu {
    background-color: var(--theme-bg-card) !important;
    border-color: var(--theme-border-color) !important;
}
html[data-theme="dark"] .dropdown-menu > li > a {
    color: var(--theme-text-main) !important;
}
html[data-theme="dark"] .dropdown-menu > li > a:hover {
    background-color: rgba(255,255,255,0.05) !important;
    color: var(--theme-primary) !important;
}
html[data-theme="dark"] .dropdown-section-title {
    color: var(--theme-text-main) !important;
}
:root { --text-muted: var(--theme-text-muted); --primary-color: var(--theme-primary); }
