/* Settings Page Specific Styles */

.settings-workspace {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

/* Form Elements */
.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* API Status Messages */
.api-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
}

.status-success { 
    background: var(--success); 
    color: var(--bg-primary); 
}

.status-error { 
    background: var(--error); 
    color: #fff; 
}

.status-info { 
    background: var(--info); 
    color: #fff; 
}

/* Storyboard Prompts */
.prompts-settings {
    /* Container styling handled by .card */
}

.prompts-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    font-size: 0.95rem;
}

.prompts-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.prompt-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.prompt-item:hover {
    border-color: var(--border-hover);
}

.prompt-number {
    background: var(--accent-primary);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
    margin-top: var(--space-xs);
}

.prompt-item textarea {
    flex: 1;
    resize: vertical;
    min-height: 60px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 1rem;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.prompt-item textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.prompts-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: flex-start;
}

/* App Info */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.info-item:hover {
    border-color: var(--border-hover);
}

.info-item label {
    font-weight: 500;
    color: var(--text-secondary);
}

.info-item span {
    color: var(--text-primary);
    font-weight: 500;
}

/* Danger Zone */
.danger-zone {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    margin-top: 2rem;
}

.danger-zone h3 {
    color: var(--error);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.danger-zone p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.danger-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .prompts-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .danger-actions {
        flex-direction: column;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .prompt-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .prompt-number {
        align-self: flex-start;
        margin-bottom: var(--space-sm);
    }
}