/* Root variables for consistent theming - matching the Cadastro image */
:root {
    --primary-color: #f97316; /* Orange for button and accents */
    --background-color: #f9fafb; /* Very light gray background */
    --text-color: #374151; /* Dark gray text */
    --border-color: #d1d5db; /* Light gray border */
    --input-bg: #ffffff; /* White input background */
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    --header-bg: #ffffff; /* White header background */
}

/* General body styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header styles */
header {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    background-color: var(--header-bg);
    box-shadow: var(--shadow-light);
    text-align: center;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
}

header h1 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 10px 0;
}

/* Form section styles */
.form-section {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    background-color: var(--header-bg);
    box-shadow: var(--shadow-light);
    border-radius: 0 0 8px 8px;
    margin-top: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    background-color: var(--input-bg);
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* Password input with eye icon (simulated via placeholder styling) */
.form-group input[type="password"] {
    padding-right: 40px; /* Space for eye icon */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%2364748b" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="3"/><path d="M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}

.form-group input[type="password"]:focus {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23f97316" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="3"/><path d="M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z"/></svg>');
}

/* Button styles */
.botao.salvar-senha {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.botao.salvar-senha:hover {
    background-color: #f76707;
}

.botao.salvar-senha:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.3);
}

/* Responsive design */
@media (max-width: 480px) {
    header, .form-section {
        max-width: 100%;
        padding: 15px;
    }

    header h1 {
        font-size: 18px;
    }

    .form-group input {
        font-size: 14px;
    }

    .botao.salvar-senha {
        font-size: 14px;
    }
}