/* EchoGreetings Styles */
body {
    font-family: 'Inter', sans-serif;
}

/* Simple spinner for loading state */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3b82f6; /* Blue color */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

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

/* Add a subtle watermark to the generated image */
.watermark-container {
    position: relative;
    display: inline-block; /* Ensures the container fits the image */
}

.watermark-container::after {
    content: 'echogreeting.com';
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 3px 8px;
    font-size: 0.8rem;
    border-radius: 4px;
    pointer-events: none; /* Makes the watermark non-interactive */
    line-height: 1;
}

/* Ensure the result image fits its container */
#result .watermark-container, #result #cardImage {
    width: 100%;
    height: 100%;
}

#cardImage {
     object-fit: cover;
}

