/* VitifyCode product dashboard — shared design (from the Policy Engine site).
   Reused by PAS Cloud; keep in sync if the house style evolves. */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
       background: #f5f7fa; color: #333; min-height: 100vh; }
header { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #fff;
         padding: 0.85rem 2rem; display: flex; justify-content: space-between; align-items: center;
         box-shadow: 0 2px 12px rgba(0,0,0,0.15); }
header h1 { font-size: 1.1rem; font-weight: 500; opacity: 0.9; }
#auth-btn { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.25);
            padding: 0.45rem 1.2rem; border-radius: 6px; cursor: pointer; font-size: 0.85rem; transition: all 0.2s; }
#auth-btn:hover { background: rgba(255,255,255,0.22); }
.container { max-width: 720px; margin: 2rem auto; padding: 0 1rem; }
.card { background: #fff; border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem;
        box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.04); }
.card h2 { font-size: 0.8rem; color: #999; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.token-display { display: flex; align-items: center; gap: 0.75rem; }
.token-display code { flex: 1; background: #f1f5f9; padding: 0.75rem; border-radius: 6px;
                      font-size: 0.95rem; word-break: break-all; border: 1px solid #e2e8f0; }
.btn { background: #4f46e5; color: #fff; border: none; padding: 0.6rem 1.4rem; border-radius: 8px;
       cursor: pointer; font-size: 0.85rem; font-weight: 500; transition: all 0.2s; }
.btn:hover { background: #4338ca; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(79,70,229,0.3); }
.btn:disabled { opacity: 0.6; cursor: default; transform: none; box-shadow: none; }
.btn-danger { background: #ef4444; }
.btn-danger:hover { background: #dc2626; box-shadow: 0 4px 12px rgba(239,68,68,0.3); }
.btn-large { padding: 0.75rem 2.5rem; font-size: 1rem; border-radius: 10px; }
.tier-badge { display: inline-block; background: #ede9fe; color: #6d28d9; padding: 0.3rem 0.85rem;
              border-radius: 20px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; }
.usage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.usage-stat { text-align: center; padding: 1.25rem 1rem; background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
              border-radius: 10px; border: 1px solid #e2e8f0; }
.usage-stat .number { font-size: 2rem; font-weight: 700; color: #1a1a2e; }
.usage-stat .label { font-size: 0.75rem; color: #94a3b8; margin-top: 0.3rem; text-transform: uppercase; letter-spacing: 0.04em; }
#login-prompt { text-align: center; padding: 3rem 1rem 2rem; }
.hero-logo { width: 80px; height: 80px; margin: 0 auto 2rem; background: linear-gradient(135deg, #1a1a2e 0%, #2d2b55 100%);
             border-radius: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(26,26,46,0.2); }
.hero-logo img { height: 48px; filter: brightness(10); }
#login-prompt h2 { font-size: 2rem; margin-bottom: 0.5rem; color: #1a1a2e; font-weight: 700; }
#login-prompt .subtitle { color: #94a3b8; font-size: 0.9rem; margin-bottom: 0.75rem; }
#login-prompt .description { color: #64748b; margin-bottom: 2rem; font-size: 1.05rem; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.feature { background: #fff; border-radius: 12px; padding: 1.5rem 1.25rem; text-align: center;
           box-shadow: 0 1px 3px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.04); }
.feature-icon { width: 44px; height: 44px; margin: 0 auto 0.75rem; border-radius: 10px;
                display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.feature h3 { font-size: 0.85rem; font-weight: 600; color: #1a1a2e; margin-bottom: 0.4rem; }
.feature p { font-size: 0.78rem; color: #94a3b8; line-height: 1.4; }
pre.code { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #e2e8f0;
           padding: 1.25rem; border-radius: 10px; overflow-x: auto; font-size: 0.82rem; line-height: 1.6; }
.hidden { display: none; }
#status { color: #64748b; font-size: 0.85rem; margin-top: 0.75rem; }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } #login-prompt h2 { font-size: 1.5rem; } }
