/* CTA Section Styling */
.cta-green-accent {
    background-color: #f8f9fa;
    border-left: 4px solid #28a745;
}

/* MFA Code Input Styling */
.mfa-code-input {
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
}

/* Support Icon Styling */
.support-icon {
    font-size: 3rem;
}

/* Intelligence Page Dashboard Preview Styling */
.dashboard-preview {
    position: relative;
}

.preview-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.preview-container img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.preview-container:hover {
    transform: translateY(-5px);
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,123,255,0.1) 0%, rgba(0,123,255,0.05) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1rem;
}

.preview-badge {
    background: rgba(0,123,255,0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.preview-click-hint {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preview-container:hover .preview-click-hint {
    opacity: 1;
}

.preview-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.feature-highlights .d-flex {
    transition: all 0.3s ease;
}

.feature-highlights .d-flex:hover {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .preview-overlay {
        padding: 0.5rem;
    }
    
    .preview-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .preview-click-hint {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Dashboard Modal Styling */
#dashboardModal .modal-dialog {
    max-width: 90vw;
}

#dashboardModal .modal-body img {
    max-height: 80vh;
    width: auto;
    border-radius: 8px;
}

#dashboardModal .modal-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-bottom: none;
}

#dashboardModal .modal-header .btn-close {
    filter: invert(1);
}

#dashboardModal .modal-footer {
    border-top: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

/* Intelligence Tier Cards Styling */
.intelligence-tier-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.intelligence-tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.intelligence-tier-card.featured {
    border-color: #28a745;
    box-shadow: 0 4px 6px rgba(40,167,69,0.1);
}

.intelligence-tier-card.featured:hover {
    border-color: #28a745;
    box-shadow: 0 8px 25px rgba(40,167,69,0.15);
}

.tier-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(40,167,69,0.3);
}

.tier-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.tier-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tier-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

.tier-highlights {
    margin-top: auto;
}

.tier-cta {
    margin-top: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .intelligence-tier-card {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .tier-badge {
        position: static;
        display: inline-block;
        margin-bottom: 1rem;
    }
}

/* Enhanced Benefit Cards Styling */
.enhanced-benefit-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.enhanced-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #28a745, #ffc107, #dc3545, #6f42c1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.enhanced-benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.enhanced-benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.benefit-content {
    text-align: center;
}

.benefit-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.benefit-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-tag {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.enhanced-benefit-card:hover .feature-tag {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-color: #007bff;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .enhanced-benefit-card {
        padding: 1.5rem;
    }
    
    .benefit-features {
        justify-content: center;
    }
    
    .feature-tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
}

/* Company Logo Styling */
.company-logo-small {
    max-height: 56px;
    width: auto;
}

/* Grid Layout Styling */
.grid-full-width {
    grid-column: 1 / -1;
}

/* Progress Bar Styling */
.progress-tall {
    height: 20px;
}

/* Progress Bar Width Classes */
.progress-16 {
    width: 16%;
}

.progress-37 {
    width: 37%;
}

.progress-32 {
    width: 32%;
}

.progress-15 {
    width: 15%;
}

/* Shield Icon Styling */
.shield-icon {
    font-size: 3rem;
}

/* Profile Avatar Styling */
.profile-avatar {
    width: 80px;
    height: 80px;
}

.profile-building-icon {
    font-size: 2rem;
}

/* AI Analysis Text Styling */
.ai-analysis-text {
    white-space: pre-line;
}

/* Admin File Icon Styling */
.admin-file-icon {
    font-size: 2rem;
}

/* Admin Icon Styling */
.admin-icon {
    font-size: 2rem;
}

/* Admin Large Icon Styling */
.admin-large-icon {
    font-size: 3rem;
}

/* Clickable Badge Styling */
.clickable-badge {
    cursor: pointer;
}

/* Customer Field Highlight Styling */
.customer-field-highlight {
    border: 2px solid red;
    padding: 10px;
}

/* Password Toggle Button Styling */
.password-toggle-btn {
    border: 2px solid #007bff;
    background: #007bff;
    color: white;
    min-width: 50px;
}

/* Progress Bar Styling */
.progress-thin {
    height: 5px;
}

.progress-bar-empty {
    width: 0%;
}

/* Admin Layout Styling */
.admin-min-height {
    min-height: 90vh;
}

.admin-max-width {
    max-width: 900px;
}

/* Error Icon Styling */
.error-icon {
    font-size: 4rem;
}

/* Sample Image Styling */
.sample-image {
    max-width: 180px;
}

/* SecDevOps Header Styling */
.secdevops-header {
    background: linear-gradient(135deg, #16222A, #3A6073);
    min-height: 100px;
    margin-bottom: 0;
    color: #F5F7FA;
}

.secdevops-title {
    color: #F5F7FA;
}

.secdevops-subtitle {
    color: #E0E6EE;
}

/* General Body Styling */
*, *::before, *::after {
    box-sizing: border-box;
}

body, html {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    max-width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styling */
header {
    background-color: #ded3d1;
    color: #fff;
    padding: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky !important; 
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding-right: 0.45in; /* Adjust to match the left padding of the logo */
}

header .navbar {
    padding: 5px 10px;
    height: 60px;
    background-color: #ded3d1;
}

header .navbar-brand img {
    max-height: 50px;
}

/* Improved header navigation styling */
header .nav-item {
    margin-right: 0.5rem;
}

header .nav-link {
    color: #333;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

header .nav-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #000;
}

/* Contact button styling */
header .contact-btn {
    background-color: #333;
    color: white !important;
    border-radius: 20px;
    padding: 0.4rem 1rem;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

header .contact-btn:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Improved dropdown menu */
.dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.6rem 1.2rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.dropdown-divider {
    margin: 0.5rem 0;
}

/* Better mobile menu experience */
@media (max-width: 992px) {
    .navbar-collapse {
        background-color: #ded3d1;
        padding: 1rem;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    header .contact-btn {
        display: inline-block;
        margin-top: 0.5rem;
        text-align: center;
    }
    
    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 1rem;
    }
}

.main {
    margin-top: 70px;
}

/* Footer Styling */
footer {
    width: 100%;
    background-color: #f4f4f4;
    padding: 20px 0;
    text-align: center;
    color: #000;
    font-size: 0.9rem;
    position: relative;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
}

footer p {
    margin: 0;
    text-align: center;
    font-weight: bold;
}

/* Custom Gray Container */
.custom-gray-container {
    background-color: #f8f9fa; /* Gray background color */
    border: 3px solid white; /* Slightly larger white border */
    border-radius: 0.5rem; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow outline */
    padding: 2rem; /* Inner padding */
}

/* Typography */
body, p, .article-meta {
    color: #555; /* Font color for article content */
}

h4, h1, h2, h3 {
    color: #000; /* Titles remain black */
}

/* Links */
a {
    color: #007BFF; /* Link color */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Article-Specific Styling */
.article-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
}

.article-meta {
    font-size: 1rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 20px;
}

.article-content p {
    line-height: 1.7;
    font-size: 1.1rem;
}

.article-section-title {
    margin-top: 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #007BFF;
}

/* Article-Specific Styling */
.article-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
}

.article-meta {
    font-size: 1rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 20px;
}

.article-content p {
    line-height: 1.7;
    font-size: 1.1rem;
}

.article-section-title {
    margin-top: 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #007BFF;
}

/* Card Image Styling */
.card-img-top {
    width: 100%; /* Stretch to fill the container */
    height: 200px; /* Set a consistent height */
    object-fit: cover; /* Crop the image to fit without distortion */
    border-radius: 8px; /* Optional: Add rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Add a light shadow */
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Smaller buttons inside card */
.card .btn {
    padding: 10px 20px; /* Make padding smaller to reduce button size */
    width: auto; /* Let the button take up only the space it needs */
    margin-left: auto;
    margin-right: auto;
    display: block; /* Center the button */
}

.card .btn:hover {
    background-color: #6c757d;
}

/* Buttons */
.btn {
    background-color: #495057;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background-color: #6c757d;
}

/* Customize the primary button if necessary */
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #333;
    --bs-btn-border-color: #333;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #444;
    --bs-btn-hover-border-color: #444;
}

/* Floating Box */
.floating-box {
    position: fixed;
    top: 300px;
    right: 120px;
    width: 250px;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.floating-box h5 {
    margin-top: 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.floating-box p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.floating-box a.btn {
    display: block;
    text-align: center;
    padding: 10px 15px;
}

/* Close Button Styling */
.close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}

.close-btn:hover {
    color: #ff0000;
}

/* Utility Classes */
.mt-5 {
    margin-top: 3rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .column {
        width: 100%;
        margin-bottom: 20px;
    }

    .article-container {
        max-width: 95%;
    }
}

@media (min-width: 1200px) {
    .article-container {
        max-width: 900px;
    }
}

/* Profile Image */
.profile-image-container {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: inline-block;
    cursor: pointer;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Modal Image */
.modal .img-fluid {
    width: auto;
    max-width: 100%;
    max-height: 90vh;
    margin: 0 auto;
    display: block;
    object-fit: contain;
    object-position: center center;
    border-radius: 8px;
    padding: 6px;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}

/* Trim the modal box around the image */
.modal-dialog {
    max-width: fit-content;
    margin: auto;
}

.modal-content {
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Close Button for Modal */
.close-modal-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    padding: 6px;
    cursor: pointer;
    z-index: 1051;
    transition: background 0.2s ease;
}

.close-modal-btn:hover {
    background: rgba(255, 255, 255, 1);
}

.close-modal-btn svg {
    width: 20px;
    height: 20px;
    stroke: #333;
}



/* Desktop Tweaks */
@media (min-width: 992px) {
    .profile-image-container {
        width: 180px;
        height: 180px;
    }

    .santsec-people .row.align-items-center {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 30px;
    }

    .santsec-people .bg-light {
        text-align: center;
    }
}




.custom-gray-container p, 
.custom-gray-container h1, 
.custom-gray-container h2, 
.custom-gray-container h3, 
.custom-gray-container h4, 
.custom-gray-container h5 {
    text-align: left;
}

.custom-gray-container {
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa;
    border: 3px solid white;
    margin: 20px auto;
    max-width: 1120px;
    flex: 1;
}

.row {
    display: flex;
    justify-content: space-between;
}

.col-md-4 {
    display: flex;
    flex-direction: column;
    flex: 1; /* Ensures the columns take up equal space */
}

.toc {
    text-align: left; /* Aligns the table of contents to the left */
    margin-left: auto;
    margin-right: auto;
    max-width: 200px; /* Optional: Restricts width for readability */
    padding: 0.5rem 0;
}

.toc h2 {
    text-align: left; /* Ensures TOC header is also left-aligned */
    font-weight: bold;
    font-size: 1.5rem;
}

.toc ul {
    list-style-type: disc; /* Adds a disc bullet point style */
    padding-left: 20px; /* Indents list items */
}

.toc li {
    margin-bottom: 10px; /* Adds space between list items */
    line-height: 1.5; /* Improves readability */
}

.text-center h4 {
    text-align: center; /* Ensures the title is horizontally centered */
    margin: 0 auto; /* Centers it within its parent, if needed */
}


.custom-gray-container ul {
    list-style-type: disc; /* Use standard bullet points */
    padding-left: 10px; /* Adds space between bullets and text */
    margin-left: 0;
    margin-right: auto;
    text-align: left; /* Ensures the bullets and text are left-aligned */
    max-width: 800px; /* Restricts width for readability */
}

.custom-gray-container .toc h4 {
    text-align: left; /* Aligns the 'Contents' title to the left */
    margin-left: 0;   /* Resets any left margin */
}


.custom-gray-container li {
    margin-bottom: 10px; /* Adds space between list items */
    line-height: 1.6; /* Improves readability */
    font-size: 1rem; /* Ensures consistent font size */
}

.custom-gray-container h3 {
    text-align: center; /* Aligns How to Defend Against section titles to the left */
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Make sure all cards have the same height */
.card {
    height: 100%; /* Ensure cards take up the same height */
}

/* Add equal height to card-body inside the cards to make content stretch evenly */
.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensure content is spaced evenly */
}

/* For responsiveness, make sure each card in a row takes up equal space */
.row {
    display: flex;
    flex-wrap: wrap;
}

.col-md-6 {
    display: flex;
    justify-content: stretch; /* Ensure columns stretch to fill the row */
    flex: 1 1 45%; /* This ensures two cards per row */
}

/* Optional: Add a minimum height if you want to ensure there's some consistent height even when content is short */
.card {
    min-height: 50px; /* Adjust as needed */
}


.text-center {
    text-align: center; /* Centers content horizontally */
}

.profile-image-container {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Makes the image circular */
    overflow: hidden;
    margin: 0 auto; /* Centers the container itself */
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fits inside the circle */
    display: block;
}



.main-title {
    font-size: 2rem; /* Adjust title size as needed */
    font-weight: bold;
    color: #333; /* Title color */
    margin-top: 20px;
    margin-bottom: 20px;
}

.article-section-title {
    color: #4a4a4a; /* Deep gray */
}

/* Table of Contents (TOC) Styling */
.toc {
    background-color: #f4f4f4;  /* Subtle background color */
    padding: 10px 15px; /* adjust this to change size */
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);  /* Light shadow */
    max-width: 400px;  /* Restricts TOC width for better readability */
    margin: 20px auto;  /* Centers the TOC */
    margin-bottom: 20px;
}

.toc h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-align: center;  /* Left align the TOC header */
}

.toc ul {
    list-style-type: disc;  /* Bullet points for items */
    padding-left: 20px;  /* Indentation for list */
    margin: 0;
}

.toc li {
    margin-bottom: 5px;  /* Space between items */
    line-height: 1.6;  /* Improves readability */
}

.toc a {
    color: #007bff;  /* Link color */
    text-decoration: none;  /* No underline by default */
    font-size: 1.1rem;  /* Slightly larger font for better legibility */
    transition: color 0.3s ease;  /* Smooth transition for hover effect */
}

.toc a:hover {
    color: #0056b3;  /* Darker color on hover */
    text-decoration: underline;  /* Underline on hover */
}

/* For article links in the table of contents, to match with card layout */
.toc li a {
    display: block;  /* Make the link take up the entire width */
    padding: 5px 0;
}

.truncate-text {
  width: 200px; /* Adjust to your desired width */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


header .navbar-nav {
    margin-left: auto; /* Pushes navbar to the right. */
    display: flex;
    justify-content: flex-end;
}



/* General styles for flex-based rows */
.row {
    display: flex;
    flex-wrap: wrap; /* Ensure items wrap if necessary */
    justify-content: space-between;
}

/* Responsive stacking for small screens */
@media (max-width: 768px) {
    .row {
        flex-direction: column; /* Stacks articles vertically */
        gap: 20px; /* Adds spacing between stacked items */
    }

    .col-md-4 {
        width: 100%; /* Make each column take full width */
    }
}

.santsec-people .row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.popout-box ul, 
.popout-box ul li {
    font-size: 0.85rem !important;
}


/* For Desktop View */
@media (min-width: 992px) {
    .profile-image-container {
        position: relative;
        top: -20px; /* Move the image up (adjust as needed) */
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers the image horizontally */
        justify-content: center;
        margin-bottom: 0px; /* Adds space between image and text */
        top:0;
    }


    .profile-image {
        width: 150px; /* Ensures the image size stays fixed */
        height: 150px;
        object-fit: cover; /* Ensures the image is properly cropped */
        border-radius: 50%; /* Keeps the image circular */
    }

    .profile-title {
        text-align: center; /* Centers the text below the image */
        margin-top: 1rem; /* Adds a little space between image and text */
    }

}

.profile-title h5 {
    font-size: 1.2rem; /* Adjust title font size */
    margin-bottom: 5px; /* Space between the title and description */
}

/* TAC GDocs Popout */
.modal-dialog {
    max-width: 90%; /* Adjust width */
    max-height: 90%; /* Adjust height */
}

.modal-body iframe {
    width: 100%;
    height: 100%;
}
/* Adjust image size for desktop view */
@media (min-width: 992px) {
    img.img-fluid {
        width: 60%;
        height: auto; /* Maintain aspect ratio */
    }
}

/* Title Font Size Styling */
h1 {
    font-size: 2.25rem; /* Reduced slightly */
    color: #000;
}

h2 {
    font-size: 1.875rem;
    color: #000;
}

h3 {
    font-size: 1.625rem;
    color: #000;
}

h4 {
    font-size: 1.375rem;
    color: #000;
}

h5 {
    font-size: 1.125rem;
    color: #000;
}

h6 {
    font-size: 1rem;
    color: #000;
}

/* Audit Sign up & Terms/Privacy Popouts */
.popout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none; /* Hide by default */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popout-overlay.hidden {
    display: none !important;
}

.popout-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
}

.close-button {
    position: sticky;
    top: 0;
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    z-index: 1000;
}

.popout-box h2 {
    text-align: center;
    margin-top: 0;
}

.popout-content {
    overflow-y: auto;
    max-height: 70vh;
    padding-right: 10px;
    font-size: 0.85rem;
    line-height: 1.5;
}


@media (max-width: 768px) {
    .popout-box {
        max-width: 320px;          /* 40% reduction on small screens */
        max-height: 80vh;          /* Same height limit on mobile */
        overflow-y: auto;          /* Scroll if content is too tall */
        padding: 12px;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }

    .popout-box h2 {
        font-size: 1.1rem;
    }

    .popout-box p, 
    .popout-box label, 
    .popout-box input, 
    .popout-box button {
        font-size: 0.85rem;
    }

    .btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

/* Custom Gray Container */
.custom-gray-container {
    background-color: #f8f9fa; /* Gray background color */
    border: 3px solid white; /* Slightly larger white border */
    border-radius: 0.5rem; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow outline */
    padding: 2rem; /* Inner padding */
    margin: 20px auto;
    max-width: 1120px;
    flex: 1;
}

/* Module Styling */
.module {
    min-width: 300px;
    max-width: 48%;
    flex: 1 1 auto;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1.5rem;
    min-height: 350px;
    margin: 20px auto;
}

.module h3 {
    color: #2c3e50;
    font-weight: bold;
    font-size: 1.5rem;
}

.module p, 
.module ul li {
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
}

.module a {
    color: #007BFF;
    text-decoration: none;
}

.module a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.module .highlight {
    color: #28a745;
    font-weight: bold;
}

/* Typography */
body, p, .article-meta {
    color: #555;
}

h4, h1, h2, h3 {
    color: #000;
}

/* SecDev Service Cards */
.service-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-radius: 10px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Service Icons */
.service-icon {
    font-size: 2rem;
    color: #007BFF;
    margin-bottom: 10px;
}

/* Ensure responsive grid */
@media (max-width: 768px) {
    .service-card {
        padding: 2rem;
    }
}

.header-left-container {
    margin-left: 2%;
}

.brand-text {
    color: black;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.25rem;
}

.text-center-heading {
    text-align: center;
}

#lite-intelligence-report h2 {
    text-align: center;
}

/* ===== Audit Starter Page Specific Styles ===== */

.slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    position: relative;
}

.slider {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: block;
    margin-left: 0;
    margin-right: 0;
}

/* Thumb styles for sliders */
.slider::-webkit-slider-thumb,
.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #2F5281;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease, transform 0.2s ease;
}

.slider::-webkit-slider-thumb:hover,
.slider::-moz-range-thumb:hover {
    background: #f8f9fa;
    transform: scale(1.1);
}

.slider-labels,
.confidence-labels {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}

.slider-labels span {
    position: relative;
    text-align: center;
    flex: 1;
}

.confidence-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 600px;
    font-size: 0.9rem;
    color: #333;
    font-weight: bold;
    margin-top: 5px;
}

.question-mark {
    color: #007bff;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    text-decoration: underline;
}

.question-mark::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 50%;
    left: 120%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    display: none;
    white-space: normal;
    width: 400px;
    max-width: 90vw;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    word-wrap: break-word;
    text-align: left;
}

.question-mark:hover::after {
    display: block;
}

@media (max-width: 768px) {
    .question-mark::after {
        top: auto;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        padding: 10px 14px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .question-mark::after {
        left: 5%;
        transform: none;
    }
}

.answer-container {
    background-color: #e6f2ff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hidden {
    display: none;
}

.scroll-box {
    max-height: 400px;
    overflow-y: scroll;
}

.sticky-close-button {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1000;
}

.small-text {
    font-size: 0.85rem;
}

/* LIR Results Styling */

.full-width {
    width: 100%;
}

.text-black {
    color: black;
}

.inline-icon {
    width: 20px;
    height: 20px;
    margin-left: 8px;
}

.card-header-dark {
    background-color: #2F5281;
    color: white;
}

.text-white {
    color: white;
}

.hidden {
    display: none;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

.scroll-box {
    max-height: 300px;
    overflow-y: auto;
}

.card-white {
    background-color: white;
}

/* Admin Page */
.full-width {
    width: 100%;
}

.text-black {
    color: black;
}

.card-white {
    background-color: white;
}

.card-header-dark {
    background-color: #2F5281;
    color: white;
}

.text-white {
    color: white;
}

.scroll-box-300 {
    max-height: 300px;
    overflow-y: auto;
}

.scroll-box-150 {
    max-height: 150px;
    overflow-y: auto;
}

.btn-dark-primary {
    background-color: #2F5281;
    color: white;
}

/* Login Page */
.full-width {
    width: 100%;
}

.text-black {
    color: black;
}

.card-white {
    background-color: white;
}

.card-header-dark {
    background-color: #2F5281;
    color: white;
}

.text-white {
    color: white;
}

.hidden {
    display: none;
}

/* Customer Details Page */
.full-width {
    width: 100%;
}

.text-black {
    color: black;
}

/* ===== Custom Styles for Audit Results Page ===== */

.gradient-heading {
  background: linear-gradient(to right, #2F5281, #0096c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.confidence-score {
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.accordion-button:hover {
  background-color: #e2e6ea;
  color: #0056b3;
  transition: 0.3s ease;
}

/* Color-tuned badges */
.badge.bg-success {
  background-color: #198754 !important;
}

.badge.bg-warning {
  background-color: #ffc107 !important;
  color: #000 !important;
}

.badge.bg-danger {
  background-color: #dc3545 !important;
}

/* Chart canvas size fix */
.radar-chart-canvas {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* Responsive stacking */
@media (max-width: 992px) {
  .row {
    flex-direction: column;
  }
}

/* Card shadows */
.summary-card,
.chart-section {
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

/* Button hover effects */
.btn {
  transition: all 0.3s ease-in-out;
  transform: scale(1);
}

.btn:hover {
  transform: scale(1.05);
}

/* Divider style */
.divider {
  border-top: 1px dashed #ccc;
  margin: 2rem 0;
}

/* === Legacy Utilities Worth Keeping === */
html, body {
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

footer {
  margin-top: auto;
}

@media (max-width: 768px) {
  .row > div {
    margin-bottom: 2rem;
  }
}

/* === Daily Cyber Question Box === */
.floating-box {
  position: fixed;
  bottom: 90px;
  right: 40px;
  width: 320px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 12px;
  border: 2px solid #ded3d1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: all 0.4s ease;
}

/* Minimized chat icon (like a chatbot launcher) */
.chat-fab {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #0d6efd;
  color: white;
  border-radius: 30px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  z-index: 1001;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.chat-fab:hover {
  background-color: #0b5ed7;
}

@media (max-width: 768px) {
  .floating-box {
    bottom: 70px;
    right: 10px;
    left: 10px;
    width: auto;
    max-height: 70vh;
    overflow-y: auto;
    padding: 16px;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    -webkit-overflow-scrolling: touch;
  }

  .floating-box form {
    display: flex;
    flex-direction: column;
  }

  .floating-box .form-check {
    margin-bottom: 10px;
  }

  .floating-box button[type="submit"] {
    margin-top: 10px;
  }
}

/* DevSecOps Page */

section.bg-light {
    margin-top: 2rem; /* Reduced top margin */
    margin-bottom: 2.5rem; /* Slightly less bottom margin */
}

section.bg-light h2,
section.bg-light h3 {
    margin-top: 0.25rem;  /* Less top margin */
    margin-bottom: 1rem;  /* Tighter below headings */
    font-weight: bold;
}

section.bg-light p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.service-card {
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #ffffff;
}

/* Hero Section Styling */
.hero-gradient {
    background: linear-gradient(135deg, #16222A, #3A6073);
    color: #F5F7FA;
    padding: 3rem 1rem; /* Reduced padding for more compact look */
    margin-bottom: 2rem; /* Less gap after hero section */
}

.hero-gradient h1,
.hero-gradient p {
    color: #F5F7FA !important;
    margin-bottom: 1rem; /* Reduced spacing within hero */
}

/* Adjust Testimonial and CTA Spacing */
.testimonial {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

section.bg-light h5 {
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

section.bg-light ul {
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
}

section.bg-light ul li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    section.bg-light {
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }

    .hero-gradient {
        padding: 2rem 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}

/* Intelligence Page Styles */
.hero-section {
    background: linear-gradient(135deg, #ded3d1 0%, #f4f4f4 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.hero-section .display-4 {
    color: #333;
    font-weight: 700;
}

.hero-section .lead {
    color: #495057;
}

.hero-section .btn-primary {
    background-color: #333;
    border-color: #333;
    color: #fff;
    transition: all 0.3s ease;
}

.hero-section .btn-primary:hover {
    background-color: #495057;
    border-color: #495057;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    opacity: 0.1;
}

.comparison-table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.comparison-table thead th {
    background: #ded3d1;
    color: #333;
    font-weight: 600;
    border: none;
    padding: 1.5rem;
}

.comparison-table thead th a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comparison-table thead th a:hover {
    color: #495057;
    text-decoration: underline;
}

.comparison-table tbody tr:hover {
    background-color: rgba(222, 211, 209, 0.1);
}

.comparison-table td {
    padding: 1.5rem;
    vertical-align: middle;
    color: #495057;
}

.benefit-card {
    transition: transform 0.3s ease;
    border: 1px solid rgba(222, 211, 209, 0.3);
    height: 100%;
    padding: 2rem;
    border-radius: 1rem;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.benefit-card h3 {
    color: #333;
    font-weight: 600;
}

.benefit-card p {
    color: #495057;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(222, 211, 209, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-wrapper i {
    color: #495057;
}

.cta-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #ded3d1 100%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 3rem;
    border-radius: 1rem;
    margin: 2rem 0;
}

.cta-wrapper h2 {
    color: #333;
    font-weight: 600;
}

.cta-wrapper p {
    color: #495057;
}

/* Intelligence Page Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section .display-4 {
        font-size: 2.5rem;
    }
    
    .benefit-card {
        margin-bottom: 1rem;
    }

    .comparison-table thead th,
    .comparison-table td {
        padding: 1rem;
    }

    .cta-wrapper {
        padding: 2rem;
    }
}

/* Plan Cards */
.plan-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(222, 211, 209, 0.3);
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.plan-card.featured {
    border: 2px solid #ded3d1;
    transform: scale(1.02);
}

.plan-card.featured:hover {
    transform: scale(1.02) translateY(-5px);
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(222, 211, 209, 0.3);
}

.plan-header h3 {
    color: #333;
    font-weight: 600;
}

.plan-link {
    display: inline-block;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.plan-link:hover {
    color: #333;
    text-decoration: underline;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.4;
}

.feature-item i {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Plan Cards Responsive */
@media (max-width: 768px) {
    .plan-card {
        padding: 1.5rem;
    }

    .plan-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    .feature-item {
        font-size: 0.9rem;
    }

    .plan-card.featured {
        transform: none;
    }

    .plan-card.featured:hover {
        transform: translateY(-5px);
    }
}

.icon-img {
    width: 40px;
    height: 40px;
}

/* Learn More Link Styles */
.learn-more-link {
    display: inline-block;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background-color: rgba(222, 211, 209, 0.2);
}

.learn-more-link:hover {
    background-color: rgba(222, 211, 209, 0.3);
    transform: translateX(5px);
    color: #000;
}

.learn-more-link .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.learn-more-link:hover .arrow {
    transform: translateX(3px);
}

/* Assessment Section Buttons */
.assessment-btn {
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.assessment-btn.primary {
    background: linear-gradient(135deg, #ded3d1 0%, #c4b5b2 100%);
    color: #333;
    box-shadow: 0 4px 15px rgba(222, 211, 209, 0.3);
}

.assessment-btn.secondary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.assessment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.assessment-btn.primary:hover {
    background: linear-gradient(135deg, #c4b5b2 0%, #ded3d1 100%);
}

.assessment-btn.secondary:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
}

.assessment-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* --- LIR Audit Results Modern Styles --- */

.hero-section {
  background: linear-gradient(90deg, #ded3d1 0%, #f7f5f4 100%);
  padding: 3rem 0 2rem 0;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  min-height: 220px;
  width: 100%;
  overflow: visible;
  display: flex;
  align-items: center;
}

.hero-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
}

.hero-subtitle {
  color: #444;
  font-size: 1.2rem;
}

.results-card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 2rem 1.5rem;
  margin-bottom: 1.5rem;
}

.card-icon {
  font-size: 2.2rem;
  color: #bfa89e;
}

.score-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}

.score-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2e7d32;
}

.score-max {
  font-size: 1.2rem;
  color: #888;
}

.score-grade {
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.grade-label {
  color: #888;
  margin-right: 0.3rem;
}

.grade-value {
  font-weight: 600;
  color: #333;
}

.audit-submission-card {
  background: #f9f6f5;
  border-radius: 1rem;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  padding: 1.5rem 1rem;
  margin-bottom: 2rem;
}

.audit-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.audit-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #222;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.audit-icon {
  font-size: 1.3rem;
}

.audit-meta {
  font-size: 0.95rem;
  color: #888;
  display: flex;
  gap: 1.2rem;
}

.audit-date {
  font-weight: 500;
}

.audit-company {
  font-style: italic;
}

.audit-accordion .accordion-item {
  background: #fff;
  border-radius: 0.75rem !important;
  margin-bottom: 0.75rem;
  border: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.audit-accordion .accordion-button {
  font-weight: 500;
  color: #333;
  background: #f7f5f4;
  border-radius: 0.75rem !important;
  transition: background 0.2s, color 0.2s;
}

.audit-accordion .accordion-button:not(.collapsed) {
  background: #ded3d1;
  color: #111;
}

.audit-accordion-body {
  background: #fff;
  border-radius: 0 0 0.75rem 0.75rem;
  padding: 1.2rem 1rem 1rem 1rem;
}

.result-metric {
  margin-bottom: 0.5rem;
}

.metric-label {
  font-weight: 500;
  color: #888;
  margin-right: 0.4rem;
}

.score-badge {
  display: inline-block;
  padding: 0.35em 0.8em;
  border-radius: 1em;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 0.2em;
}

.score-high {
  background: #d4edda;
  color: #256029;
}
.score-medium {
  background: #fff3cd;
  color: #856404;
}
.score-low {
  background: #f8d7da;
  color: #721c24;
}

.risk-indicator {
  font-size: 1.05rem;
  font-weight: 500;
}

.result-insight {
  margin-top: 0.5rem;
}

.insight-text {
  color: #555;
  font-size: 1rem;
  margin-bottom: 0;
}

.cta-section {
  background: #ded3d1;
  border-radius: 1rem;
  padding: 2rem 1rem;
  margin-top: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.cta-title {
  font-size: 1.4rem;
  font-weight: 600;
}

.cta-description {
  color: #333;
  font-size: 1.1rem;
}

.cta-buttons .btn {
  min-width: 180px;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .results-card { padding: 1.2rem 0.7rem; }
  .audit-header { flex-direction: column; gap: 0.5rem; }
  .audit-submission-card { padding: 1rem 0.5rem; }
  .cta-section { padding: 1.2rem 0.5rem; }
}
/* --- End LIR Audit Results Modern Styles --- */

/* Main Content */
.audit-results-equal-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .audit-results-equal-card {
    min-height: 220px;
  }
}

.chart-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-chart-canvas {
  width: 100% !important;
  max-width: 400px;
  height: 320px !important;
  max-height: 320px;
}

/* Enhance hero-section for visibility */
.hero-section {
  background: linear-gradient(90deg, #ded3d1 0%, #f7f5f4 100%);
  padding: 3rem 0 2rem 0;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  min-height: 220px;
  width: 100%;
  overflow: visible;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3.5rem 0 1.2rem 0; /* More top padding for header */
    min-height: 120px;
    margin-bottom: 1.2rem;
  }
  .hero-title {
    font-size: 1.4rem;
    line-height: 1.2;
    margin-bottom: 0.7rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
  }
  .pricing-nav {
    margin-bottom: 1.2rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100vw;
    max-width: 100vw;
    padding: 0 0.2rem;
    position: relative;
  }
  .pricing-nav .nav-pills {
    display: block;
    white-space: nowrap;
    overflow-x: auto;
    gap: 0;
    width: 100%;
    min-width: 400px;
    scrollbar-width: thin;
    scrollbar-color: #ded3d1 #f4f4f4;
  }
  .pricing-nav .nav-link {
    display: inline-block;
    white-space: nowrap;
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    min-width: 130px;
    text-align: center;
    border-radius: 2rem;
    margin-right: 0.3rem;
    margin-bottom: 0.2rem;
  }
  .pricing-nav .nav-link:last-child {
    margin-right: 0;
  }
  .pricing-nav::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 30px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to left, #f4f4f4 60%, rgba(244,244,244,0));
    z-index: 2;
    display: block;
  }
  .pricing-cards {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  .pricing-cards .col-md-4 {
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
    padding: 0;
    margin: 0;
  }
  .plan-card {
    padding: 1rem;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0.5rem;
  }
  .plan-header {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
  }
  .plan-header h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  .price-tag {
    font-size: 1.3rem;
  }
  .feature-list li {
    font-size: 0.95rem;
    padding-left: 1.1rem;
  }
  .plan-cta .btn {
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
  }
  .cta-section {
    padding: 1rem 0.2rem;
    margin-top: 1.5rem;
  }
  .cta-title {
    font-size: 1.1rem;
  }
  .cta-description {
    font-size: 0.95rem;
  }
}

/* Prevent horizontal overflow on mobile */
body, html {
  max-width: 100vw;
  overflow-x: hidden;
}

/* About Us Hero Section Styles (moved from inline) */
.hero-section {
    background: linear-gradient(135deg, #ded3d1 0%, #f4f4f4 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.hero-section h1 {
    color: #333;
    position: relative;
}

.hero-section .lead {
    color: #495057;
    position: relative;
}

/* Live Radar Chart Canvas for Audit Starter */
.live-radar-canvas {
  max-width: 320px;
  max-height: 220px;
  width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Large icon for hero section (audit starter) */
.hero-icon-large {
  font-size: 2.5rem;
  line-height: 1;
}

/* Make the answer container and slider fill the card width */
.answer-container,
.slider-container {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

/* Reduce card body horizontal padding for audit starter cards */
.card .card-body {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Pricing Page Styles */
.pricing-nav {
  margin-bottom: 3rem;
}

.pricing-nav .nav-pills {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.pricing-nav .nav-link {
  color: #333;
  background-color: #f4f4f4;
  border-radius: 2rem;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.pricing-nav .nav-link.active,
.pricing-nav .nav-link:hover {
  color: #fff;
  background-color: #007bff;
}

.section-title {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.pricing-cards {
  margin-top: 2rem;
}

.plan-card {
  background-color: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.plan-card.featured {
  border: 2px solid #007bff;
  transform: scale(1.05);
  position: relative;
  z-index: 2;
}

.plan-card.featured:hover {
  transform: translateY(-5px) scale(1.05);
}

.plan-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.plan-header h3 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.price-tag {
  font-size: 2.5rem;
  font-weight: 700;
  color: #007bff;
  margin-bottom: 0;
  line-height: 1;
}

.price-period {
  color: #6c757d;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.feature-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.plan-features {
  flex-grow: 1;
}

.feature-list li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.feature-list li:before {
  content: "✓";
  color: #28a745;
  position: absolute;
  left: 0;
}

.plan-cta {
  text-align: center;
  margin-top: auto;
}

@media (max-width: 992px) {
  .plan-card.featured {
    transform: none;
  }
  
  .plan-card.featured:hover {
    transform: translateY(-5px);
  }
  
  .pricing-nav .nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
  
  .pricing-nav .nav-link {
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .plan-card {
    margin-bottom: 2rem;
  }
  
  .price-tag {
    font-size: 2rem;
  }
}

/* Article Styling for newspaper-like feel */
.article-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    border-radius: 6px;
    line-height: 1.6;
}

.article-header {
    border-bottom: 2px solid #ececec;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.article-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #333;
}

.article-meta {
    color: #777;
    font-size: 0.9rem;
    font-style: italic;
}

.article-divider {
    width: 60%;
    margin: 1.5rem auto;
    border-top: 1px solid #ddd;
}

.lead-paragraph {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.lead-paragraph p:first-child {
    font-weight: 500;
}

.section-heading {
    font-size: 1.5rem;
    color: #333;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eaeaea;
}

.section-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
}

.section-content p {
    margin-bottom: 1rem;
}

.step-cards .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}

.step-cards .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.step-icon {
    width: 48px;
    height: 48px;
    background-color: #f4f4f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tips-section {
    background-color: #f4f8fb;
    border-radius: 8px;
    border-left: 4px solid #4a90e2;
}

.tips-list {
    padding-left: 1.5rem;
    margin-bottom: 0;
}

.tips-list li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 0.5rem;
}

.tips-list li:last-child {
    margin-bottom: 0;
}

.tips-list li strong {
    color: #333;
}

@media (max-width: 768px) {
    .article-container {
        padding: 1.5rem;
    }
    
    .article-title {
        font-size: 1.75rem;
    }
    
    .lead-paragraph {
        font-size: 1rem;
    }
    
    .section-heading {
        font-size: 1.3rem;
    }
}

/* Add some newspaper-like typography */
.article-body {
    font-family: 'Georgia', serif;
}

.article-title {
    font-family: 'Times New Roman', Times, serif;
}

.section-heading {
    font-family: 'Times New Roman', Times, serif;
}

/* App Article Styling */
.app-section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eaeaea;
}

.app-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.app-section .section-heading {
    font-size: 1.5rem;
    color: #333;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid #eaeaea;
}

.app-details {
    padding-left: 0.5rem;
}

.app-details p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.app-details strong {
    color: #333;
    font-weight: 600;
}

@media (max-width: 768px) {
    .app-section {
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }
    
    .app-section .section-heading {
        font-size: 1.3rem;
    }
}

/* Cyber Attacks Article Styling */
.attack-section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eaeaea;
}

.attack-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.attack-details {
    padding-left: 0.5rem;
}

.attack-quote {
    background-color: #f4f8fb;
    border-left: 4px solid #4a90e2;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #555;
}

.defense-section {
    background-color: #f4f9f4;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    border-left: 4px solid #28a745;
}

.defense-section h4 {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 1rem;
}

.defense-list {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.defense-list li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.defense-list li:last-child {
    margin-bottom: 0;
}

.defense-list li strong {
    color: #333;
}

@media (max-width: 768px) {
    .attack-section {
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }
    
    .attack-quote {
        padding: 0.8rem 1rem;
        margin: 1rem 0;
    }
    
    .defense-section {
        padding: 1rem;
        margin-top: 1.5rem;
    }
}

/* Articles Listing Page Styling */
.articles-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.articles-hero {
    margin-bottom: 3rem;
}

.articles-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.articles-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.articles-divider {
    width: 60%;
    margin: 1.5rem auto;
    border-top: 1px solid #ddd;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.article-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.article-image-container {
    height: 200px;
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image {
    transform: scale(1.05);
}

.article-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    font-family: 'Times New Roman', Times, serif;
}

.article-card-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1rem;
    font-style: italic;
}

.article-card-excerpt {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.article-link {
    align-self: flex-start;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    padding-bottom: 0.2rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.article-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.article-link:hover {
    color: #000;
    border-bottom: 2px solid #000;
}

.article-link:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .article-image-container {
        height: 180px;
    }
    
    .articles-title {
        font-size: 2rem;
    }
}

.step-icon-size {
    font-size: 1.5rem;
}

/* --- Pricing Page Mobile Improvements --- */
@media (max-width: 768px) {
  .pricing-nav {
    margin-bottom: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100vw;
    max-width: 100vw;
    padding: 0 0.5rem;
  }
  .pricing-nav .nav-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.25rem;
    width: 100%;
    min-width: 400px;
  }
  .pricing-nav .nav-link {
    font-size: 0.95rem;
    padding: 0.4rem 1rem;
    min-width: 120px;
    text-align: center;
  }
  .pricing-cards {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  .pricing-cards .col-md-4 {
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
    padding: 0;
    margin: 0;
  }
  .plan-card {
    padding: 1rem;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0.5rem;
  }
  .plan-header {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
  }
  .plan-header h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  .price-tag {
    font-size: 1.3rem;
  }
  .feature-list li {
    font-size: 0.95rem;
    padding-left: 1.1rem;
  }
  .plan-cta .btn {
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
  }
  .cta-section {
    padding: 1rem 0.2rem;
    margin-top: 1.5rem;
  }
  .cta-title {
    font-size: 1.1rem;
  }
  .cta-description {
    font-size: 0.95rem;
  }
}

@media (min-width: 992px) {
  /* Ensure parent containers do not break sticky */
  .row, .col-md-6 {
    overflow: unset !important;
  }
  #live-score-card {
    position: sticky;
    top: 90px;
    z-index: 10;
    align-self: flex-start;
  }
}

/* Distinct yellow/amber for medium risk */
.score-badge.score-medium {
  background: #ffe066 !important; /* bright yellow/amber */
  color: #856404 !important;      /* dark amber text */
  border: 1px solid #ffd700;
}

/* Modern Results Hero Section Styles */
.results-hero {
  background: linear-gradient(135deg, #ded3d1 0%, #f4f4f4 100%);
  padding: 3rem 0 2rem 0;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(47, 82, 129, 0.07);
  margin-bottom: 2rem;
}
.results-hero-icon {
  font-size: 3rem;
}
.results-hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2f5281;
}
.results-hero-subtitle {
  font-size: 1.15rem;
  color: #495057;
  margin-bottom: 1.2rem;
}
.results-hero-badge {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}
.score-badge.score-grade {
  background: #ded3d1;
  color: #333;
  font-weight: 600;
  border-radius: 1rem;
  padding: 0.4em 1.2em;
}

/* Test Report Styles */
.report-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ded3d1 0%, #f4f4f4 100%); /* Subtle gradient */
  padding: 6px 0; /* Further reduced padding to decrease height by another 50px */
  border-bottom: none; /* Remove border for a cleaner look */
}

.report-logo {
  max-width: 60px; /* Reduced max-width to scale logo proportionally with height */
  margin-bottom: 10px; /* Reduced space below logo */
}

.report-title {
  font-size: 2.8rem; /* Slightly larger title */
  margin: 20px 0;
  color: #2c3e50; /* Darker color for title */
}

.report-date {
  color: #555; /* Slightly darker color for date */
  font-size: 1.1rem; /* Slightly larger font size for date */
}

.confidential-badge {
  margin-top: 3rem; /* Increased space above badge */
}

/* Added styles for the new report header */
.report-main-header {
  margin-top: 8rem; /* Increased top margin further to prevent overlap with sticky header */
  margin-bottom: 2rem;
}

.report-main-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.report-intro {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

/* Added styles for the Table of Contents */
.toc-list ul {
  list-style: none;
  padding: 0;
}

.toc-list li {
  margin-bottom: 0.5rem;
}

.toc-list a {
  color: #3498db;
  text-decoration: none;
  font-size: 1.05rem;
}

.toc-list a:hover {
  text-decoration: underline;
}

.section-title {
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Added style for subsection titles */
.subsection-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

/* REMOVED custom risk-badge styles to use Bootstrap's native badge classes */

/* Enhanced styles for cards */
.threat-card, .recommendation-card, .appendix-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1.5rem 2rem; /* Adjusted padding */
  height: 100%; /* Keep height 100% for flex container */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  display: flex; /* Enable flexbox for card content alignment */
  flex-direction: column; /* Stack card content vertically */
}

.threat-card .card-title,
.recommendation-card .card-title,
.appendix-card .card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.evidence-code {
  background-color: #e9ecef;
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  font-size: 0.9rem;
  color: #333;
}

.recommendation-list, .threat-list, .reference-list {
  list-style-type: none;
  padding-left: 0;
  flex-grow: 1; /* Allow the list content to grow and fill space */
}

/* Added styles for threat list items */
.threat-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
  border-bottom: 1px dashed #ddd; /* Add a dashed border */
  padding-bottom: 0.5rem; /* Add padding below the border */
}

.threat-list li:last-child {
  border-bottom: none; /* Remove border from the last item */
  padding-bottom: 0; /* Remove padding from the last item */
}

.recommendation-list li:before, .threat-list li:before {
  content: "\2022"; /* Unicode for a solid bullet point */
  position: absolute;
  left: 0;
  color: #3498db;
  font-weight: bold;
}

.reference-list li {
   margin-bottom: 0.5rem;
  line-height: 1.6;
}

.reference-list a {
  color: #3498db;
  text-decoration: none;
}

.reference-list a:hover {
  text-decoration: underline;
}

/* Enhanced Table Styles */
.table th,
.table td {
  vertical-align: middle;
  padding: 0.75rem;
}

.table thead th {
  background-color: #e9ecef;
  color: #333;
  font-weight: 600;
}

.table tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

/* --- Enhanced styles for cards (keep for other sections) --- */
.recommendation-card, .appendix-card { /* Removed .threat-card */
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
}

.threat-card .card-title,
.recommendation-card .card-title,
.appendix-card .card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.evidence-code {
  background-color: #e9ecef;
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  font-size: 0.9rem;
  color: #333;
}

.recommendation-list, .threat-list, .reference-list {
  list-style-type: none;
  padding-left: 0;
  flex-grow: 1;
}

/* Removed specific styles for .threat-list li (as we are using .threat-category-list li now) */

/* Added styles for the new threat surface analysis structure */
.threat-category {
  margin-bottom: 1.5rem; /* Space between threat categories */
}

.threat-category-title {
  font-size: 1.1rem; /* Slightly smaller title than section title */
  font-weight: 600;
  color: #495057; /* Darker color for category titles */
  margin-bottom: 0.8rem;
  border-bottom: 1px solid #eee; /* Subtle separator */
  padding-bottom: 0.4rem;
}

.threat-category-list {
  list-style-type: disc; /* Use default bullet points for clarity */
  padding-left: 20px; /* Standard indentation for list */
}

.threat-category-list li {
  margin-bottom: 0.4rem; /* Space between list items */
  line-height: 1.5;
  color: #555;
}


.recommendation-list li:before, .threat-list li:before {
  content: "\2022"; /* Unicode for a solid bullet point */
  position: absolute;
  left: 0;
  color: #3498db;
  font-weight: bold;
}

.reference-list li {
   margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Styles for Risk Badges in tables */
.table .risk-badge {
  padding: 0.3rem 0.6rem; /* Increased padding */
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase; /* Make text uppercase */
  font-size: 0.85rem; /* Slightly smaller font size */
  display: inline-block;
  margin: 0 2px;
  min-width: 60px; /* Give badges a minimum width */
  text-align: center; /* Center text in badges */
}

.table .risk-high {
  background-color: #dc3545; /* Red */
  color: white;
}
.table .risk-medium {
  background-color: #ffc107; /* Yellow/Amber */
  color: black;
}
.table .risk-low {
  background-color: #28a745; /* Green */
  color: white;
}

/* Ensure general risk-badge styles don't interfere */
.risk-badge:not(.table .risk-badge) {
    /* Keep general styles here if needed, or remove if only used in tables */
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: inline-block;
    margin: 0 2px;
}

/* Risk level styling - scoped to specific contexts only */
table .risk-high,
.table .risk-high,
.risk-high.badge,
.risk-badge.risk-high {
    background-color: #dc3545;
    color: white;
}

table .risk-medium,
.table .risk-medium,
.risk-medium.badge,
.risk-badge.risk-medium {
    background-color: #ffc107;
    color: black;
}

table .risk-low,
.table .risk-low,
.risk-low.badge,
.risk-badge.risk-low {
    background-color: #28a745;
    color: white;
}

/* Styles for Risk Badges */
.risk-badge {
  padding: 0.35em 0.65em; /* Adjusted padding to match Bootstrap badge */
  border-radius: 0.25rem; /* Adjusted border-radius to match Bootstrap badge */
  font-weight: 700; /* Adjusted font-weight to match Bootstrap badge */
  text-transform: uppercase;
  font-size: 0.75em; /* Adjusted font-size relative to parent */
  display: inline-block;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  margin: 0 2px; /* Keep a small margin for spacing between badges */
}

/* Risk level colors for badges */
.risk-badge.risk-high {
  background-color: #dc3545; /* Bootstrap danger */
  color: white;
}

.risk-badge.risk-medium {
  background-color: #ffc107; /* Bootstrap warning */
  color: black;
}

.risk-badge.risk-low {
  background-color: #28a745; /* Bootstrap success */
  color: white;
}

/* Ensure these styles apply in the table context as well */
.table td .risk-badge {
  /* Inherits base styles from .risk-badge */
  /* Explicitly restating colors for clarity and potential specificity issues */
}

.table td .risk-badge.risk-high {
  background-color: #dc3545;
  color: white;
}

.table td .risk-badge.risk-medium {
  background-color: #ffc107;
  color: black;
}

.table td .risk-badge.risk-low {
  background-color: #28a745;
  color: white;
}

/* General Admin Layout */
.admin-layout {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: #f8f9fa;
  min-height: 0; /* Prevents overflow issues */
}

.admin-content {
  flex: 1 1 auto;
  overflow-y: auto;
  padding-top: 20px;
  padding-bottom: 80px;
  min-height: 0; /* Prevents overflow issues */
}

/* Info Cards for Stats */
.info-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.info-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.bg-primary-light { background-color: rgba(0, 123, 255, 0.1); }
.bg-success-light { background-color: rgba(40, 167, 69, 0.1); }
.bg-warning-light { background-color: rgba(255, 193, 7, 0.1); }
.bg-info-light { background-color: rgba(23, 162, 184, 0.1); }

.info-card-content {
  flex-grow: 1;
}

.info-card-title {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 5px;
}

.info-card-value {
  font-size: 1.8rem;
  font-weight: bold;
  color: #343a40;
}

.info-card-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.03);
  padding: 5px 20px;
  font-size: 0.8rem;
  color: #6c7786;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Base Cards for Sections */
.base-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.base-card-header {
  padding: 15px 20px;
  border-bottom: 1px solid #e0e0e0;
  background-color: #e9ecef;
}

.base-card-title {
  margin-bottom: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.base-card-body {
  padding: 20px;
}

/* Form and Input Group Enhancements */
.form-label {
    font-weight: 500;
}

.input-group-text {
    background-color: #e9ecef;
}

/* Table Enhancements */
.table th {
  font-weight: 600;
}

.avatar-sm {
  width: 35px;
  height: 35px;
}

.bg-secondary-light { background-color: rgba(108, 117, 125, 0.1); }

/* Modal Enhancements */
.modal-content {
  border-radius: 8px;
}

.modal-header {
  border-bottom: 1px solid #eee;
}

.modal-footer {
  border-top: 1px solid #eee;
}

/* Admin Button Styles */
.admin-btn-primary {
  background-color: #007bff; /* Primary blue */
  border: none;
  color: white;
  padding: 6px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 5px;
  transition: background-color 0.2s ease;
}
.admin-btn-primary:hover {
  background-color: #0056b3;
}
.admin-btn-secondary {
  background-color: #6c757d; /* Secondary grey */
  border: none;
  color: white;
  padding: 6px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 5px;
  transition: background-color 0.2s ease;
}
.admin-btn-secondary:hover {
  background-color: #545b62;
}
.admin-btn-danger {
  background-color: #dc3545;
  border: none;
  color: white;
  padding: 6px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 5px;
  transition: background-color 0.2s ease;
  box-shadow: none;
  outline: none;
}
.admin-btn-danger:hover {
  background-color: #b52a37;
  color: white;
}

.admin-btn-outline-primary {
    background-color: transparent;
    color: #007bff;
    border: 1px solid #007bff;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.admin-btn-outline-primary:hover {
    background-color: #007bff;
    color: white;
}

.admin-btn-outline-danger {
    background-color: transparent;
    color: #dc3545;
    border: 1px solid #dc3545;
    padding: 6px 12px; /* Slightly smaller for logout */
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.admin-btn-outline-danger:hover {
    background-color: #dc3545;
    color: white;
}

.admin-side-menu {
  position: fixed;
  top: 90px; /* below sticky navbar */
  left: 32px;
  width: 220px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 20px 0;
  z-index: 1040;
}

.admin-side-menu ul {
  list-style: none;
  margin: 0;
  padding: 0 20px;
}

.admin-side-menu li {
  margin-bottom: 18px;
}

.admin-side-menu a {
  color: #007bff;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.admin-side-menu a:hover {
  color: #0056b3;
  text-decoration: underline;
}

@media (max-width: 991px) {
  .admin-side-menu {
    display: none;
  }
}

/* Admin custom sidebar positioning */
.admin-side-menu-custom {
  left: 32px;
  right: auto;
  position: absolute;
  top: 80px;
  height: calc(100% - 80px);
  z-index: 10;
}
.admin-side-menu-list {
  margin-top: 1.5rem;
}
.customer-autocomplete-dropdown {
  z-index: 20;
  top: 100%;
  left: 0;
}

/* Pricing Page Enhancements */
.price-savings {
    font-weight: 600;
    margin-top: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    background-color: rgba(222, 211, 209, 0.3);
    color: #495057;
    display: inline-block;
}

.cta-feature {
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.cta-feature:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.plan-card .price-savings {
    margin-bottom: 1rem;
}

/* Enhanced pricing card styling */
.plan-card.featured {
    border: 2px solid #ded3d1;
    box-shadow: 0 4px 15px rgba(222, 211, 209, 0.2);
    transform: scale(1.02);
}

.plan-card.featured .plan-header {
    background: rgba(222, 211, 209, 0.1);
    color: #333;
}

.plan-card.featured .price-tag {
    color: #333;
}

.plan-card.featured .price-period {
    color: #6c757d;
}

/* CTA Feature Box Height Fix */
.cta-feature {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cta-feature h5 {
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-feature p {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .cta-feature {
        margin-bottom: 1rem;
    }
    
    .price-savings {
        font-size: 0.75rem;
    }
}