/* Article Page Styles - Dark Theme */

.guide-content {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
    color: #ced4da;
    background-color: #161a1f;
    min-height: 100vh;
    font-size: 1rem;
    font-weight: 330;
}

.guide-content .container {
    background-color: transparent;
}

/* Wider container for 3-column layouts */
.guide-content .container-wide {
    max-width: 1400px;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Override section margins for article pages */
.guide-content section {
    margin-left: 0;
    margin-right: 0;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-item a {
    color: #ff6b6b;
}

.breadcrumb-item.active {
    color: #888;
}

/* Article Title and Meta */
.guide-title {
    font-size: 2.5rem;
    font-weight: 350;
    margin-bottom: 1rem;
    color: #f7fff7;
}

.guide-meta {
    font-size: 0.9rem;
    color: #888;
}

/* Summary Box */
.summary-box {
    background-color: #1e252f;
    border: 1px solid #404245;
    border-radius: 8px;
    color: #ced4da;
    font-size: 1rem;
}

.summary-box h2 {
    color: #ff6b6b;
    font-size: 1.25rem;
    font-weight: 350;
}

.summary-box h5 {
    color: #44a4cd;
    font-size: 1.1rem;
    font-weight: 350;
}

.summary-box p {
    margin-bottom: 0;
    color: #ced4da;
}

.summary-box pre {
    background-color: #2a3138;
    border: 1px solid #404245;
    color: #e9ecef;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 0;
}

.summary-box code {
    color: #e9ecef;
    background-color: transparent;
}

/* General Code Blocks */
.guide-content pre {
    background-color: #2a3138;
    border: 1px solid #404245;
    color: #e9ecef;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    font-size: 0.9rem;
}

.guide-content code {
    color: #e9ecef;
    background-color: #2a3138;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9rem;
}

.guide-content pre code {
    background-color: transparent;
    padding: 0;
    color: #e9ecef;
}

/* Case Study Box */
.case-study-box {
    background-color: #1e252f;
    border: 1px solid #404245;
    border-left: 4px solid #44a4cd;
    border-radius: 8px;
    color: #ced4da;
    font-size: 1rem;
}

.case-study-box h5 {
    color: #44a4cd;
    font-size: 1.1rem;
    font-weight: 350;
}

.case-study-box p {
    margin-bottom: 0;
    color: #ced4da;
}

/* Main content paragraphs */
.intro-section p, .guide-body p {
    color: #ced4da;
    font-size: 1rem;
    font-weight: 330;
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

/* Guide Sections */
.guide-section {
    padding-top: 2rem;
    margin-top: -2rem;
}

.guide-section h2 {
    font-size: 2rem;
    font-weight: 350;
    margin-bottom: 1.5rem;
    color: #f7fff7;
}

.guide-section p {
    margin-bottom: 1.25rem;
    color: #ced4da;
    font-size: 1rem;
    font-weight: 330;
}

.guide-section a {
    color: #44a4cd;
}

.guide-section a:hover {
    color: #44a8cf;
}

/* Tables */
.guide-content .table {
    color: #ced4da;
    font-size: 0.95rem;
}

.guide-content .table-bordered {
    border-color: #404245;
}

.guide-content .table-bordered td,
.guide-content .table-bordered th {
    border-color: #404245;
    padding: 0.75rem;
    white-space: normal;
    word-break: break-word;
}

.guide-content .table tbody tr:hover {
    background-color: rgba(255, 107, 107, 0.05);
}

.guide-content .thead-light th {
    background-color: #1e252f;
    color: #f7fff7;
    border-color: #404245;
    font-weight: 350;
}

/* Sidebar and TOC */
.toc-sidebar, .toc-mobile {
    background: #1e252f;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #404245;
    top: 1rem;
}

.toc-sidebar h3, .toc-mobile h3,
.toc-sidebar .toc-title, .toc-mobile .toc-title {
    color: #ff6b6b;
}

.toc-list {
    list-style: none;
    padding-left: 0;
}

.toc-list li {
    margin-bottom: 0.5rem;
}

.toc-link {
    color: #ced4da;
    text-decoration: none;
    font-size: 0.9rem !important;
}

.toc-link:hover {
    color: #ff6b6b;
    text-decoration: none;
}

.toc-link.active {
    color: #ff6b6b;
    font-weight: 500;
}

/* CTA sections */
.guide-cta {
    background-color: #1e252f;
    border: 1px solid #404245;
    border-left: 4px solid #ff6b6b;
    text-align: center;
    padding: 2rem !important;
}

.guide-cta h3 {
    color: #ff6b6b !important;
    font-size: 1.5rem;
    font-weight: 350;
    margin-bottom: 1rem;
}

.guide-cta p {
    color: #ced4da !important;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.guide-cta .btn {
    background-color: #ff6b6b;
    color: #fff;
    border: none;
    font-weight: 350;
    padding: 0.5rem 2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.guide-cta .btn:hover {
    background-color: transparent;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
}

/* FAQ Section */
.faq-section {
    border-top: none;
    padding-top: 0;
}

.faq-box {
    background: #1e252f;
    border: 1px solid #404245;
    border-radius: 12px;
    overflow: hidden;
}

.faq-box .faq-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #404245;
    border-left: 3px solid #ff6b6b;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-box .faq-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
}

.faq-box .faq-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #f7fff7;
}

.faq-box .faq-body {
    padding: 0;
}

.faq-box .accordion {
    margin: 0;
}

.faq-box .accordion .card {
    background-color: transparent;
    border: none !important;
    border-bottom: 1px solid rgba(64, 66, 69, 0.5) !important;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: none;
}

.faq-box .accordion .card:last-child {
    border-bottom: none !important;
}

/* Reset all stray borders */
.faq-box .accordion .card *:not(.faq-number) {
    border-color: transparent;
}

.faq-box .accordion .card-header {
    background-color: transparent;
    border-bottom: none;
    border: none;
    padding: 0;
}

.faq-box .accordion .collapse,
.faq-box .accordion .collapsing {
    border: none;
}

.faq-box .accordion .btn-link {
    color: #f7fff7;
    text-decoration: none;
    font-weight: 450;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    text-align: left;
    width: 100%;
    position: relative;
}

.faq-box .accordion .btn-link .faq-number {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(64, 66, 69, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
}

.faq-box .accordion .btn-link .faq-question-text {
    flex: 1;
}

.faq-box .accordion .btn-link .faq-chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: transform 0.2s ease;
}

.faq-box .accordion .btn-link:not(.collapsed) .faq-chevron {
    transform: rotate(180deg);
    color: #ff6b6b;
}

.faq-box .accordion .btn-link:not(.collapsed) .faq-number {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
}

.faq-box .accordion .btn-link:hover {
    color: #ff6b6b;
    background-color: rgba(255, 107, 107, 0.03);
}

.faq-box .accordion .btn-link:hover .faq-number {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
}

.faq-box .accordion .card-body {
    color: #ced4da;
    background-color: rgba(22, 26, 31, 0.5);
    padding: 1rem 1.25rem 1.25rem 3.5rem;
    line-height: 1.6;
    border-top: none;
}

/* Remove Bootstrap default focus/active styles */
.faq-box .accordion .btn-link:focus,
.faq-box .accordion .btn-link:active {
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

.faq-box .accordion .card-header {
    border: none;
}

/* Legacy support for non-updated FAQ sections */
.faq-section h2 {
    margin-bottom: 2rem;
    color: #f7fff7;
}

.faq-section > .accordion > .card {
    background-color: #1e252f;
    border: 1px solid #404245;
    margin-bottom: 0.5rem;
}

/* Related articles sidebar */
.related-articles h3 {
    color: #ff6b6b;
}

.related-articles .list-group-item {
    background-color: #1e252f;
    border: 1px solid #404245;
    color: #f7fff7;
}

.related-articles .list-group-item:hover {
    background-color: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

/* CTA Widget */
.cta-widget {
    background-color: #1e252f !important;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.cta-widget h3 {
    color: #ff6b6b;
}

.cta-widget p {
    color: #ced4da;
}

/* Resources Page Specific Styles */

/* Featured Guide Section */
.featured-guide {
    background-color: #1e252f;
    border: 1px solid #404245;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.featured-guide h2 {
    font-size: 1.75rem;
    font-weight: 350;
}

.featured-guide p {
    color: #ced4da;
    font-size: 1rem;
    line-height: 1.8;
}

.featured-icon {
    width: 150px;
    height: 150px;
    background-color: rgba(255, 107, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-icon i {
    font-size: 4rem;
    color: #ff6b6b;
    opacity: 0.8;
}

/* Guide Category Cards */
.guide-category .card {
    background-color: #161a1f;
    border-color: #404245;
    height: 100%;
}

.guide-category .card-header {
    background-color: #1e252f;
    border-bottom: 2px solid #ff6b6b;
    border-color: #404245;
    padding: 1rem 1.25rem;
}

.guide-category .card-header h3 {
    color: #f7fff7;
    font-size: 1.25rem;
    font-weight: 350;
}

.guide-category .card-header i {
    color: #ff6b6b;
}

.guide-category .card-body {
    background-color: #161a1f;
    padding: 1.5rem;
}

/* Guide Items */
.guide-item {
    padding: 1rem 2.5rem 1rem 0;
    position: relative;
    transition: all 0.2s;
}

.guide-item h4 {
    font-size: 1.1rem;
    font-weight: 350;
    margin-bottom: 0.5rem;
    color: #f7fff7;
}

.guide-item p {
    color: #ced4da;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.guide-item .badge {
    font-size: 0.75rem;
    font-weight: 330;
    transition: background-color 0.2s;
}

/* Clickable guide items */
.guide-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.guide-item-link:not(:last-child) {
    border-bottom: 1px solid rgba(64, 66, 69, 0.3);
    padding-bottom: 0.2rem;
    margin-bottom: 0.2rem;
}

.guide-item-link:hover {
    text-decoration: none;
}

.guide-item-link:hover h4 {
    color: #ff6b6b;
}

.guide-item-link:hover p {
    color: #ff6b6b;
}

.guide-item-link:hover .badge {
    background-color: #ff6b6b;
}

/* Chevron icon for guide links */
.guide-item::after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #404245;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.guide-item-link:hover .guide-item::after {
    color: #ff6b6b;
    transform: translateY(-50%) translateX(5px);
}

/* Newsletter Signup */
.newsletter-signup {
    background-color: #1e252f;
    border: 1px solid #404245;
}

.newsletter-signup h3 {
    color: #f7fff7;
    font-weight: 350;
}

.newsletter-signup p {
    color: #ced4da;
}

.newsletter-signup .form-control {
    background-color: #161a1f;
    border-color: #404245;
    color: #f7fff7;
}

.newsletter-signup .form-control:focus {
    background-color: #161a1f;
    border-color: #ff6b6b;
    color: #f7fff7;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.25);
}

/* Lead text */
.guide-content .lead {
    color: #ced4da;
    font-size: 1.125rem;
    font-weight: 330;
}

/* Badge styles */
.guide-content .badge-danger {
    background-color: #ff6b6b;
}

.guide-content .badge-dark {
    background-color: #404245;
}

/* Button styles */
.guide-cta .btn-danger,
.cta-widget .btn-danger,
.featured-guide .btn-danger,
.guide-content .table .btn-danger {
    background-color: #ff6b6b !important;
    border: 1px solid #ff6b6b !important;
    color: #fff !important;
    font-weight: 350;
    transition: all 0.2s ease !important;
}

.guide-cta .btn-danger.btn-lg,
.cta-widget .btn-danger.btn-lg,
.featured-guide .btn-danger.btn-lg,
.guide-content .table .btn-danger.btn-lg {
    padding: 0.5rem 1rem;
}

.guide-cta .btn-danger:not(.btn-lg),
.cta-widget .btn-danger:not(.btn-lg),
.featured-guide .btn-danger:not(.btn-lg),
.guide-content .table .btn-danger:not(.btn-lg) {
    padding: 0.375rem 0.75rem;
}

.guide-cta .btn-danger:hover,
.guide-cta .btn-danger:focus,
.guide-cta .btn-danger:active,
.cta-widget .btn-danger:hover,
.cta-widget .btn-danger:focus,
.cta-widget .btn-danger:active,
.featured-guide .btn-danger:hover,
.featured-guide .btn-danger:focus,
.featured-guide .btn-danger:active,
.guide-content .table .btn-danger:hover,
.guide-content .table .btn-danger:focus,
.guide-content .table .btn-danger:active {
    background-color: transparent !important;
    color: #ff6b6b !important;
    border-color: #ff6b6b !important;
    border-width: 1px !important;
    box-shadow: inset 0 0 0 1px #ff6b6b !important;
}

/* Equal width buttons in guide-cta */
.guide-cta .btn-lg {
    min-width: 205px;
}

.guide-content .btn-outline-secondary {
    color: #ced4da;
    border-color: #404245;
}

.guide-content .btn-outline-secondary:hover {
    background-color: #404245;
    color: #f7fff7;
    border-color: #404245;
}

.guide-cta .btn-outline-danger,
.cta-widget .btn-outline-danger {
    color: #f7fff7 !important;
    border: 1px solid #ff6b6b !important;
    background-color: transparent !important;
    font-weight: 350;
    transition: all 0.2s ease !important;
}

.guide-cta .btn-outline-danger.btn-lg,
.cta-widget .btn-outline-danger.btn-lg {
    padding: 0.5rem 1rem;
}

.guide-cta .btn-outline-danger:not(.btn-lg),
.cta-widget .btn-outline-danger:not(.btn-lg) {
    padding: 0.375rem 0.75rem;
}

.guide-cta .btn-outline-danger:hover,
.guide-cta .btn-outline-danger:focus,
.guide-cta .btn-outline-danger:active,
.cta-widget .btn-outline-danger:hover,
.cta-widget .btn-outline-danger:focus,
.cta-widget .btn-outline-danger:active {
    background-color: transparent !important;
    color: #ff6b6b !important;
    border-color: #ff6b6b !important;
    font-weight: 350 !important;
    box-shadow: inset 0 0 0 1px #ff6b6b !important;
    border-width: 1px !important;
}

/* Page Header */
.guide-header {
    margin-bottom: 3rem;
}

.guide-header.text-center {
    text-align: center;
}

/* Responsive */
@media (max-width: 991px) {
    .guide-title {
        font-size: 2rem;
    }
    
    .toc-mobile {
        margin-bottom: 2rem;
    }
    
    .featured-icon {
        display: none;
    }
}

@media (max-width: 767px) {
    .form-inline .form-control,
    .form-inline .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .featured-guide {
        padding: 2rem !important;
    }
    
    .guide-category .card-body {
        padding: 1rem;
    }
    
    /* Stack CTA buttons on mobile */
    .guide-cta .btn-lg {
        display: block;
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 1rem;
    }
    
    .guide-cta .btn-lg:last-child {
        margin-bottom: 0;
    }
}

/* Pricing Cards - Match image design */
.pricing-card {
    background-color: #252931;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.pricing-header {
    padding: 1rem 1.5rem;
    font-weight: 600;
}

.pricing-header.bg-primary {
    background-color: #5865F2 !important;
}

.pricing-header.bg-warning {
    background-color: #FFC107 !important;
    color: #000 !important;
}

.pricing-body {
    padding: 1.5rem;
    background-color: #252931;
}

.pricing-body table {
    margin-bottom: 0;
}

.pricing-body table th {
    border-top: none;
    border-bottom: none;
    padding: 0.5rem 1rem 0.75rem 0;
    font-size: 0.875rem;
    text-transform: none;
}

.pricing-body table td {
    border-top: none;
    padding: 0.75rem 1rem 0.75rem 0;
    color: #adb5bd;
    font-size: 0.875rem;
}

.pricing-comparison-box {
    background-color: #252931;
    border: 1px solid #343a40;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.pricing-comparison-box h3 {
    color: #f7fff7;
    margin-bottom: 1rem;
}

.pricing-comparison-box p {
    color: #ced4da;
    margin-bottom: 1rem;
}

.pricing-comparison-box ul li {
    color: #adb5bd;
    line-height: 1.8;
}

/* Why Choose Cards */
.why-choose-card {
    background-color: #252931;
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
}

.why-choose-card h4 {
    color: #f7fff7;
    font-weight: 500;
    font-size: 1.25rem;
}

.why-choose-card ul li {
    color: #adb5bd;
    font-size: 0.95rem;
    line-height: 1.6;
}
/* ========================================
   Glossary Page Styles
   ======================================== */

.guide-content .glossary-letter-section {
    border-top: 2px solid #404245;
    padding-top: 2rem;
}

.guide-content .glossary-letter-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.guide-content .glossary-letter {
    color: #ff6b6b;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Glossary letter icon for faq-box style */
.guide-content .glossary-letter-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff6b6b;
}

/* Glossary sections using faq-box style */
.guide-content .glossary-letter-section.faq-section .faq-box {
    background-color: #1a1f26;
    border-radius: 8px;
    border: 1px solid #343a40;
}

.guide-content .glossary-letter-section.faq-section .faq-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #343a40;
}

.guide-content .glossary-letter-section.faq-section .faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(255, 107, 107, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.guide-content .glossary-letter-section.faq-section .faq-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f7fff7;
    margin: 0;
}

.guide-content .glossary-letter-section.faq-section .faq-body {
    padding: 1rem 1.5rem;
}

/* Glossary cards - override Bootstrap */
.guide-content .glossary-letter-section .accordion .card,
.guide-content .glossary-letter-section .accordion > .card,
.guide-content .glossary-letter-section .card {
    background-color: #1e252f !important;
    background: #1e252f !important;
    border: 1px solid #404245 !important;
    margin-bottom: 0.5rem;
    border-radius: 6px !important;
}

.guide-content .glossary-letter-section .accordion .card-header,
.guide-content .glossary-letter-section .card-header {
    background-color: transparent !important;
    background: transparent !important;
    border-bottom: none !important;
    padding: 0;
}

/* Term title button - override Bootstrap btn-link */
.guide-content .glossary-letter-section .btn-link,
.guide-content .glossary-letter-section .btn.btn-link,
.guide-content .glossary-letter-section .accordion .btn-link,
.guide-content .glossary-letter-section .accordion .btn-link:not(:disabled):not(.disabled),
.guide-content .glossary-letter-section button.btn-link {
    color: #f7fff7 !important;
    text-decoration: none !important;
    font-weight: 500;
    display: block;
    padding: 1rem 1.25rem 0.5rem;
    text-align: left;
    width: 100%;
    background: transparent !important;
}

.guide-content .glossary-letter-section .btn-link:hover,
.guide-content .glossary-letter-section .btn-link:focus,
.guide-content .glossary-letter-section .accordion .btn-link:hover,
.guide-content .glossary-letter-section .accordion .btn-link:focus {
    color: #ff6b6b !important;
    text-decoration: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.guide-content .term-short-def {
    color: #ced4da !important;
    font-size: 0.9rem;
    padding: 0 1.25rem 0.5rem;
    margin: 0;
}

.guide-content .term-learn-more {
    display: block;
    padding: 0 1.25rem 1rem;
    font-size: 0.85rem;
    color: #ff6b6b !important;
    text-decoration: none;
    cursor: pointer;
}

.guide-content .term-learn-more:hover {
    color: #ee5a52 !important;
    text-decoration: none;
}

.guide-content .term-learn-more i {
    margin-left: 0.25rem;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

/* Rotate arrow when expanded */
.guide-content .term-learn-more[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.guide-content .glossary-letter-section .accordion .card-body {
    color: #ced4da;
    background-color: rgba(22, 26, 31, 0.5) !important;
    border-top: 1px solid #404245;
    padding: 1rem 1.25rem;
}

.guide-content .glossary-letter-section .accordion .card-body p {
    margin-bottom: 0.75rem;
}

.guide-content .glossary-letter-section .accordion .card-body p:last-child {
    margin-bottom: 0;
}

.guide-content .glossary-letter-section .accordion .card-body a {
    color: #ff6b6b;
}

.guide-content .glossary-letter-section .accordion .card-body a:hover {
    color: #ee5a52;
}

/* A-Z Quick Navigation */
.guide-content .glossary-az-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.guide-content .glossary-az-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #1e252f;
    border: 1px solid #404245;
    border-radius: 4px;
    color: #ced4da;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.guide-content .glossary-az-nav a:hover {
    background: #ff6b6b;
    color: #fff;
    border-color: #ff6b6b;
    text-decoration: none;
}

.guide-content .glossary-az-nav a.disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* Glossary Sidebar TOC */
.toc-sidebar .toc-list li {
    margin-bottom: 0.4rem;
}

.toc-sidebar .toc-list .toc-link {
    font-size: 0.9rem;
}

.toc-sidebar .toc-list .toc-link.active {
    color: #ff6b6b;
    font-weight: 500;
}

/* Mobile responsive for glossary */
@media (max-width: 768px) {
    .guide-content .glossary-az-nav {
        gap: 0.35rem;
    }

    .guide-content .glossary-az-nav a {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .guide-content .glossary-letter {
        font-size: 1.75rem;
    }
}

/* ========================================
   Trading Pair pSEO Page Styles
   ======================================== */

/* Price Hero Card - Prominent live data display */
.price-hero {
    background: linear-gradient(135deg, #1e252f 0%, #252d38 100%);
    border: 1px solid #404245;
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.price-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b 0%, #44a4cd 100%);
}

.price-hero .pair-symbol {
    font-size: 1.25rem;
    font-weight: 500;
    color: #f7fff7;
}

.price-hero .current-price {
    font-size: 2.5rem;
    font-weight: 600;
    color: #f7fff7;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.price-hero .price-change {
    font-size: 1rem;
    font-weight: 500;
}

.price-hero .price-change.positive {
    color: #4ade80;
}

.price-hero .price-change.negative {
    color: #f87171;
}

/* Live indicator - pulsing dot */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #4ade80;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.live-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-live 2s ease-in-out infinite;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Stats row in price hero */
.price-hero .stat-item {
    text-align: center;
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.2s ease;
}

.price-hero .stat-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.price-hero .stat-label {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.price-hero .stat-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f7fff7;
}

/* Converter Link Box */
.converter-link-box {
    background: linear-gradient(135deg, #1e252f 0%, #252d38 100%);
    border: 1px solid #3a3d42;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.converter-link-box:hover {
    border-color: #ff6b6b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.converter-link-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: inherit;
}

.converter-link-inner:hover {
    text-decoration: none;
    color: inherit;
}

.converter-link-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
}

.converter-link-content {
    flex: 1;
    min-width: 0;
}

.converter-link-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #f7fff7;
    margin-bottom: 0.125rem;
}

.converter-link-desc {
    display: block;
    font-size: 0.85rem;
    color: #9ca3af;
}

.converter-link-arrow {
    flex-shrink: 0;
    color: #ff6b6b;
    font-size: 1rem;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.converter-link-box:hover .converter-link-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* Trading Section Cards - Spot vs Perpetual */
.trading-section {
    background: #1e252f;
    border: 1px solid #404245;
    border-radius: 12px;
    overflow: hidden;
}

.trading-section-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #404245;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trading-section-header .section-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* Spot section - Blue accent */
.trading-section.spot .section-icon {
    background: rgba(68, 164, 205, 0.15);
    color: #44a4cd;
}

.trading-section.spot .trading-section-header {
    border-left: 3px solid #44a4cd;
}

/* Perpetual section - Orange/Yellow accent */
.trading-section.perpetual .section-icon {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.trading-section.perpetual .trading-section-header {
    border-left: 3px solid #fbbf24;
}

.trading-section-header h2,
.trading-section-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #f7fff7;
}

.trading-section-body {
    padding: 1.25rem;
}

/* Parameter Table styling */
.param-table {
    width: 100%;
    margin: 0;
}

.param-table tr {
    border-bottom: 1px solid rgba(64, 66, 69, 0.5);
}

.param-table tr:last-child {
    border-bottom: none;
}

.param-table td {
    padding: 0.75rem 0;
    vertical-align: middle;
}

.param-table .param-label {
    color: #888;
    font-size: 0.875rem;
    width: 45%;
}

.param-table .param-value {
    color: #f7fff7;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: right;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
}

/* JSON Code Block Styling */
.json-example {
    position: relative;
    margin-bottom: 1.5rem;
}

.json-example-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #1e252f;
    border: 1px solid #404245;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}

.json-example-header .example-title {
    color: #888;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.json-example-header .copy-btn {
    background: transparent;
    border: 1px solid #404245;
    color: #888;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.json-example-header .copy-btn:hover {
    background: #404245;
    color: #f7fff7;
}

.json-example-header .copy-btn.copied {
    background: rgba(74, 222, 128, 0.15);
    border-color: rgba(74, 222, 128, 0.3);
    color: #4ade80;
}

.json-example pre {
    margin: 0;
    border-radius: 0 0 8px 8px;
    border-top: none;
}

/* JSON Syntax Highlighting */
.json-example code {
    display: block;
}

.json-example .json-key {
    color: #ff6b6b;
}

.json-example .json-string {
    color: #4ade80;
}

.json-example .json-number {
    color: #fbbf24;
}

.json-example .json-boolean {
    color: #44a4cd;
}

/* Related Pairs - Enhanced styling */
.related-pairs-grid {
    display: grid;
    gap: 0.5rem;
}

.related-pair-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #1e252f;
    border: 1px solid #404245;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.related-pair-item:hover {
    background: rgba(255, 107, 107, 0.08);
    border-color: rgba(255, 107, 107, 0.3);
    text-decoration: none;
    transform: translateX(4px);
}

.related-pair-item .pair-name {
    color: #f7fff7;
    font-weight: 500;
    font-size: 0.9rem;
}

.related-pair-item .pair-change {
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'SF Mono', 'Monaco', monospace;
}

.related-pair-item .pair-change.positive {
    color: #4ade80;
}

.related-pair-item .pair-change.negative {
    color: #f87171;
}

/* Quick Facts Row - Compact stats display */
.quick-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.quick-fact {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
}

.quick-fact-label {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.quick-fact-value {
    font-size: 1rem;
    font-weight: 600;
    color: #f7fff7;
}

/* Leverage badge styling */
.leverage-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Funding rate styling */
.funding-positive {
    color: #4ade80;
}

.funding-negative {
    color: #f87171;
}

/* Trading Insights Section */
.trading-insights-box {
    background: #1e252f;
    border: 1px solid #404245;
    border-radius: 12px;
    overflow: hidden;
}

.trading-insights-box .insights-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #404245;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trading-insights-box .insights-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.trading-insights-box .insights-body {
    padding: 1.25rem;
}

.trading-insights-box .insights-body > p {
    color: #ced4da;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

/* Tier-specific accent colors */
.trading-insights-box.tier-major .insights-header {
    border-left: 3px solid #44a4cd;
}

.trading-insights-box.tier-major .insights-icon {
    background: rgba(68, 164, 205, 0.15);
    color: #44a4cd;
}

.trading-insights-box.tier-trending .insights-header {
    border-left: 3px solid #fbbf24;
}

.trading-insights-box.tier-trending .insights-icon {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.trading-insights-box.tier-alt .insights-header {
    border-left: 3px solid #a78bfa;
}

.trading-insights-box.tier-alt .insights-icon {
    background: rgba(167, 139, 250, 0.15);
    color: #a78bfa;
}

.trading-insights-box .insights-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #f7fff7;
}

/* Insights Grid */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.insights-grid-item {
    padding: 1rem;
    background: rgba(22, 26, 31, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(64, 66, 69, 0.5);
}

.insights-grid-item .item-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.insights-grid-item .item-label i {
    font-size: 0.85rem;
}

.insights-grid-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.insights-grid-item ul li {
    font-size: 0.875rem;
    color: #ced4da;
    padding: 0.35rem 0;
    padding-left: 1rem;
    position: relative;
}

.insights-grid-item ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #888;
    font-size: 0.75rem;
}

/* Timeframe Badges */
.timeframe-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeframe-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    background: rgba(64, 66, 69, 0.4);
    border: 1px solid #404245;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #f7fff7;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
}

/* Risk Level Badges */
.risk-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.risk-badge i {
    font-size: 0.75rem;
}

.risk-badge.risk-moderate {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.risk-badge.risk-medium-high {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.risk-badge.risk-high {
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

@media (max-width: 768px) {
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .insights-grid-item {
        padding: 0.875rem;
    }
}

/* Key Takeaways Section */
.key-takeaways-box {
    background: #1e252f;
    border: 1px solid #404245;
    border-radius: 12px;
    overflow: hidden;
}

.key-takeaways-box .takeaways-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #404245;
    border-left: 3px solid #ff6b6b;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.key-takeaways-box .takeaways-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
}

.key-takeaways-box .takeaways-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #f7fff7;
}

.key-takeaways-box .takeaways-body {
    padding: 1.25rem;
}

/* Takeaways Grid */
.takeaways-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.takeaway-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(64, 66, 69, 0.5);
    border-right: 1px solid rgba(64, 66, 69, 0.5);
}

.takeaway-item:nth-child(2n) {
    border-right: none;
}

.takeaway-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.takeaway-item .takeaway-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.takeaway-item .takeaway-icon i {
    font-size: 0.7rem;
    color: #4ade80;
}

.takeaway-item .takeaway-content {
    flex: 1;
    min-width: 0;
}

.takeaway-item .takeaway-label,
.takeaway-item dt.takeaway-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.takeaway-item .takeaway-value,
.takeaway-item dd.takeaway-value {
    font-size: 0.9rem;
    color: #f7fff7;
    font-weight: 500;
    margin: 0;
}

.takeaway-item .takeaway-value.mono {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
}

.takeaway-item .takeaway-note,
.takeaway-item small.takeaway-note {
    font-size: 0.75rem;
    color: #888;
    display: inline;
    margin-left: 0.25rem;
}

/* Special styling for funding rate */
.takeaway-item .funding-positive {
    color: #4ade80;
}

.takeaway-item .funding-negative {
    color: #f87171;
}

@media (max-width: 768px) {
    .takeaways-grid {
        grid-template-columns: 1fr;
    }

    .takeaway-item {
        border-right: none;
    }

    .takeaway-item:last-child {
        border-bottom: none;
    }
}

/* Mobile responsive for trading pair pages */
@media (max-width: 768px) {
    .price-hero .current-price {
        font-size: 2rem;
    }

    .price-hero .stat-item {
        padding: 0.5rem 0.25rem;
    }

    .price-hero .stat-value {
        font-size: 0.85rem;
    }

    .trading-section-header {
        padding: 0.75rem 1rem;
    }

    .trading-section-body {
        padding: 1rem;
    }

    .quick-facts {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Setup Steps Box with Timeline
   ============================================ */
.setup-steps-box {
    background-color: #1e252f;
    border: 1px solid #404245;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.setup-steps-box .steps-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.08) 0%, rgba(255, 107, 107, 0.02) 100%);
    border-bottom: 1px solid rgba(64, 66, 69, 0.5);
}

.setup-steps-box .steps-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 107, 0.15);
    border-radius: 8px;
}

.setup-steps-box .steps-icon i {
    font-size: 1rem;
    color: #ff6b6b;
}

.setup-steps-box .steps-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #f7fff7;
}

.setup-steps-box .steps-body {
    padding: 1.5rem 1.25rem;
}

/* Steps List with Timeline */
.setup-steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

/* Vertical timeline line */
.setup-steps-list::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: linear-gradient(180deg, #ff6b6b 0%, rgba(255, 107, 107, 0.3) 100%);
    border-radius: 1px;
}

.setup-step-item {
    display: flex;
    gap: 1rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.setup-step-item:last-child {
    padding-bottom: 0;
}

/* Step Number Badge */
.step-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #252931;
    border: 2px solid #ff6b6b;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ff6b6b;
    position: relative;
    z-index: 1;
}

/* Step Content */
.step-content {
    flex: 1;
    padding-top: 0.35rem;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.step-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(68, 164, 205, 0.15);
    border-radius: 6px;
}

.step-icon i {
    font-size: 0.7rem;
    color: #44a4cd;
}

.step-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f7fff7;
    margin: 0;
}

.step-description {
    font-size: 0.9rem;
    color: #ced4da;
    margin: 0;
    line-height: 1.6;
}

.step-description code {
    background: #252931;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #44a4cd;
}

.step-description a {
    color: #ff6b6b;
}

.step-description a:hover {
    color: #ff8787;
    text-decoration: underline;
}

/* Step list within description */
.step-description ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.25rem;
}

.step-description ul li {
    margin-bottom: 0.25rem;
}

/* Completed step state (optional) */
.setup-step-item.completed .step-number {
    background: #ff6b6b;
    color: #fff;
}

/* Hover effect */
.setup-step-item:hover .step-number {
    transform: scale(1.05);
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.15);
}

.step-number {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Prerequisite Tip before Steps */
.setup-steps-box .step-prerequisite {
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.25);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.setup-steps-box .step-prerequisite .prerequisite-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 222, 128, 0.15);
    border-radius: 6px;
}

.setup-steps-box .step-prerequisite .prerequisite-icon i {
    font-size: 0.8rem;
    color: #4ade80;
}

.setup-steps-box .step-prerequisite .prerequisite-content {
    flex: 1;
}

.setup-steps-box .step-prerequisite .prerequisite-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4ade80;
    margin: 0 0 0.25rem 0;
}

.setup-steps-box .step-prerequisite .prerequisite-text {
    font-size: 0.85rem;
    color: #ced4da;
    margin: 0;
    line-height: 1.5;
}

.setup-steps-box .step-prerequisite a {
    color: #ff6b6b;
    font-weight: 500;
}

.setup-steps-box .step-prerequisite a:hover {
    color: #ff8787;
    text-decoration: underline;
}

/* Tip Box inside Steps */
.setup-steps-box .step-tip {
    background: rgba(68, 164, 205, 0.1);
    border: 1px solid rgba(68, 164, 205, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.setup-steps-box .step-tip h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #44a4cd;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.setup-steps-box .step-tip p {
    font-size: 0.85rem;
    color: #ced4da;
    margin: 0;
}

.setup-steps-box .step-tip a {
    color: #ff6b6b;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .setup-steps-list::before {
        left: 15px;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .step-content {
        padding-top: 0.25rem;
    }

    .step-title {
        font-size: 0.9rem;
    }

    .step-description {
        font-size: 0.85rem;
    }
}

/* ============================================
   Benefits Grid
   ============================================ */
.benefits-box {
    background-color: #1e252f;
    border: 1px solid #404245;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 1.5rem;
}

.benefits-box .benefits-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(68, 164, 205, 0.08) 0%, rgba(68, 164, 205, 0.02) 100%);
    border-bottom: 1px solid rgba(64, 66, 69, 0.5);
}

.benefits-box .benefits-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(68, 164, 205, 0.15);
    border-radius: 8px;
}

.benefits-box .benefits-icon i {
    font-size: 1rem;
    color: #44a4cd;
}

.benefits-box .benefits-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #f7fff7;
}

.benefits-box .benefits-body {
    padding: 1.25rem;
}

/* Benefits Grid Layout */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-item {
    background: #252931;
    border: 1px solid rgba(64, 66, 69, 0.5);
    border-radius: 10px;
    padding: 1.25rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.benefit-item:hover {
    border-color: rgba(68, 164, 205, 0.4);
    transform: translateY(-2px);
}

.benefit-item .benefit-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.benefit-item .benefit-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 107, 0.12);
    border-radius: 10px;
    flex-shrink: 0;
}

.benefit-item .benefit-icon i {
    font-size: 1rem;
    color: #ff6b6b;
}

.benefit-item .benefit-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f7fff7;
    margin: 0;
}

.benefit-item .benefit-description {
    font-size: 0.85rem;
    color: #ced4da;
    margin: 0;
    line-height: 1.5;
}

/* Alternate icon colors for variety */
.benefit-item:nth-child(2) .benefit-icon {
    background: rgba(68, 164, 205, 0.12);
}

.benefit-item:nth-child(2) .benefit-icon i {
    color: #44a4cd;
}

.benefit-item:nth-child(3) .benefit-icon {
    background: rgba(251, 191, 36, 0.12);
}

.benefit-item:nth-child(3) .benefit-icon i {
    color: #fbbf24;
}

.benefit-item:nth-child(4) .benefit-icon {
    background: rgba(74, 222, 128, 0.12);
}

.benefit-item:nth-child(4) .benefit-icon i {
    color: #4ade80;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        padding: 1rem;
    }

    .benefit-item .benefit-icon {
        width: 36px;
        height: 36px;
    }

    .benefit-item .benefit-icon i {
        font-size: 0.9rem;
    }
}

/* ============================================
   Delisted Warning Box
   ============================================ */
@keyframes pulse-warning {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
    }
}

.delisted-warning {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.12) 0%, rgba(127, 29, 29, 0.08) 100%);
    border: 1px solid rgba(220, 38, 38, 0.35);
    border-left: 4px solid #dc2626;
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.delisted-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(248, 113, 113, 0.3), transparent);
}

.delisted-warning .delisted-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 50%;
    animation: pulse-warning 2s ease-in-out infinite;
}

.delisted-warning .delisted-icon i {
    font-size: 1.35rem;
    color: #f87171;
}

.delisted-warning .delisted-content {
    flex: 1;
}

.delisted-warning .delisted-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: #fca5a5;
    letter-spacing: -0.01em;
}

.delisted-warning .delisted-text {
    margin: 0 0 1rem 0;
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.6;
}

.delisted-warning .delisted-text strong {
    color: #f7fff7;
    font-weight: 600;
}

.delisted-warning .delisted-status {
    display: inline-block;
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid rgba(220, 38, 38, 0.4);
    color: #fca5a5;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    margin-left: 0.5rem;
}

.delisted-warning .delisted-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.delisted-warning .btn-warning-primary {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border: none;
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.delisted-warning .btn-warning-primary:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    color: #fff;
    text-decoration: none;
}

.delisted-warning .btn-warning-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #d1d5db;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.delisted-warning .btn-warning-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    color: #f7fff7;
    text-decoration: none;
}

@media (max-width: 576px) {
    .delisted-warning {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
        gap: 1rem;
    }

    .delisted-warning .delisted-icon {
        margin: 0 auto;
    }

    .delisted-warning .delisted-actions {
        flex-direction: column;
        width: 100%;
    }

    .delisted-warning .btn-warning-primary,
    .delisted-warning .btn-warning-secondary {
        width: 100%;
        justify-content: center;
    }

    .delisted-warning .delisted-status {
        display: block;
        margin: 0.5rem 0 0 0;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
}
