        /* Unique Top-Level Wrapper to contain all styles */
        .lpa-portal-wrapper {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f7f6;
            color: #333;
            line-height: 1.6;
            display: flex;
            flex-direction: column;
            align-items: center;
            box-sizing: border-box; /* Include padding/border in element's total width and height */
            width: 100%; /* Ensure wrapper takes full width */
        }

        /* Header Styling */
        .lpa-portal-header {
            background-color: #4CAF50;
            color: #ffffff;
            padding: 20px 0;
            width: 100%;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }

        .lpa-portal-header h1 {
            margin: 0;
            font-size: 2.5em;
        }

        .lpa-portal-header p {
            margin: 5px 0 0;
            font-size: 1.1em;
            opacity: 0.9;
        }

        .lpa-services-container {
            width: 90%;
            max-width: 900px;
            margin: 20px auto;
            padding: 10px;
        }

        /* Service Section Styling (Big Boxes) */
        .lpa-service-section {
            background-color: #ffffff;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            margin-bottom: 15px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            overflow: hidden; /* Ensures content transitions smoothly */
        }

        .lpa-section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 25px;
            background-color: #3498db; /* A vibrant blue for headers */
            color: white;
            cursor: pointer;
            font-size: 1.2em;
            font-weight: bold;
            border-bottom: 1px solid rgba(255,255,255,0.2);
            transition: background-color 0.3s ease;
        }

        .lpa-section-header:hover {
            background-color: #2980b9; /* Darker blue on hover */
        }

        .lpa-section-header h2 {
            margin: 0;
            font-size: 1.5em;
        }

        .lpa-toggle-icon {
            font-size: 1.8em;
            font-weight: bold;
            transform: rotate(0deg);
            transition: transform 0.3s ease;
        }

        .lpa-service-section.active .lpa-toggle-icon {
            transform: rotate(45deg); /* Changes '+' to 'x' or similar on active */
        }

        /* Section Content Styling (Hidden by default) */
        .lpa-section-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease-out, padding 0.4s ease-out; /* Smooth transition */
            padding: 0 25px; /* No padding when collapsed */
        }

        .lpa-service-section.active .lpa-section-content {
            max-height: 1000px; /* Adjust as needed for content height */
            padding: 20px 25px; /* Padding when expanded */
        }

        /* Service Item Styling (the clickable link replacement) */
        .lpa-service-item {
            display: flex; /* Use flexbox to align name and actions */
            flex-direction: column; /* Stack name and actions vertically initially */
            padding: 12px 0;
            color: #555;
            text-decoration: none;
            border-bottom: 1px solid #eee;
            transition: background-color 0.2s ease;
            font-size: 1.1em;
            cursor: pointer; /* Indicate it's clickable */
            position: relative; /* For absolute positioning of feedback */
            overflow: hidden; /* To handle slide-in effect */
        }

        .lpa-service-item:last-child {
            border-bottom: none;
        }

        .lpa-service-item:hover {
            background-color: #f9f9f9;
        }

        .lpa-service-name {
            display: block; /* Ensure the text takes full width */
            padding-right: 10px; /* Space for potential indicator if needed */
        }

        /* Service Actions Styling (hidden by default) */
        .lpa-service-actions {
            display: flex;
            gap: 10px; /* Space between buttons */
            padding-top: 10px; /* Space above buttons */
            height: 0; /* Initially hidden */
            overflow: hidden; /* Hide overflow during transition */
            opacity: 0; /* Start invisible */
            transition: height 0.3s ease-out, opacity 0.3s ease-out, padding-top 0.3s ease-out;
            align-items: center; /* Vertically align buttons */
            flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
        }

        .lpa-service-item.show-actions .lpa-service-actions {
            height: auto; /* Allow height to adjust */
            min-height: 40px; /* Ensure minimum height for buttons */
            opacity: 1; /* Fade in */
            padding-top: 10px;
        }

        .lpa-action-button {
            background-color: #007bff; /* Primary button color */
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 0.9em;
            transition: background-color 0.2s ease, transform 0.1s ease;
            white-space: nowrap; /* Prevent text wrapping */
        }

        .lpa-action-button:hover {
            background-color: #0056b3;
            transform: translateY(-1px); /* Slight lift on hover */
        }

        .lpa-action-button:active {
            transform: translateY(0);
        }

        .lpa-action-button.copy-link-button {
            background-color: #28a745; /* Green for copy */
        }
        .lpa-action-button.copy-link-button:hover {
            background-color: #218838;
        }

        .lpa-action-button.show-link-button {
            background-color: #ffc107; /* Orange for show link */
            color: #333;
        }
        .lpa-action-button.show-link-button:hover {
            background-color: #e0a800;
        }

        /* Displayed link text style */
        .lpa-displayed-link {
            background-color: #e9ecef;
            color: #495057;
            padding: 8px 15px;
            margin-top: 10px;
            border-radius: 5px;
            font-size: 0.9em;
            word-break: break-all; /* Ensures long links wrap */
            display: none; /* Hidden by default */
            transition: opacity 0.3s ease-out;
            opacity: 0;
            width: calc(100% - 30px); /* Adjust width to account for padding */
        }

        .lpa-displayed-link.show {
            display: block; /* Show when active */
            opacity: 1;
        }


        /* Copy Feedback Message */
        .lpa-copy-feedback {
            background-color: #5cb85c;
            color: white;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 0.8em;
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%) translateX(100%); /* Start off-screen to the right */
            opacity: 0;
            transition: transform 0.3s ease-out, opacity 0.3s ease-out;
            pointer-events: none; /* Allow clicks through it */
            white-space: nowrap;
        }

        .lpa-copy-feedback.show {
            transform: translateY(-50%) translateX(0); /* Slide in */
            opacity: 1;
        }

        /* Responsive Design for Mobile */
        @media (max-width: 768px) {
            .lpa-portal-header h1 {
                font-size: 1.8em;
            }

            .lpa-portal-header p {
                font-size: 0.9em;
            }

            .lpa-section-header {
                padding: 15px 20px;
                font-size: 1em;
            }

            .lpa-section-header h2 {
                font-size: 1.2em;
            }

            .lpa-service-item {
                padding: 10px 0;
                font-size: 1em;
            }

            .lpa-service-actions {
                flex-direction: column; /* Stack buttons vertically on small screens */
                align-items: flex-start;
                gap: 5px;
            }

            .lpa-action-button {
                width: 100%; /* Full width buttons on small screens */
                padding: 10px 15px;
            }

            .lpa-services-container {
                width: 95%;
                padding: 5px;
            }

            .lpa-displayed-link {
                width: calc(100% - 20px); /* Adjust for smaller padding on mobile */
            }
        }

    