.vb-ai-container {
    max-width: 700px;
    margin: 30px auto;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid #e1e5e9;
}

.vb-ai-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f4f8;
}

.vb-ai-header h2 {
    margin: 0 0 10px 0;
    font-size: 2.2em;
    color: #2d3748;
    font-weight: 700;
}

.vb-ai-header p {
    margin: 0 0 15px 0;
    color: #718096;
    font-size: 1.1em;
}

.vb-ai-status {
    display: inline-block;
    background: #48bb78;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

.vb-ai-form {
    margin-bottom: 25px;
}

.vb-ai-input {
    margin-bottom: 20px;
}

.vb-ai-input label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
    font-size: 1.1em;
}

#vb-ai-prompt {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    resize: vertical;
    min-height: 100px;
    transition: all 0.3s ease;
    font-family: inherit;
}

#vb-ai-prompt:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.vb-ai-char-count {
    text-align: right;
    font-size: 14px;
    color: #718096;
    margin-top: 8px;
}

.vb-ai-style-options {
    margin: 25px 0;
}

.vb-ai-style-options label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2d3748;
}

#vb-ai-style {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    background: white;
    transition: border-color 0.3s ease;
}

#vb-ai-style:focus {
    outline: none;
    border-color: #667eea;
}

.vb-ai-actions {
    margin-top: 30px;
}

.vb-ai-generate-btn {
    width: 100%;
    padding: 18px 25px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vb-ai-generate-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.3);
}

.vb-ai-generate-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.vb-ai-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vb-ai-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.vb-ai-results {
    background: #f8fafc;
    padding: 25px;
    border-radius: 15px;
    margin-top: 25px;
    border: 2px solid #e2e8f0;
}

.vb-ai-results h3 {
    margin: 0 0 20px 0;
    color: #2d3748;
    text-align: center;
    font-size: 1.5em;
}

.vb-ai-image-container {
    text-align: center;
    margin-bottom: 20px;
}

#vb-ai-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 3px solid white;
}

.vb-ai-image-info {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    border-left: 4px solid #667eea;
}

.vb-ai-image-info p {
    margin: 0;
    color: #4a5568;
}

.vb-ai-image-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.vb-ai-download-btn,
.vb-ai-new-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vb-ai-download-btn {
    background: #48bb78;
    color: white;
}

.vb-ai-download-btn:hover {
    background: #38a169;
    transform: translateY(-1px);
}

.vb-ai-new-btn {
    background: #ed8936;
    color: white;
}

.vb-ai-new-btn:hover {
    background: #dd6b20;
    transform: translateY(-1px);
}

.vb-ai-message {
    background: #e6fffa;
    color: #234e52;
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
    border-left: 4px solid #38b2ac;
}

.vb-ai-error {
    background: #fed7d7;
    color: #c53030;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    border-left: 4px solid #f56565;
}

.vb-ai-examples {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #f0f4f8;
}

.vb-ai-examples h4 {
    margin: 0 0 15px 0;
    color: #2d3748;
    text-align: center;
}

.vb-ai-example-chips {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.vb-ai-example-chip {
    background: #edf2f7;
    color: #4a5568;
    padding: 10px 18px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 14px;
}

.vb-ai-example-chip:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .vb-ai-container {
        margin: 15px;
        padding: 20px;
    }
    
    .vb-ai-header h2 {
        font-size: 1.8em;
    }
    
    .vb-ai-image-actions {
        flex-direction: column;
    }
    
    .vb-ai-example-chips {
        flex-direction: column;
        align-items: center;
    }
}