/* Gerador de Prompt para Gemini — style.css */

.gpg-wrapper {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 24px;
    max-width: 650px;
    margin: 30px auto;
    font-family: system-ui, -apple-system, sans-serif;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Header */
.gpg-header { text-align: center; margin-bottom: 25px; }
.gpg-icon   { font-size: 32px; margin-bottom: 5px; }
.gpg-header h2 {
    background: linear-gradient(90deg, #4285F4, #9B72CB, #D96570);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
}
.gpg-header p { color: #666; font-size: 14px; margin-top: 5px; }

/* Linhas do formulário */
.gpg-row { margin-bottom: 15px; }
.gpg-row label,
.gpg-col  label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #333;
    margin-bottom: 6px;
}

/* Inputs, selects e textareas */
.gpg-wrapper input,
.gpg-wrapper select,
.gpg-wrapper textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #f1f3f4;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    background: #f8f9fa;
    color: #222;
    transition: border-color 0.3s, background 0.3s;
}
.gpg-wrapper input:focus,
.gpg-wrapper select:focus,
.gpg-wrapper textarea:focus {
    border-color: #4285F4;
    background: #fff;
    outline: none;
}

/* Destaque idioma */
.gpg-highlight {
    background: #f0f4ff;
    padding: 15px;
    border-radius: 8px;
    border: 1px dashed #4285F4;
}

/* Linha dupla (tom + estrutura) */
.gpg-flex { display: flex; gap: 15px; }
.gpg-col  { flex: 1; }

/* Botão principal */
#gpg-btn-action {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1A73E8 0%, #8E24AA 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: opacity 0.3s, transform 0.3s;
}
#gpg-btn-action:hover    { opacity: 0.9; transform: translateY(-1px); }
#gpg-btn-action:disabled { cursor: not-allowed; opacity: 0.7; transform: none; background: #999; }

/* Caixa de resultado */
.gpg-result {
    margin-top: 25px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}
.gpg-result textarea {
    background: #222;
    color: #eee;
    border: 1px solid #444;
    font-family: monospace;
    height: 280px;
}

/* Botão copiar */
#gpg-btn-copy {
    margin-top: 10px;
    background: #fff;
    color: #1A73E8;
    border: 2px solid #1A73E8;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}
#gpg-btn-copy:hover { background: #f0f8ff; }

/* Responsivo */
@media (max-width: 480px) {
    .gpg-flex { flex-direction: column; gap: 0; }
}
