
        :root {
            --primary: #005aab;
            --valid: #00cc88;
            --error: #ff4444;
        }


        body {

            margin: 0;
            background: #f4f4f4;
            font-family: 'Segoe UI', sans-serif;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            overflow-y: auto;
        }


        #popup {
            position: relative;
            background: white;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
            text-align: center;
            width: 320px;
			max-width: 340px;
            margin: 100px auto; /* this centers it with scroll */
            animation: fadeIn 0.4s ease;
        }


        h2 {
            margin-top: 0;
            color: var(--primary);
        }

        #result {
            font-size: 16px;
            margin-top: 20px;
            font-weight: bold;

        }

        #claimBtn {
            margin-top: 25px;
            display: none;
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 10px 20px;
            font-size: 15px;
            border-radius: 8px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        #claimBtn:hover {
            background-color: #005fa3;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: scale(0.95); }
            to { opacity: 1; transform: scale(1); }
        }

        .login-options {
            margin-top: 25px;
        }

        .login-options p {
            font-weight: bold;
            margin-bottom: 10px;
            color: #333;
        }

        .auth-buttons {
            display: flex;
            justify-content: center;
            gap: 15px;
        }

        .auth-button {
            width: 40px;
            height: 40px;
            opacity: 0.3;
            cursor: not-allowed;
            transition: transform 0.2s;
        }

        .auth-button.enabled {
            opacity: 1;
            cursor: pointer;
        }

        .auth-button.enabled:hover {
            transform: scale(1.1);
        }

        .auth-buttons-vertical {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            margin-top: 10px;
        }

        .auth-button-box {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 20px;
            border-radius: 8px;
            border: 1px solid #ccc;
            background-color: #fff;
            font-size: 14px;
            font-weight: 500;
            color: #333;
            width: 220px;
            justify-content: center;
            cursor: not-allowed;
            opacity: 0.5;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .auth-button-box img.auth-logo {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            object-fit: contain;
        }

        .auth-button-box.enabled {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;                  /* spacing between logo and text */
            padding: 12px 24px;
            font-size: 16px;
            font-weight: 500;
            background-color: #0b72b9;
            color: white;
            border-radius: 10px;
            border: none;
            transition: transform 0.2s;
        }

        .auth-button-box.enabled:hover {
            transform: scale(1.05);
            box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        }



        #versionTag {
            font-size: 8px;
            color: #666;
            position: absolute;
            bottom: 12px;
            right: 20px;
            font-family: monospace;
        }

        #mainContent {
            display: flex;
            flex-direction: column;
            align-items: center;
            max-width: 800px;
            margin: 40px auto;
            padding: 30px;
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        #mainContent h2 {
            color: var(--primary);
            font-size: 24px;
            margin-bottom: 20px;
            text-align: center;
        }

        #mainContent p {
            width: 100%;
            font-size: 16px;
            text-align: left;
            margin: 10px 0;
            line-height: 1.5;
        }

        #mainContent iframe,
        #mainContent img {
            max-width: 100%;
            border: 1px solid #ccc;
            border-radius: 8px;
            margin: 20px 0;
        }

        .editBtn {
            transition: all 0.3s ease;
        }

        .disabled-button {
            margin-top: 40px;
            padding: 16px 48px;
            font-size: 18px;
            font-weight: 600;
            border-radius: 12px;
            background-color: #ccc;
            color: #bbb;
            border: none;
            cursor: not-allowed;
            opacity: 0.6;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
        }

        .enabled {
            background-color: var(--primary);
            color: white;
            cursor: pointer;
            opacity: 1;
            box-shadow: 0 4px 10px rgba(0, 119, 204, 0.2);
            padding: 18px 52px;   /* ✅ new size here */
            font-size: 19px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        #assetNameInput {
            font-size: 13px !important;
        }



         .artifact-overlay {
             position: absolute;
             top: -1px;
             right: 10px;

             font-size: 10px;
             color: orangered;

            /* padding: 4px 8px;
             border-radius: 4px;
             background: #333;
             color: #fff;
             box-shadow: 0 1px 3px rgba(0,0,0,0.2);
             */

         }


        .spinner {
            border: 4px solid #f3f3f3;
            border-top: 4px solid #3498db;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            animation: spin 1s linear infinite;
            margin: 10px auto;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }




/*
        .asset-banner {

            width: 100%;
            max-width: 720px;
            margin: 12px auto;
            box-sizing: border-box;
            padding: 12px;
            border: 1px solid #aaa;
            border-radius: 8px;
            background-color: #fff8e1;

            font-weight: bold;
            position: relative;
            cursor: pointer;
        }

        .asset-banner-info {
            font-size: 13px;
            text-align: center;
        }


        .remote-content {
            width: 100%;
            max-width: 720px;
            margin: 0 auto 16px auto;
            padding: 14px;
            background: #fff;
            border: 1px solid #ccc;
            border-top: none;
            box-sizing: border-box;
            border-radius: 0 0 10px 10px;
            display: none;
        }

        .asset-banner::after {
            content: '▶';
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 16px;
            transition: transform 0.2s ease;
        }

        .asset-banner.active::after {
            content: '▼';
        }
*/


        .asset-banner {
            width: 100%;
            max-width: 720px;
            margin: 12px auto;
            box-sizing: border-box;
            padding: 12px;
            border: 1px solid #aaa;
            border-radius: 8px;
            background-color: #fff8e1; /* light yellow */
            font-weight: bold;
            position: relative;
            cursor: pointer;
            display: block;
        }

        /* Info text inside banner */
        .asset-banner-info {
            font-size: 13px;
            text-align: center;
        }

        /* Toggle arrow icon */
        .asset-banner::after {
            content: '▶';
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 16px;
            transition: transform 0.2s ease;
        }

        .asset-banner.active::after {
            content: '▼';
        }

        /* Expand/collapse target area */
        .remote-content {
            max-height: 0;
            opacity: 0;
            visibility: hidden;
            overflow: hidden;
            transition: all 0.3s ease;
            width: 100%;
            max-width: 720px;
            margin: 0 auto 16px auto;
            padding: 0 14px;
            box-sizing: border-box;
            border-radius: 0 0 10px 10px;
            background: #fff;
            border: 1px solid #ccc;
            border-top: none;
            overflow-wrap: break-word;
        }

        /* Active state shows the content */
        .asset-banner.active + .remote-content {
            max-height: none; /* large enough to fit full content */
            opacity: 1;
            visibility: visible;
            padding-top: 14px;
            padding-bottom: 14px;
        }

        /* Optional: constrain long content */
        .remote-content * {
            max-width: 100%;
            box-sizing: border-box;
            word-break: break-word;
        }

        .icon svg {
            width: 16px;
            height: 16px;
            vertical-align: middle;
        }