/* frontend/public/css/index.css */
body { font-family: 'Inter', sans-serif; background-color: #0f172a; color: white; overflow-x: hidden; }

#tooltip {
    position: absolute; background: rgba(255, 255, 255, 0.95); color: #333;
    padding: 8px 12px; border-radius: 6px; pointer-events: none; font-size: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); display: none; z-index: 50;
    border-left: 4px solid #8e44ad; max-width: 250px;
}

#canvas-container {
    width: 100%; height: 60vh; display: flex; justify-content: center; align-items: flex-end;
}

/* The Share Card Styling */
#share-card-template {
    width: 500px; height: 500px;
    background: linear-gradient(135deg, #0f172a 0%, #2e1065 100%);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    padding: 40px; text-align: center; border: 4px solid #a855f7;
    position: fixed; top: -9999px; left: -9999px; 
    color: white; font-family: 'serif';
}

/* Override Tailwind gradient just for the text inside the card */
#share-card-text {
    font-size: 2.25rem; /* ~text-4xl */
    line-height: 1.375; /* ~leading-snug */
    font-weight: 700;   /* ~font-bold */
    /* Remove the gradient and clip properties that break html2canvas */
    background: none !important; 
    -webkit-background-clip: border-box !important;
    -webkit-text-fill-color: currentcolor !important;
    /* Use a solid, premium color instead */
    color: #e9d5ff !important; /* Tailwind's purple-200 */
    margin-bottom: 2rem;
}