/* --- Investments Archive Page Styles (investments.index) --- */
ul {
    padding: 0;
}
/* Page Header */
.page-header {
    padding: 5rem 0;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    text-align: center;
}
.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}
.page-header .container {
    position: relative;
    z-index: 2;
}
.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
}
.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}
.page-header .page-subtitle {
    display: block;
    font-size: 1rem;
    font-weight: bold;
    color: var(--color-primary, #daa520);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.page-header.with-thumbnail h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
/* New Investment Card Design */
.investment-archive-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.investment-archive-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.investment-archive-card .card-image {
    height: 250px;
    position: relative;
}
.investment-archive-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.investment-archive-card:hover .card-image img {
    transform: scale(1.05);
}

.investment-archive-card .card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Pushes footer to the bottom */
    text-align: right;
}
.investment-archive-card .card-title {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}
.investment-archive-card .card-title a {
    color: var(--color-dark-text);
    text-decoration: none;
    transition: color 0.3s;
}
.investment-archive-card .card-title a:hover {
    color: var(--color-primary);
}
.investment-archive-card .card-excerpt {
    color: var(--color-muted-text);
    margin-top: 1rem;
    flex-grow: 1;
}

.investment-archive-card .card-footer {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
    margin-top: 1rem;
}
.details-link {
    color: var(--color-primary);
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.details-link i {
    transition: transform 0.3s;
}
.details-link:hover i {
    transform: translateX(-5px); /* For RTL */
}

/* Pagination styles are reused from previous pages */
/* --- Single Investment Page Styles (investments.show) --- */

/* Page Header with thumbnail */
.page-header.with-thumbnail {
    min-height: 320px; /* Taller header for detail pages */
}
.page-header.with-thumbnail h1 {
    font-size: 3.5rem; /* Larger title */
}

/* Main content area */
.investment-content-wrapper {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.investment-content-wrapper .main-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-dark-text);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}
.investment-content-wrapper .description-content {
    line-height: 1.8;
    color: #444;
}

/* Embedded Map container */
.sub-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-dark-text);
    margin-bottom: 1.5rem;
}
.map-iframe-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-bottom: 60%; /* Aspect ratio for responsive iframe */
    height: 0;
}
.map-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important; /* Ensure it fills the container */
    height: 100% !important; /* Ensure it fills the container */
    border: none;
}

/* Sidebar Call-to-Action Widget */
.cta-widget {
    background: linear-gradient(145deg, #e6b23b, var(--color-primary));
    color: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.3);
}
.cta-widget .cta-icon {
    font-size: 3rem;
    line-height: 1;
    opacity: 0.5;
    margin-bottom: 1.5rem;
}
.cta-widget h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 2rem;
}
.cta-widget .btn-light {
    background-color: #fff;
    color: var(--color-primary);
    border: none;
    font-weight: bold;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.cta-widget .btn-light:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Reusing related items styles from other sidebars */
.related-services-list {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Space between each service link */
}

.related-service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    padding: 0; /* Remove default padding */
    border: none; /* Remove the old bottom border */
    background: none !important; /* Remove the hover background */
}
.related-service-item:hover .title {
    color: var(--color-primary); /* Change title color on hover */
}
.related-service-item:hover .icon {
    background-color: var(--color-primary-darker);
}

.related-service-item .title {
    margin: 15px 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark-text);
    line-height: 1.2;
    transition: color 0.3s;
    flex-grow: 1; /* Allow the title to take available space */
    text-align: right;
}

.related-service-item .icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* Prevent icon from shrinking */
    transition: background-color 0.3s;
}
.related-service-item .icon i {
    font-size: 1rem;
    /* Arrow points left in the design */
    transform: none; /* Reset the old transform */
}
/* --- Single Investment Page - REFINED FULL-WIDTH MAP STYLES --- */

/* Wrapper for the full-width map section */
.map-section {
    padding: 3rem 0; /* Add some vertical spacing */
}

.sub-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-dark-text);
    margin-bottom: 2rem;
    text-align: center;
}

/* IFrame Wrapper with light grey background */
.map-iframe-wrapper-fullwidth {
    background-color: #f1f3f6; /* Light grey background from your image */
    border-radius: var(--border-radius-large); /* Fully rounded corners */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-iframe-wrapper-fullwidth iframe {
    display: block;
    width: 100% !important; /* Ensure it fills the container */
    height: 600px !important; /* Fixed height as requested in iframe code */
    border: none;
    border-radius: 12px; /* Slightly rounded corners for the iframe itself */
}

/* Responsive Adjustments for the map */
@media (max-width: 768px) {
    .map-iframe-wrapper-fullwidth iframe {
        height: 450px; /* Make it a bit shorter on mobile */
    }
    .sub-section-title {
        font-size: 1.8rem;
    }
}
/* ==============================================
   === Global Rich Text Content Styles          ===
   ============================================== */

/* You can apply this class to any container that holds rich text */
.rich-text-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.rich-text-content h2,
.rich-text-content h3,
.rich-text-content h4,
.rich-text-content h5,
.rich-text-content h6 {
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-dark-text);
    line-height: 1.4;
}
.rich-text-content h2 {
    font-size: 2rem;
}
.rich-text-content h3 {
    font-size: 1.75rem;
}
.rich-text-content h4 {
    font-size: 1.5rem;
}

.rich-text-content p {
    margin-bottom: 1.25rem;
}
.rich-text-content a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s;
}
.rich-text-content a:hover {
    color: var(--color-primary-darker);
}

.rich-text-content ul,
.rich-text-content ol {
    padding-right: 1.5rem; /* For RTL */
    margin-bottom: 1.5rem;
}
.rich-text-content ul li::marker {
    color: var(--color-primary);
}
.rich-text-content li {
    margin-bottom: 0.75rem;
}

.rich-text-content blockquote {
    border-right: 4px solid var(--color-primary);
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    margin: 2rem 0;
    font-style: italic;
    color: var(--color-muted-text);
}
.rich-text-content blockquote p {
    margin-bottom: 0;
}

.rich-text-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.rich-text-content table {
    width: 100%;
    margin-bottom: 2rem;
    border-collapse: collapse;
}
.rich-text-content th,
.rich-text-content td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    text-align: right;
}
.rich-text-content th {
    background-color: #f1f3f6;
    font-weight: 600;
}
/* --- Investment Show Page - Map Sidebar Styles --- */
.sidebar-map {
    height: 450px; /* Adjust height as needed */
    border-radius: 12px;
    width: 100%;
}
/* Ensure the popups follow our theme */
.leaflet-popup-content-wrapper {
    background-color: var(--color-primary); /* Gold background */
    color: #fff;
    border-radius: 8px;
}
.leaflet-popup-content .popup-title {
    font-size: 1.1rem;
    font-weight: 700;
}
.leaflet-popup-content a {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
}
.leaflet-popup-tip {
    background-color: var(--color-primary);
}
/* --- Single Investment Page Styles --- */

/* ... .page-header, .investment-content-wrapper, .cta-widget ... */
/* ... all other styles from the previous correct responses ... */

/* === THE KEY FIX FOR THE MAP === */
.sidebar-widget {
    /* Styles from before */
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.widget-title {
    /* Styles from before */
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-muted-text);
    margin-bottom: 1.5rem;
}

.sidebar-map {
    width: 100%;
    height: 450px; /* **Ensure this has a fixed height** */
    border-radius: 12px;
    z-index: 0; /* Add z-index to solve potential stacking context issues with Leaflet */
}

/* --- Leaflet Popup Customization --- */
.leaflet-popup-content-wrapper {
    background-color: var(--color-primary, #daa520);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.leaflet-popup-content {
    font-family: "Cairo", sans-serif;
    margin: 10px 15px;
}
.leaflet-popup-content .popup-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
}
.leaflet-popup-content a {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
}
.leaflet-popup-tip {
    background: var(--color-primary, #daa520);
}
/* Leaflet attribution links color */
.leaflet-control-attribution a {
    color: #777;
}
/* CTA Section Styling */
.investment-cta-wrapper {
    overflow: hidden;
}

.cta-card {
    background: linear-gradient(135deg, #1e272e 0%, #2d3436 100%);
    border-radius: 20px;
    padding: 50px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(225, 177, 44, 0.1);
    z-index: 1;
}

.cta-content {
    color: #fff;
}

.cta-badge {
    background-color: rgba(225, 177, 44, 0.2);
    color: #e1b12c;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
    border: 1px solid rgba(225, 177, 44, 0.3);
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #e1b12c; /* اللون الذهبي الخاص بالهوية */
}

.cta-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #dfe6e9;
    max-width: 600px;
}

/* زر الاستدعاء - Button Styling */
.btn-cta-map {
    background-color: #e1b12c;
    color: #1e272e;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid #e1b12c;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(225, 177, 44, 0.3);
}

.btn-cta-map:hover {
    background-color: transparent;
    color: #e1b12c;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(225, 177, 44, 0.5);
}

.btn-cta-map i {
    font-size: 1.4rem;
}

/* زخرفة في الخلفية للحفاظ على الهوية */
.cta-decoration {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(225, 177, 44, 0.1) 0%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: -1;
}

/* تحسين الاستجابة للموبايل */
@media (max-width: 991px) {
    .cta-card {
        padding: 30px 20px;
    }
    .cta-title {
        font-size: 1.5rem;
    }
    .btn-cta-map {
        width: 100%;
        justify-content: center;
    }
}
/* تنسيق قسم الخريطة التفاعلي الجديد */
.map-dynamic-container {
    display: flex;
    flex-direction: row; /* لجعل القائمة على اليمين والخريطة يسارها */
    height: 550px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #fff;
    border: 1px solid #ddd;
}

.map-projects-sidebar {
    width: 320px;
    background: #fff;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #eee;
    z-index: 2;
}

.map-projects-sidebar .sidebar-header {
    background: #1e272e;
    color: #e1b12c;
    padding: 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.projects-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
}

/* تصميم كارت المشروع في السايدبار */
.project-item-card {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.project-item-card:hover,
.project-item-card.active {
    background: #fff;
    border-color: #e1b12c;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: scale(1.02);
}

.project-item-card h4 {
    font-size: 0.95rem;
    margin: 0 0 5px 0;
    color: #333;
    font-weight: 600;
}

.project-item-card .view-link {
    font-size: 0.8rem;
    color: #e1b12c;
    text-decoration: none;
    display: block;
    margin-top: 5px;
}

.map-canvas-wrapper {
    flex-grow: 1;
    position: relative;
}

/* تخصيص الـ Popups داخل الخريطة لتكون أجمل */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    padding: 0;
}
.popup-title {
    font-weight: bold;
    color: #1e272e;
    border-bottom: 1px solid #eee;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

/* استجابة الشاشات */
@media (max-width: 768px) {
    .map-dynamic-container {
        flex-direction: column;
        height: 700px;
    }
    .map-projects-sidebar {
        width: 100%;
        height: 250px;
        border-left: none;
        border-bottom: 1px solid #eee;
    }
}
/* --- Home Page CTA Section --- */
.investment-plan-cta {
    padding: 80px 0;
    background-color: #fdfdfd;
}

.plan-cta-card {
    background: #1e272e;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(225, 177, 44, 0.1);
}

.plan-cta-content {
    padding: 60px;
    color: #fff;
}

.section-badge {
    background: #e1b12c;
    color: #1e272e;
    display: inline-block;
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 20px;
}

.plan-cta-content .title {
    font-size: 2.2rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 20px;
}

.plan-cta-content .description {
    color: #dfe6e9;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.btn-gold-lg {
    background: #e1b12c;
    color: #1e272e;
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
}

.btn-gold-lg:hover {
    background: #fff;
    color: #1e272e;
    transform: translateX(-5px);
}

.plan-cta-image {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    /* background-image: url("https://images.unsplash.com/photo-1541888941255-0816962f2a74?q=80&w=2070&auto=format&fit=crop"); صورة تجريبية لمدينة أو كباري */
}

.image-overlay-logo {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 10px;
}

/* --- Plan Docs List Page --- */
.plan-doc-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
    transition: 0.3s;
}

.doc-icon {
    font-size: 3rem;
    color: #e74c3c;
    margin-left: 20px;
}

.doc-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.download-arrow {
    position: absolute;
    left: 25px;
    font-size: 1.5rem;
    color: #e1b12c;
    transition: 0.3s;
}

.download-arrow:hover {
    transform: translateY(5px);
    color: #1e272e;
}

/* Sharek Widget Style */
.sharek-cta-card {
    background: linear-gradient(135deg, #10b6ef, #066fc0);
    padding: 30px;
    border-radius: 20px;
    color: #fff;
    text-align: center;
}
.sharek-cta-card h4 {
    font-weight: 800;
    margin-top: 15px;
}
.app-store-links img {
    height: 35px;
    margin: 5px;
}
/* --- تجميل وتنسيق الصفحة العامة للخطط --- */
.official-page-bg {
    background-color: #f1f4f8;
    font-family: "Cairo", sans-serif;
}

/* تعديل الهيدر الخاص بصفحة الخطط */
.dark-header {
    background-color: #1e272e;
    background-blend-mode: overlay;
    padding: 80px 0;
    color: #fff;
    border-bottom: 5px solid #e1b12c;
}
.dark-header h1 {
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 10px;
}
.dark-header .page-subtitle {
    color: #e1b12c;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

/* --- تصميم كروت الوثائق (الملفات) --- */
.plans-display-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.plan-doc-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.4s ease;
    border-right: 6px solid #1e272e; /* التحديد من اليمين للهوية */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.plan-doc-card:hover {
    transform: translateX(-10px); /* حركة لليمين في العربي */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-right-color: #e1b12c; /* يتحول للذهبي عند التفاعل */
}

/* أيقونة الملف PDF */
.doc-icon {
    font-size: 3.5rem;
    color: #ff5e57; /* أحمر كلاسيكي للـ PDF */
    margin-left: 25px;
    filter: drop-shadow(0 5px 10px rgba(231, 76, 60, 0.2));
}

.doc-info h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e272e;
    margin-bottom: 5px;
}

.doc-info p {
    color: #718093;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* تنسيق الأزرار داخل الكارت */
.btn-outline-dark {
    border-radius: 50px;
    border: 2px solid #1e272e;
    font-weight: 700;
    transition: 0.3s;
}
.btn-outline-dark:hover {
    background: #1e272e;
    color: #fff;
}

.btn-outline-success {
    border-radius: 50px;
    border: 2px solid #27ae60;
    font-weight: 700;
}

/* سهم التحميل الجانبي */
.download-arrow {
    position: absolute;
    left: 30px; /* يسار الكارت */
    width: 50px;
    height: 50px;
    background: rgba(225, 177, 44, 0.1);
    color: #e1b12c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: 0.3s;
    text-decoration: none;
}
.download-arrow:hover {
    background: #e1b12c;
    color: #1e272e;
    transform: rotate(360deg);
}

/* --- تصميم سكشن "شارك" الجانبي --- */
.sharek-cta-card {
    background: linear-gradient(135deg, #0984e3 0%, #00a8ff 100%);
    border-radius: 25px;
    padding: 35px;
    color: #fff;
    text-align: center;
    box-shadow: 0 15px 40px rgba(9, 132, 227, 0.3);
    overflow: hidden;
}

.sharek-cta-card h4 {
    font-weight: 900;
    margin-top: 20px;
    font-size: 1.5rem;
}
.sharek-cta-card p {
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.app-logo {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    border-radius: 15px;
    transition: 0.4s;
}

.app-store-links {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.app-store-links img {
    height: 40px;
    transition: 0.3s;
}
.app-store-links img:hover {
    transform: scale(1.1);
}

/* --- تصميم ويدجيت الإحصائيات --- */
.quick-info-widget {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #eee;
}
.quick-info-widget h5 {
    color: #1e272e;
    font-weight: 800;
    border-bottom: 2px solid #e1b12c;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.quick-info-widget ul li {
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    color: #4b6584;
}
.quick-info-widget ul li strong {
    color: #e1b12c;
}

/* استجابة الشاشات */
@media (max-width: 991px) {
    .plan-doc-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        border-right: 0;
        border-bottom: 6px solid #1e272e;
    }
    .doc-icon {
        margin-left: 0;
        margin-bottom: 15px;
    }
    .download-arrow {
        position: relative;
        left: auto;
        margin-top: 20px;
    }
    .btn-group {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .ms-2 {
        margin-left: 0 !important;
    }
}
.btn-group > .btn-group:not(:last-child) > .btn,
.btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
    border-radius: 50px;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}
.btn-group > .btn-group:not(:first-child) > .btn,
.btn-group > .btn:nth-child(n + 3),
.btn-group > :not(.btn-check) + .btn {
    border-radius: 50px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}
