.ai-prompt-widget {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 0px;
}

.ai-prompt-card {
    background: #ffffff;
    padding: 24px;
    text-align: left;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.ai-prompt-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.ai-prompt-card-label {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #111;
}

.ai-prompt-word-count {
    font-size: 13px;
    color: #888888;
    font-weight: 400;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    letter-spacing: -0.5px;
}

.ai-prompt-word-count span#aiPromptWordCount {
    color: #555555;
    font-weight: 600;
}

.ai-prompt-green-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}

.ai-prompt-instructions-box {
    background: #f7f7f7;
    border-radius: 8px;
    padding: 20px;
    min-height: 180px;
}

.ai-prompt-instructions-box p,
.ai-prompt-instructions-box {
    font-size: 16px;
    line-height: 26px;
}

.ai-prompt-instructions-box p {
    margin-bottom: 18px;
}

.ai-prompt-instructions-box p:last-of-type {
    margin-bottom: 0;
}

.ai-prompt-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background-color: #333333;
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: ai-prompt-blink 1s infinite;
}

@keyframes ai-prompt-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@media (max-width: 992px) {
    .ai-prompt-card-header { flex-direction: column; }

    .ai-prompt-instructions-box p,
    .ai-prompt-instructions-box {
        font-size: 14px;
        line-height: 22px;
    }
}