/* assets/css/cadastro.css */
:root {
    --pede-primary: #FF5722;
    --pede-bg: #f4f6f8;
    --text-dark: #333;
}

body {
    background-color: var(--pede-bg);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.signup-container {
    width: 100%;
    max-width: 450px;
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.signup-header {
    text-align: center;
    margin-bottom: 25px;
}

.signup-header h1 {
    color: var(--pede-primary);
    font-size: 1.8rem;
    margin: 0 0 5px 0;
}

.signup-header p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    outline: none;
    transition: border 0.2s;
}

.form-group input:focus {
    border-color: var(--pede-primary);
}

.btn-signup {
    width: 100%;
    padding: 16px;
    background-color: var(--pede-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: opacity 0.2s;
}

.btn-signup:active {
    transform: scale(0.98);
}

.btn-signup:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.signup-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

.signup-link {
    color: var(--pede-primary);
    font-weight: bold;
    text-decoration: none;
}

.msg-box {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 10px;
    min-height: 20px;
}

.msg-error {
    color: #d32f2f;
}

.msg-success {
    color: #388e3c;
}

/* Feedback visual de senha fraca/forte se quiser implementar futuramente */
.password-req {
    font-size: 0.75rem;
    color: #888;
    margin-top: 4px;
}

/* Pede Tudo - Controle de Interface de Usuário
   Este bloco remove a seleção de texto e comportamentos de toque nativos 
   para melhorar a experiência de "App" do marketplace.
*/

/* 1. Regra Global: Desabilita seleção em todo o corpo do projeto */
html,
body {
    /* Impede a seleção de texto */
    -webkit-user-select: none;
    /* Safari e navegadores baseados em Webkit */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Regra padrão */

    /* Impede que o menu de contexto (copiar/pesquisar) apareça em dispositivos móveis */
    -webkit-touch-callout: none;

    /* Remove o destaque cinza ao tocar em links no Android/iOS */
    -webkit-tap-highlight-color: transparent;
}

/* 2. Exceções: Permitir seleção apenas onde é estritamente necessário */
/* Precisamos que o usuário consiga digitar em inputs, textareas e preencher formulários */
input,
textarea,
[contenteditable="true"] {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* Opcional: Permitir que o usuário copie códigos de cupons ou chaves PIX */
.copyable-text {
    -webkit-user-select: all !important;
    -moz-user-select: all !important;
    -ms-user-select: all !important;
    user-select: all !important;
}

/* Impede o arraste de imagens (comum em navegadores desktop) */
img {
    -webkit-user-drag: none;
    user-drag: none;
}