/* Custom styles for the Story Idea Generator */

.prompt-display {
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    min-height: 120px; /* Ensure container doesn't collapse */
}

.prompt-display.generating {
    opacity: 0;
    transform: translateY(10px);
}

#generate-button {
    background-color: #ec4899;
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: scale(1);
    transition: all 0.3s ease-in-out;
}

#generate-button:hover {
    background-color: #db2777;
    transform: scale(1.05);
}

#prompt-display {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #ebf8ff;
    border: 2px dashed #bee3f8;
    border-radius: 0.75rem;
}

#prompt-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c5282;
}

#cta-section.hidden {
    display: none;
}

.share-tool {
    background: var(--primary-navy);
    padding: 2rem;
    text-align: center;
    border-radius: 1rem;
    margin-top: 2rem;
}

.share-tool h2 {
    color: white;
}

.share-tool p {
    color: rgba(255, 255, 255, 0.9);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    color: #fff;
    transition: transform 0.3s ease-in-out;
}

.share-btn:hover {
    transform: scale(1.05);
}

.share-btn.facebook {
    background-color: #1877f2;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.pinterest {
    background-color: #e60023;
}