/* Container Geral */
.config-container {
    padding: 30px;
    background: #0b0f19;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    color: #f1f5f9;
}

/* Cabeçalho */
.config-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.config-header h1 {
    font-size: 1.85rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.config-header p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 4px 0 0 0;
}

/* Botão Salvar (Roxo do Padrão Visual) */
.btn-save-config {
    background: #8b5cf6;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.btn-save-config:hover {
    background: #7c3aed;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

/* Blocos de Configuração (Glassmorphism) */
.config-card-block {
    background: rgba(30, 41, 59, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.card-block-header h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.card-block-header p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 4px 0 24px 0;
}

/* Estrutura de Formulários */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 2px;
}

.field-desc {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 8px;
}

/* Inputs de Texto Modernos */
.input-text, .select-custom, .textarea-custom {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px 14px;
    color: #f1f5f9;
    font-size: 0.9rem;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

.input-text:focus, .select-custom:focus, .textarea-custom:focus {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.15);
}

/* Container de Input com Botão Ocultar/Exibir */
.input-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-password-wrapper .input-text {
    padding-right: 46px;
}

.btn-toggle-view {
    position: absolute;
    right: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.btn-toggle-view:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.btn-toggle-view i {
    width: 15px;
    height: 15px;
}

/* Seletor Customizado */
.select-custom-wrapper {
    position: relative;
    width: 100%;
}

.select-custom {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 40px;
}

/* Badge de Informação do Modelo Atual */
.current-badge-info {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 6px;
}

.current-badge-info strong {
    color: #94a3b8;
    font-weight: 500;
}

/* Textarea do Prompt */
.textarea-custom {
    resize: vertical;
    line-height: 1.6;
    font-family: inherit;
    background: rgba(15, 23, 42, 0.4);
}