/* Global Styles for Fruitful Dashboard */
        /* Define Fruitful Global Color Palette and Base Styles (Consistent with Dashboard) */
        :root {
            /* Dark Mode Defaults */
            --primary-color: #0071e3; /* Apple Blue */
            --secondary-color: #ff3b30; /* Vibrant Red for Sonic */
            --text-color-light: #f5f5f7; /* Light text on dark backgrounds */
            --text-color-dark: #1d1d1f; /* Dark text on light backgrounds - used for some components that flip colors */
            --bg-color-dark: #1a1a1c; /* Deep black/dark grey */
            --card-bg-dark: #2a2a2e; /* Darker grey for dark cards */
            --border-color-dark: #3a3a3e; /* Subtle dark border */
            --accent-gold: #B8860B; /* Corporate gold accent */
            --status-active: #30d158; /* Green for active */
            --status-pending: #f59e0b; /* Amber for pending */
            --status-draft: #6e6e73; /* Gray for draft */
            --status-error: #ef4444; /* Red for error */

            /* Light Mode Variables (will override dark mode) */
            --light-primary-color: #0071e3;
            --light-secondary-color: #ff3b30;
            --light-text-color-light: #1d1d1f; /* Dark text for light mode body */
            --light-text-color-dark: #1d1d1f; /* Dark text for light mode body content */
            --light-bg-color-dark: #ffffff; /* White background for light mode */
            --light-card-bg-dark: #fcfcfc; /* Off-white for light cards */
            --light-border-color-dark: #e8e8ed; /* Subtle light border */
        }

        /* Base Body Styling - Defaults to dark mode based on root variables */
        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-color-dark);
            color: var(--text-color-light); /* Main text color based on mode */
            min-height: 100vh;
            display: flex; /* Use flexbox for main layout */
            flex-direction: row; /* Sidebar and content side-by-side */
            transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition for theme change */
            margin: 0;
            padding: 0;
            overflow: hidden; /* Prevent body scroll, inner containers will scroll */
        }

        /* Sidebar Styling */
        .sidebar {
            width: 280px; /* Wider sidebar */
            background-color: var(--card-bg-dark);
            padding: 1.5rem 1rem;
            border-right: 1px solid var(--border-color-dark);
            box-shadow: 2px 0 10px rgba(0,0,0,0.3);
            display: flex;
            flex-direction: column;
            flex-shrink: 0;
            overflow-y: auto; /* Scrollable sidebar */
            position: sticky; /* Keep sidebar visible on scroll */
            top: 0;
            height: 100vh; /* Make it full height */
        }
        .sidebar-header {
            text-align: center;
            margin-bottom: 2rem;
            position: relative; /* For theme toggle button positioning */
        }
        .sidebar-header .theme-toggle {
            position: absolute;
            top: 0;
            right: 0;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--text-color-light); /* Icon color changes with theme */
            transition: color 0.3s ease;
        }
        .sidebar-header .theme-toggle:hover {
            color: var(--primary-color);
        }
        .sidebar-header .logo-text {
            font-size: 1.8rem;
            font-weight: 800;
            color: #FFFFFF; /* Fruitful part in white */
            line-height: 1; /* Adjust line height for better alignment */
        }
        .sidebar-header .logo-text span {
            color: var(--secondary-color); /* CodeNest part in red */
            font-size: 0.8em; /* Make 'CodeNest' slightly smaller relative to 'Fruitful' */
            letter-spacing: -0.02em; /* Tighter spacing for "CodeNest" */
        }
        /* Nav list simplified for menu page - just a placeholder for dashboard structure */
        .nav-list {
            display: flex;
            flex-direction: column;
            margin-top: 1rem;
            flex-grow: 1; /* Pushes content down */
        }
        .nav-list a {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.8rem 1rem;
            margin-bottom: 0.5rem;
            border-radius: 8px;
            color: var(--text-color-light); 
            text-decoration: none;
            font-weight: 500;
            transition: all 0.2s ease-in-out;
            background-color: transparent;
        }
        .nav-list a.active {
            background-color: rgba(0, 113, 227, 0.2); /* Active state background */
            color: var(--primary-color);
        }
        .nav-list a:hover {
            background-color: rgba(0, 113, 227, 0.1);
            color: var(--primary-color);
        }
        .nav-icon {
            font-size: 1.2rem;
            color: var(--secondary-color);
        }

        /* Right Content Wrapper: Contains main content and footer */
        .right-content-wrapper {
            flex-grow: 1; /* Takes up remaining horizontal space */
            display: flex;
            flex-direction: column; /* Stacks main-content and footer vertically */
            overflow-y: auto; /* Allows scrolling for the entire right side */
            height: 100vh; /* Ensures it takes full height to enable internal scrolling */
        }

        /* Main Content Area within the right-content-wrapper */
        .main-content {
            flex-grow: 1; /* Pushes the footer to the bottom if content is short */
            padding: 2.5rem; /* Padding for content inside */
            background-color: var(--bg-color-dark); /* Background changes with theme */
            /* No overflow-y: auto here, as right-content-wrapper handles it */
            /* No fixed height, let content dictate or flex-grow fill space */
        }

        /* Content Sections within main-content */
        .content-section {
            display: none; /* Hidden by default, controlled by JS */
            flex-direction: column; /* Ensures content within section stacks vertically */
        }
        .content-section.active {
            display: flex;
        }

        /* General Panel Styling */
        .panel {
            background-color: var(--card-bg-dark); 
            padding: 2rem;
            border-radius: 12px;
            margin-bottom: 2.5rem;
            border: 1px solid var(--border-color-dark); 
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
            text-align: center; /* Center content within panel */
        }
        .panel h1, .panel h2, .panel h3, .panel h4 {
            color: var(--secondary-color);
            font-weight: 700;
            margin-top: 0;
            margin-bottom: 1.5rem;
        }
        .panel h1 { font-size: 2.5rem; }
        .panel h3 { font-size: 1.8rem; }
        .panel h4 { font-size: 1.4rem; }
        .panel p {
            color: var(--text-color-light); 
            line-height: 1.6;
            text-align: left; /* Align text left for readability */
        }

        /* Responsive adjustments */
        @media (max-width: 767px) {
            body {
                flex-direction: column;
            }
            .sidebar {
                width: 100%;
                height: auto;
                padding: 1rem;
                border-right: none;
                border-bottom: 1px solid var(--border-color-dark);
                flex-direction: row;
                justify-content: space-around;
                flex-wrap: wrap;
                position: sticky;
                top: 0;
                z-index: 40;
            }
            .sidebar-header {
                width: 100%;
                margin-bottom: 1rem;
                display: flex;
                justify-content: center;
                align-items: center;
                height: auto;
            }
            .sidebar-header .theme-toggle {
                position: relative;
                top: auto;
                right: auto;
                margin-left: 1rem;
            }
            .sidebar-header .logo-text {
                font-size: 1.5rem;
                letter-spacing: -0.01em;
            }
            .sidebar-header .logo-text span {
                font-size: 0.8em;
            }
            .nav-list {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                width: 100%;
            }
            .nav-list a {
                margin: 0.2rem 0.3rem;
                padding: 0.5rem 0.6rem;
                font-size: 0.75rem;
                gap: 0.5rem;
                flex-grow: 1;
                justify-content: center;
            }
            .nav-list a .nav-icon {
                font-size: 0.9rem;
                margin-right: 0.2rem;
            }

            .right-content-wrapper {
                height: auto; /* Allow height to adjust */
            }

            .main-content {
                padding: 1rem;
            }
            .panel {
                padding: 1.5rem;
                margin-bottom: 1.5rem;
            }
            .panel h3 { font-size: 1.5rem; margin-bottom: 1rem;}
            .panel h4 { font-size: 1.2rem; margin-bottom: 0.8rem;}
            .metric-card p { font-size: 2rem; }
            .project-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            .project-actions button {
                padding: 0.5rem 0.8rem;
                font-size: 0.8rem;
                margin-right: 0.3rem;
                margin-top: 0.5rem;
            }
            .form-control {
                margin-bottom: 1rem;
            }
            .form-control input, .form-control select, .form-control textarea {
                padding: 0.6rem;
                font-size: 0.9rem;
            }
            .form-action-button {
                padding: 0.7rem 1.2rem;
                font-size: 0.9rem;
            }
            .chart-container {
                height: 250px;
            }
            .api-key-table th, .api-key-table td {
                padding: 0.6rem;
                font-size: 0.8rem;
            }
            .api-key-value {
                font-size: 0.7rem;
            }
            .security-note {
                padding: 0.8rem;
                font-size: 0.8rem;
            }
        }

        /* Styles for visual containers/snapshots */
        .info-section {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
            margin-bottom: 2.5rem;
        }

        .info-card {
            background-color: var(--card-bg-dark);
            border: 1px solid var(--border-color-dark);
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .info-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        }

        .info-card .icon-large {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }
        .info-card .emoji-large {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .info-card h4 {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--secondary-color);
            margin-bottom: 0.75rem;
            text-align: center;
        }

        .info-card p {
            font-size: 0.95rem;
            line-height: 1.5;
            color: var(--text-color-light);
            text-align: center;
            margin-bottom: 0;
        }

        body.light-mode .info-card {
            background-color: var(--light-card-bg-dark);
            border-color: var(--light-border-color-dark);
        }
        body.light-mode .info-card .icon-large {
            color: var(--light-primary-color);
        }
        body.light-mode .info-card h4 {
            color: var(--light-secondary-color);
        }
        body.light-mode .info-card p {
            color: var(--light-text-color-dark);
        }

        /* New styles for the search input group */
        .search-input-group {
            display: flex;
            align-items: center;
            background-color: var(--card-bg-dark);
            border: 2px solid var(--border-color-dark); /* Thicker default border */
            border-radius: 8px;
            padding: 0.5rem 1rem; /* Adjust padding to fit icon and input */
            margin-bottom: 2rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2); /* Subtle shadow */
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }

        .search-input-group:focus-within { /* Apply styles when any child element is focused */
            border-color: var(--primary-color); /* Primary color border on focus */
            box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.3); /* Blue glow on focus */
        }

        .search-input-group .search-icon {
            color: var(--text-color-light);
            font-size: 1.2rem;
            margin-right: 0.75rem; /* Space between icon and input */
        }

        .search-input-group input[type="text"] {
            flex-grow: 1; /* Input takes remaining space */
            background-color: transparent; /* Inherit background from parent group */
            border: none; /* Remove individual input border */
            outline: none; /* Remove default outline */
            color: var(--text-color-light);
            font-size: 1rem;
            padding: 0; /* Remove default input padding */
        }

        .search-input-group input::placeholder {
            color: var(--text-color-light); /* Placeholder color for dark mode */
            opacity: 0.7; /* Make placeholder slightly transparent */
        }

        /* Light mode adjustments for search input group */
        body.light-mode .search-input-group {
            background-color: var(--light-card-bg-dark);
            border-color: var(--light-border-color-dark);
        }
        body.light-mode .search-input-group:focus-within {
            border-color: var(--light-primary-color);
            box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.2);
        }
        body.light-mode .search-input-group .search-icon {
            color: var(--text-color-dark);
        }
        body.light-mode .search-input-group input[type="text"] {
            color: var(--text-color-dark);
        }
        body.light-mode .search-input-group input::placeholder {
            color: var(--text-color-dark);
        }

        /* Styles for API list items to make them "smart bullet pointed" and clickable */
        .api-list {
            display: flex;
            flex-direction: column;
            gap: 0.75rem; /* Space between API items */
            margin-top: 1rem;
            text-align: left; /* Ensure text aligns left within the list */
        }

        .api-item {
            background-color: var(--bg-color-dark); /* Slightly darker background for individual API items */
            border: 1px solid var(--border-color-dark);
            border-radius: 8px;
            padding: 1rem;
            transition: background-color 0.2s ease, border-color 0.2s ease;
            cursor: pointer; /* Indicate clickability */
        }

        .api-item:hover {
            background-color: #3a3a3e; /* Lighter on hover */
            border-color: var(--primary-color); /* Highlight border on hover */
        }

        body.light-mode .api-item {
            background-color: var(--light-bg-color-dark);
            border-color: var(--light-border-color-dark);
        }
        body.light-mode .api-item:hover {
            background-color: #f0f0f0;
            border-color: var(--light-primary-color);
        }

        .api-item .api-endpoint {
            display: block; /* Make it a block element for spacing */
            font-family: 'Inter', monospace; /* Monospace font for code */
            font-size: 1.25rem; /* Even Larger font size for VIP endpoints */
            font-weight: 900; /* Extra Bold */
            color: var(--primary-color); /* Highlight color */
            margin-bottom: 0.5rem; /* Space between endpoint and description */
            word-break: break-all; /* Break long URLs */
        }
        body.light-mode .api-item .api-endpoint {
            color: var(--light-primary-color);
        }

        .api-item .api-description {
            font-size: 0.95rem; /* Slightly larger for description */
            color: var(--text-color-light);
            line-height: 1.4;
            text-align: left;
        }
        body.light-mode .api-item .api-description {
            color: var(--text-color-dark);
        }

        .api-item .api-description strong {
            font-weight: 800; /* Make bold text within description stand out more */
            color: var(--secondary-color); /* Secondary color for bolded actions */
        }

        /* New style for VIP text within info-card paragraphs */
        .info-card p .vip-text {
            font-weight: 700; /* Bolder */
            font-size: 1.05em; /* Slightly larger than surrounding text */
            color: var(--secondary-color); /* Use secondary color for emphasis */
            background-color: rgba(255, 59, 48, 0.1); /* Subtle red highlight */
            padding: 0.1em 0.3em;
            border-radius: 4px;
            display: inline-block; /* Allows padding and background */
            line-height: 1.4; /* Ensure line height is maintained */
        }
        body.light-mode .info-card p .vip-text {
            background-color: rgba(255, 59, 48, 0.05); /* Lighter highlight for light mode */
            color: var(--light-secondary-color);
        }

        /* Specific styling for code snippets within VIP text */
        .info-card p .vip-text code {
            font-family: 'Inter', monospace;
            font-size: 0.95em; /* Slightly smaller than VIP text for code clarity */
            background-color: rgba(0, 113, 227, 0.1); /* Blue highlight for code */
            padding: 0.1em 0.3em;
            border-radius: 3px;
            color: var(--primary-color);
        }
        body.light-mode .info-card p .vip-text code {
            background-color: rgba(0, 113, 227, 0.05);
            color: var(--light-primary-color);
        }

        /* Styling for the "NEW" badge */
        .new-badge {
            background-color: var(--primary-color);
            color: white;
            font-weight: 700;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px; /* Pill shape */
            font-size: 0.8rem;
            margin-top: 1rem;
            display: inline-block;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }

        /* Apple-inspired refinements */
        .panel {
            background-color: var(--card-bg-dark);
            border: none; /* Remove default border for cleaner look */
            box-shadow: 0 8px 30px rgba(0,0,0,0.4); /* Stronger, softer shadow */
            padding: 3rem; /* More internal padding */
            margin-bottom: 3rem; /* More space between panels */
        }

        .info-card {
            background-color: var(--bg-color-dark); /* Use darker background for sub-cards */
            border: 1px solid rgba(255,255,255,0.08); /* Very subtle light border */
            border-radius: 16px; /* More rounded corners */
            padding: 2rem; /* Increased padding */
            box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* Softer shadow */
            transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
        }

        .info-card:hover {
            transform: translateY(-8px); /* More pronounced lift */
            box-shadow: 0 12px 30px rgba(0,0,0,0.4); /* Deeper shadow on hover */
            background-color: #313136; /* Slightly lighter on hover */
        }
        body.light-mode .info-card {
            background-color: var(--light-card-bg-dark);
            border: 1px solid rgba(0,0,0,0.08);
        }
        body.light-mode .info-card:hover {
            background-color: #f5f5f5;
        }

        .info-card h4 {
            font-size: 1.5rem; /* Larger headings */
            font-weight: 700; /* Bolder */
            color: var(--text-color-light); /* Use light text color for headings */
            letter-spacing: -0.02em; /* Tighter letter spacing */
            margin-bottom: 1rem;
        }
        body.light-mode .info-card h4 {
            color: var(--text-color-dark);
        }

        .info-card p {
            font-size: 1.05rem; /* Slightly larger body text */
            line-height: 1.7; /* More generous line height */
            color: rgba(255,255,255,0.7); /* Softer text color */
            text-align: center;
        }
        body.light-mode .info-card p {
            color: rgba(0,0,0,0.7);
        }

        .info-card .emoji-large, .info-card .icon-large {
            font-size: 3.5rem; /* Even larger icons/emojis */
            margin-bottom: 1.5rem; /* More space below icons */
        }

        .api-item {
            background-color: var(--card-bg-dark); /* Match panel background for API items */
            border: 1px solid rgba(255,255,255,0.1); /* Subtle border */
            border-radius: 12px; /* More rounded */
            padding: 1.25rem; /* More padding */
            box-shadow: 0 2px 8px rgba(0,0,0,0.15); /* Lighter shadow */
        }
        .api-item:hover {
            background-color: #313136; /* Consistent hover with info-card */
            border-color: var(--primary-color);
        }
        body.light-mode .api-item {
            background-color: var(--light-card-bg-dark);
            border: 1px solid rgba(0,0,0,0.1);
        }
        body.light-mode .api-item:hover {
            background-color: #f5f5f5;
        }

        .api-item .api-endpoint {
            font-size: 1.35rem; /* Larger endpoint text */
            font-weight: 800; /* Bolder */
            color: var(--primary-color); /* Primary blue for endpoints */
            margin-bottom: 0.75rem;
        }
        body.light-mode .api-item .api-endpoint {
            color: var(--light-primary-color);
        }

        .api-item .api-description {
            font-size: 1rem; /* Slightly larger description text */
            line-height: 1.6;
            color: rgba(255,255,255,0.7);
        }
        body.light-mode .api-item .api-description {
            color: rgba(0,0,0,0.7);
        }

        .api-item .api-description strong {
            font-weight: 700; /* Bolder actions */
            color: var(--secondary-color); /* Vibrant red for actions */
        }

        .vip-text {
            font-weight: 800; /* Even bolder */
            font-size: 1.1em; /* More pronounced larger size */
            color: var(--secondary-color); /* Stronger red emphasis */
            background-color: rgba(255, 59, 48, 0.15); /* More visible red highlight */
            padding: 0.15em 0.4em; /* Increased padding */
            border-radius: 6px; /* More rounded highlight */
            display: inline-block; /* Allows padding and background */
            line-height: 1.4; /* Ensure line height is maintained */
        }
        body.light-mode .vip-text {
            background-color: rgba(255, 59, 48, 0.08); /* Lighter highlight for light mode */
            color: var(--light-secondary-color);
        }

        .vip-text code {
            font-family: 'Inter', monospace;
            font-size: 0.95em; /* Slightly smaller than VIP text for code clarity */
            background-color: rgba(0, 113, 227, 0.15); /* More visible blue highlight */
            padding: 0.1em 0.3em;
            border-radius: 3px;
            color: var(--primary-color);
        }
        body.light-mode .vip-text code {
            background-color: rgba(0, 113, 227, 0.08);
            color: var(--light-primary-color);
        }

        /* Code Block Copy Button styles */
        .code-block-container {
            position: relative;
            background-color: #2a2a2e; /* Dark background for code */
            border-radius: 8px;
            padding: 1rem;
            margin-top: 1rem;
            overflow-x: auto; /* Enable horizontal scroll for long lines */
        }

        .code-block-container .copy-button {
            position: absolute;
            top: 0.5rem;
            right: 0.5rem;
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 4px;
            padding: 0.3rem 0.6rem;
            font-size: 0.8rem;
            cursor: pointer;
            transition: background-color 0.2s ease;
            z-index: 10; /* Ensure button is above text */
        }

        .code-block-container .copy-button:hover {
            background-color: #005bb5;
        }

        .code-block-container pre {
            background-color: transparent;
            color: #f5f5f7; /* Light text for code */
            padding: 1rem 0; /* Adjust padding to make space for button */
            margin: 0;
            white-space: pre-wrap; /* Preserve whitespace and wrap lines */
            word-break: break-all; /* Allow words to break */
            font-family: 'Inter', monospace;
            font-size: 0.9rem;
            line-height: 1.5;
        }

        body.light-mode .code-block-container {
            background-color: #f0f0f0;
            border: 1px solid #e8e8ed;
        }

        body.light-mode .code-block-container pre {
            color: #1d1d1f;
        }

        /* Styles for iframe to ensure it fills available space */
        .full-height-iframe {
            width: 100%;
            height: calc(100vh - 100px); /* Adjust height to account for header/footer if needed */
            border: none;
            overflow: auto;
        }

        /* --- START Global Payment Portal Specific CSS --- */
        /* CSS Variables for theming */
        :root {
            --text-color-light: #1d1d1f;
            --text-color-dark: #f5f5f7;
            --bg-color-light: #f5f5f7;
            --bg-color-dark: #121212;
            --card-bg-light: #ffffff;
            --card-bg-dark: #1e1e1e;
            --border-color-light: #e8e8ed;
            --border-color-dark: #3a3a3e;
            --primary-color: #0071e3; /* Fruitful primary blue */
            --minenest-color: #D2691E; /* Chocolate */
            --minenest-accent-color: #E97451; /* Burnt Sienna */
            --muted-text-light: #6e6e73;
            --muted-text-dark: #a0a0a5;
        }
        /* Base body styles with smooth transitions for theme changes */
        /* body styles are already defined in main portal, these are overrides for embedded content */
        .global-payment-section h1, .global-payment-section h2, .global-payment-section h3, .global-payment-section p {
            color: var(--text-color-dark); /* Ensure text is readable within embedded section */
        }
        .light-mode .global-payment-section h1, .light-mode .global-payment-section h2, .light-mode .global-payment-section h3, .light-mode .global-payment-section p {
            color: var(--text-color-light);
        }

        /* Container for content centering and padding */
        .global-payment-section .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        /* Header Bar Styling (removed as main portal has header) */
        
        /* Section padding and border styles */
        .global-payment-section .section-padding { padding: 80px 20px; border-bottom: 1px solid var(--border-color-dark); }
        .light-mode .global-payment-section .section-padding { border-bottom-color: var(--border-color-light); }
        .global-payment-section .section-padding:last-of-type { border-bottom: none; }
        .global-payment-section .section-title { font-size: 2.5rem; font-weight: 800; text-align: center; margin-bottom: 50px; }
        
        /* Internal Portal Hero Section (Blue gradient) */
        .global-payment-section .internal-hero {
            text-align: center;
            padding: 100px 20px;
            background: linear-gradient(135deg, var(--primary-color) 0%, #005bb5 100%); /* Blue gradient for internal theme */
            color: white;
            border-radius: 12px;
            margin: 20px auto;
            max-width: 1200px;
            box-shadow: 0 10px 30px rgba(0, 113, 227, 0.4);
        }
        .global-payment-section .internal-hero h1 { font-size: 4rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px; text-shadow: 2px 2px 8px rgba(0,0,0,0.3); }
        .global-payment-section .internal-hero p { font-size: 1.5rem; max-width: 900px; margin: 0 auto 40px; line-height: 1.5; color: rgba(255, 255, 255, 0.9); }
        
        /* MineNest Hero section specific styles (Orange/Brown gradient) */
        .global-payment-section .minenest-hero {
            text-align: center;
            padding: 100px 20px;
            background: linear-gradient(135deg, var(--minenest-color) 0%, var(--minenest-accent-color) 100%);
            color: white;
            border-radius: 12px;
            margin: 20px auto;
            max-width: 1200px;
            box-shadow: 0 10px 30px rgba(210, 105, 30, 0.4);
        }
        .global-payment-section .minenest-hero h1 { font-size: 4rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px; text-shadow: 2px 2px 8px rgba(0,0,0,0.3); }
        .global-payment-section .minenest-hero p { font-size: 1.5rem; max-width: 900px; margin: 0 auto 40px; line-height: 1.5; color: rgba(255, 255, 255, 0.9); }

        /* Info card styles (for SSO/Payment Info) */
        .global-payment-section .info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
        .global-payment-section .info-card { background-color: var(--card-bg-dark); padding: 30px; border-radius: 12px; border: 1px solid var(--border-color-dark); text-align: left; }
        .light-mode .global-payment-section .info-card { background-color: var(--card-bg-light); border-color: var(--border-color-light); }
        .global-payment-section .info-card .icon { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 15px; }
        .global-payment-section .info-card h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 10px; }
        .global-payment-section .info-card p { font-size: 1rem; color: var(--muted-text-dark); line-height: 1.6; }
        .light-mode .global-payment-section .info-card p { color: var(--muted-text-light); }

        /* Feature grid layout (for MineNest features) */
        .global-payment-section .feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
        .global-payment-section .feature-card { background-color: var(--card-bg-dark); padding: 30px; border-radius: 12px; border: 1px solid var(--border-color-dark); text-align: left; }
        .light-mode .global-payment-section .feature-card { background-color: var(--card-bg-light); border-color: var(--border-color-light); }
        .global-payment-section .feature-card .icon { font-size: 2.5rem; color: var(--minenest-accent-color); margin-bottom: 15px; }
        .global-payment-section .feature-card h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 10px; }
        .global-payment-section .feature-card p { font-size: 1rem; color: var(--muted-text-dark); line-height: 1.6; }
        .light-mode .global-payment-section .feature-card p { color: var(--muted-text-light); }

        /* Pricing grid layout (for MineNest pricing) */
        .global-payment-section .pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; margin-top: 50px; align-items: stretch; }
        .global-payment-section .pricing-card { background-color: var(--card-bg-dark); padding: 40px; border-radius: 16px; display: flex; flex-direction: column; border: 1px solid var(--border-color-dark); }
        .light-mode .global-payment-section .pricing-card { background-color: var(--card-bg-light); border-color: var(--border-color-light); }
        .global-payment-section .pricing-card h3 { font-size: 1.8rem; font-weight: 700; text-align: center; }
        .global-payment-section .pricing-card .price { font-size: 2.8rem; font-weight: 800; text-align: center; margin: 15px 0; }
        .global-payment-section .pricing-card .price-description { font-size: 1rem; text-align: center; color: var(--muted-text-dark); flex-grow: 1; margin-bottom: 20px; }
        .light-mode .global-payment-section .pricing-card .price-description { color: var(--muted-text-light); }
        .global-payment-section .pricing-card ul { list-style: none; padding: 0; margin-bottom: 30px; flex-grow: 1; }
        .global-payment-section .pricing-card ul li { font-size: 1rem; margin-bottom: 10px; display: flex; align-items: center; }
        .global-payment-section .pricing-card ul li i { margin-right: 10px; width: 20px; }
        .global-payment-section .paypal-button-container { margin-top: auto; }
        
        /* Gemini Section Styles */
        /* Internal Gemini Section */
        .global-payment-section #internal-gemini-section {
            background-color: var(--card-bg-dark);
        }
        .light-mode .global-payment-section #internal-gemini-section {
            background-color: var(--card-bg-light);
        }
        .global-payment-section #internal-gemini-input {
            background-color: #3a3a3e;
            border-color: var(--border-color-dark);
        }
        .light-mode .global-payment-section #internal-gemini-input {
            background-color: #e8e8ed;
            border-color: #d1d1d1;
            color: var(--text-color-light);
        }
        .global-payment-section #internal-gemini-button {
            background-color: var(--primary-color); /* Blue for internal portal */
        }
        .global-payment-section #internal-gemini-button:hover {
            background-color: #005bb5; /* Darker blue on hover */
        }
        .global-payment-section #internal-gemini-button:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }
        .global-payment-section #internal-gemini-result {
            background-color: var(--bg-color-dark);
            border: 1px dashed var(--border-color-dark);
            min-height: 150px;
        }
        .light-mode .global-payment-section #internal-gemini-result {
            background-color: #e8e8ed;
            border-color: #d1d1d1;
        }

        /* MineNest Gemini Section */
        .global-payment-section #minenest-gemini-section {
            background-color: var(--card-bg-dark);
        }
        .light-mode .global-payment-section #minenest-gemini-section {
            background-color: var(--card-bg-light);
        }
        .global-payment-section #minenest-gemini-input {
            background-color: #3a3a3e;
            border-color: var(--border-color-dark);
        }
        .light-mode .global-payment-section #minenest-gemini-input {
            background-color: #e8e8ed;
            border-color: #d1d1d1;
            color: var(--text-color-light);
        }
        .global-payment-section #minenest-gemini-button {
            background-color: var(--minenest-accent-color); /* MineNest accent color */
        }
        .global-payment-section #minenest-gemini-button:hover {
            background-color: var(--minenest-color); /* MineNest color on hover */
        }
        .global-payment-section #minenest-gemini-button:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }
        .global-payment-section #minenest-gemini-result {
            background-color: var(--bg-color-dark);
            border: 1px dashed var(--border-color-dark);
            min-height: 150px;
        }
        .light-mode .global-payment-section #minenest-gemini-result {
            background-color: #e8e8ed;
            border-color: #d1d1d1;
        }

        /* Currency Converter Section */
        .global-payment-section #currency-converter-section .currency-input-group {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .global-payment-section #currency-converter-section select,
        .global-payment-section #currency-converter-section input[type="number"] {
            width: 100%;
            padding: 0.75rem;
            border-radius: 0.5rem;
            background-color: #3a3a3e;
            border: 1px solid var(--border-color-dark);
            color: var(--text-color-dark);
            font-size: 1rem;
        }
        .light-mode .global-payment-section #currency-converter-section select,
        .light-mode .global-payment-section #currency-converter-section input[type="number"] {
            background-color: #e8e8ed;
            border-color: #d1d1d1;
            color: var(--text-color-light);
        }

        .global-payment-section #currency-converter-section select option {
            background-color: #ffffff !important;
            color: #1d1d1f !important;
        }

        .global-payment-section #currency-converter-section button {
            background-color: var(--primary-color);
            color: white;
            font-weight: bold;
            padding: 0.75rem 1.5rem;
            border-radius: 0.5rem;
            cursor: pointer;
            transition: background-color 0.2s ease;
            width: 100%;
        }
        .global-payment-section #currency-converter-section button:hover {
            background-color: #005bb5;
        }
        .global-payment-section #currency-converter-section button:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .global-payment-section #currency-converter-result {
            margin-top: 1.5rem;
            padding: 1rem;
            border: 1px dashed var(--border-color-dark);
            border-radius: 0.5rem;
            min-height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            font-size: 1.25rem;
            font-weight: 600;
        }
        .light-mode .global-payment-section #currency-converter-result {
            background-color: #e8e8ed;
            border-color: #d1d1d1;
        }

        @media (min-width: 640px) {
            .global-payment-section #currency-converter-section .currency-input-group {
                flex-direction: row;
                align-items: center;
            }
            .global-payment-section #currency-converter-section input[type="number"],
            .global-payment-section #currency-converter-section select {
                flex: 1;
            }
            .global-payment-section #currency-converter-section button {
                width: auto;
            }
        }

        /* Toggle switch for annual/monthly pricing */
        .global-payment-section .toggle-switch-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 30px;
            background-color: var(--card-bg-dark);
            border-radius: 20px;
            padding: 5px;
            border: 1px solid var(--border-color-dark);
        }
        .light-mode .global-payment-section .toggle-switch-container {
            background-color: var(--card-bg-light);
            border-color: var(--border-color-light);
        }
        .global-payment-section .toggle-switch-container button {
            background-color: transparent;
            border: none;
            padding: 8px 20px;
            border-radius: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            color: var(--muted-text-dark);
        }
        .light-mode .global-payment-section .toggle-switch-container button {
            color: var(--muted-text-light);
        }
        .global-payment-section .toggle-switch-container button.active {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }
        /* --- END Global Payment Portal Specific CSS --- */

        /* --- START Interns Admin Portal Specific CSS --- */
        #internsAdminPortalSection .panel {
            background: linear-gradient(135deg, #FFD700, #FFA500); /* Gold to Orange gradient */
            color: #1D1D1F; /* Dark text for readability on bright background */
            border: 3px solid #B8860B; /* Darker gold border */
            box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4); /* Gold glow */
            padding: 3.5rem; /* More padding */
            margin-bottom: 3rem;
            border-radius: 20px; /* More rounded corners */
            text-align: center;
        }

        #internsAdminPortalSection .panel h1,
        #internsAdminPortalSection .panel h2,
        #internsAdminPortalSection .panel h3,
        #internsAdminPortalSection .panel h4 {
            color: #8B4513; /* SaddleBrown for headings */
            font-weight: 900; /* Extra bold */
            text-shadow: 1px 1px 2px rgba(255,255,255,0.5); /* Light shadow for depth */
        }

        #internsAdminPortalSection .panel p {
            color: #333333; /* Darker grey for body text */
            font-size: 1.1rem;
            line-height: 1.8;
            text-align: center;
        }

        #internsAdminPortalSection .info-card {
            background-color: rgba(255, 255, 255, 0.85); /* Slightly transparent white cards */
            border: 1px solid #FFC107; /* Amber border */
            box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Lighter shadow */
            transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
        }

        #internsAdminPortalSection .info-card:hover {
            transform: translateY(-10px) rotate(-1deg); /* Funky lift and slight rotate */
            box-shadow: 0 15px 40px rgba(0,0,0,0.2); /* More pronounced shadow */
            background-color: rgba(255, 255, 255, 0.95); /* Brighter on hover */
        }

        #internsAdminPortalSection .info-card .emoji-large {
            font-size: 4rem; /* Even larger emojis */
            filter: drop-shadow(2px 2px 3px rgba(0,0,0,0.2)); /* Drop shadow for emojis */
        }

        #internsAdminPortalSection .info-card h4 {
            color: #D2691E; /* Chocolate color for card headings */
            font-size: 1.6rem; /* Larger font */
            letter-spacing: 0.05em; /* Wider letter spacing */
            text-transform: uppercase; /* Uppercase for impact */
        }

        #internsAdminPortalSection .info-card p {
            color: #555555; /* Medium grey for card text */
            font-size: 1.05rem;
        }
        /* --- END Interns Admin Portal Specific CSS --- */

        /* --- START Legal Index Specific CSS --- */
        .legal-index-section .main-container-style {
            background-color: #ffffff; /* white */
            border-top: 8px solid #4f46e5; /* indigo-600 */
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); /* shadow-2xl */
            border-radius: 1.5rem; /* rounded-3xl */
            padding: 2rem; /* Adjusted padding */
        }
        .legal-index-section .top-fruitful-header {
            background-color: #ffffff; /* White background for the header */
            padding: 1rem 2rem; /* Padding top/bottom and left/right */
            box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Subtle shadow */
            margin-bottom: 2rem; /* Space between header and main content */
            width: 100%;
            max-width: 1024px; /* Constrain width like container */
            border-radius: 0.75rem; /* Rounded corners */
            display: flex;
            align-items: center;
            justify-content: flex-start; /* Align Fruitful to the left */
        }
        .legal-index-section .fruitful-logo-text {
            font-family: 'Inter', sans-serif;
            font-size: 2.5rem; /* Large font size for the logo */
            font-weight: 800; /* Extra bold */
            color: #4f46e5; /* Indigo-700 or a strong brand color */
            margin-right: 0.5rem; /* Space between text and TM symbol */
        }
        .legal-index-section .faazone-header h1 {
            font-size: 1.75rem;
        }
        @media (min-width: 640px) {
            .legal-index-section .faazone-header h1 {
                font-size: 2.5rem;
            }
        }
        .legal-index-section .faazone-header span {
            font-size: 2.5rem;
        }
        @media (min-width: 640px) {
            .legal-index-section .faazone-header span {
                font-size: 3rem;
            }
        }
        .legal-index-section .document-item {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 0.75rem;
            padding: 0.75rem;
            border-radius: 0.75rem;
            background-color: #f8fafc; /* slate-50 */
            border: 1px solid #e2e8f0; /* slate-200 */
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            transition: all 0.2s ease-in-out;
            text-align: left; /* Ensure text aligns left within item */
            width: 100%;
        }
        @media (min-width: 640px) {
            .legal-index-section .document-item {
                flex-direction: row;
                align-items: flex-start;
                gap: 1rem;
                padding: 1rem;
            }
        }
        .legal-index-section .document-item:hover {
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            transform: translateY(-2px);
            border-color: #a78bfa; /* purple-400 */
        }
        .legal-index-section .document-item .icon {
            flex-shrink: 0;
            font-size: 2.5rem;
            color: #4f46e5; /* indigo-600 */
        }
        @media (min-width: 640px) {
            .legal-index-section .document-item .icon {
                font-size: 2.5rem;
            }
        }
        .legal-index-section .document-item-content h3 {
            font-size: 1.25rem;
            font-weight: 600;
            color: #1e293b; /* slate-900 */
            margin-bottom: 0.25rem;
        }
        @media (min-width: 640px) {
            .legal-index-section .document-item-content h3 {
                font-size: 1.125rem;
            }
        }
        .legal-index-section .document-item-content p {
            font-size: 0.95rem;
            color: #475569; /* slate-600 */
            margin-bottom: 0.5rem;
        }
        @media (min-width: 640px) {
            .legal-index-section .document-item-content p {
                font-size: 0.95rem;
            }
        }
        .legal-index-section .document-item-content a {
            color: #4f46e5; /* indigo-600 */
            font-weight: 500;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
        }
        .legal-index-section .document-item-content a:hover {
            text-decoration: underline;
        }
        .legal-index-section .document-item-content a svg {
            margin-left: 0.25rem;
        }
        /* Specific styles for the footer, extracted from the original document */
        .legal-index-section .custom-footer { /* Renamed to avoid conflict with `footer` tag style */
            background-color: #1a1a1a; /* bg-gray-900 from Tailwind, equivalent to this dark gray */
            color: white;
            padding: 2rem 1.5rem; /* py-8 px-6 */
            text-align: center;
            width: 100%; /* Ensure footer spans full width */
            margin-top: auto; /* Push to the bottom */
        }

        @media (min-width: 768px) {
            .legal-index-section .custom-footer {
                padding-left: 5rem; /* md:px-20 */
                padding-right: 5rem; /* md:px-20 */
            }
        }

        .legal-index-section .banimal-footer-content {
            max-width: 48rem; /* max-w-2xl */
            margin-left: auto;
            margin-right: auto;
        }

        .legal-index-section .banimal-footer-content h1 {
            font-size: 2rem; /* text-3xl */
            line-height: 1.25; /* leading-tight */
            font-weight: 800; /* font-extrabold */
            color: #ffffff; /* text-white */
            margin-bottom: 0.5rem; /* mb-2 */
        }

        @media (min-width: 768px) {
            .legal-index-section .banimal-footer-content h1 {
                font-size: 2.25rem; /* md:text-4xl */
            }
        }

        @media (min-width: 1024px) {
            .legal-index-section .banimal-footer-content h1 {
                font-size: 3rem; /* lg:text-5xl */
            }
        }

        .legal-index-section .banimal-footer-content .text-blue-400 {
            color: #60a5fa; /* Tailwind's blue-400 */
        }

        .legal-index-section .banimal-footer-content p {
            font-size: 1rem; /* text-base */
            line-height: 1.625; /* leading-relaxed */
            color: #d1d5db; /* text-gray-300 */
            margin-bottom: 1.5rem; /* mb-6 */
        }

        @media (min-width: 768px) {
            .legal-index-section .banimal-footer-content p {
                font-size: 1.125rem; /* md:text-lg */
            }
        }

        .legal-index-section .cta-button {
            background-color: #3b82f6; /* bg-blue-600 */
            color: #ffffff; /* text-white */
            font-weight: 600; /* font-semibold */
            padding: 0.75rem 1.5rem; /* py-3 px-6 */
            border-radius: 9999px; /* rounded-full */
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition-property: background-color;
            transition-duration: 0.2s; /* duration-200 */
            text-decoration: none; /* Ensure it looks like a button, not a plain link */
        }

        .legal-index-section .cta-button:hover {
            background-color: #2563eb; /* hover:bg-blue-700 */
        }

        .legal-index-section .cta-button .ml-2 {
            margin-left: 0.5rem; /* ml-2 */
        }

        .legal-index-section .copyright {
            font-size: 0.875rem; /* text-sm */
            color: #6b7280; /* text-gray-500 */
            margin-top: 2rem; /* mt-8 */
        }

        .legal-index-section .copyright a {
            color: #60a5fa; /* text-blue-400 */
            text-decoration: none;
        }

        .legal-index-section .copyright a:hover {
            text-decoration: underline;
        }
        /* --- END Legal Index Specific CSS --- */