
body {
    background-color: var(--light-green);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 2rem 1rem;
}

.type-selector {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid var(--border-color);
}

.type-option {
    flex: 1;
    text-align: center;
    padding: 14px;
    cursor: pointer;
    font-weight: 600;
    background: var(--white);
    color: var(--text-light);
    transition: all 0.2s ease-in-out;
}

.type-option h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.type-option p {
    font-size: 0.8rem;
    line-height: 1.3;
}

.type-option.selected {
    background-color: var(--primary-green);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(46, 148, 163, 0.2);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

#campos-trabalhador,
#checkbox-trabalhador {
    display: none; /* Começam escondidos */
}

#checkbox-trabalhador {
    margin-top: 10px;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: var(--text-light);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 5px;
    transition: background-color 0.2s;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-green);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

        :root {
            --primary-green: #2e94a3;
            --light-green: #e8f4f6;
            --accent-green: #4cc2d4;
            --white: #ffffff;
            --text-dark: #333333;
            --text-light: #666666;
            --border-color: #ddd;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', system-ui, sans-serif; }

        body {
            background-color: var(--light-green);
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            padding: 20px;
        }

        .auth-card {
            background: var(--white);
            width: 100%;
            max-width: 500px;
            padding: 2rem;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        }

        .header { text-align: center; margin-bottom: 1.5rem; }
        .logo { color: var(--primary-green); font-size: 28px; font-weight: bold; margin-bottom: 5px; display: block; text-decoration: none; font-family: fantasy; }
        
        h2 { color: var(--text-dark); font-size: 1.5rem; margin-bottom: 5px; }
        p { color: var(--text-light); font-size: 0.9rem; }

        .type-selector {
            display: flex;
            gap: 10px;
            margin: 20px 0;
            width: 100%;
        }

        .type-option {
            flex: 1;
            padding: 12px;
            border: 2px solid #eee;
            border-radius: 12px;
            text-align: center;
            cursor: pointer;
            font-weight: 600;
            transition: 0.3s;
            color: var(--text-light);
            white-space: nowrap;
        }

        .type-option.active {
            border-color: var(--primary-green);
            background-color: var(--light-green);
            color: var(--primary-green);
        }

        .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
        .full-width { grid-column: span 2; }
        .form-group { margin-bottom: 15px; }

        label { display: block; margin-bottom: 6px; font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }

        input, select, textarea {
            width: 100%;
            padding: 12px;
            border: 1.5px solid var(--border-color);
            border-radius: 10px;
            outline: none;
            font-size: 14px;
            transition: 0.3s;
        }

        /* Estilização para inputs de arquivo */
        input[type="file"] {
            padding: 8px;
            background: #f9f9f9;
            cursor: pointer;
            font-size: 12px;
        }

        input[type="file"]::file-selector-button {
            background: var(--primary-green);
            color: white;
            border: none;
            padding: 6px 12px;
            border-radius: 6px;
            margin-right: 10px;
            cursor: pointer;
            transition: 0.3s;
        }

        input[type="file"]::file-selector-button:hover {
            background: var(--accent-green);
        }

        input:focus, select:focus, textarea:focus { 
            border-color: var(--primary-green);
            box-shadow: 0 0 0 3px rgba(0, 128, 96, 0.1);
        }

        textarea { resize: none; height: 90px; }

        small, .helper-text { 
            display: block; 
            margin-top: 5px; 
            font-size: 0.75rem; 
            color: var(--text-light); 
        }

        .btn-submit {
            width: 100%;
            padding: 16px;
            background: var(--primary-green);
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: bold;
            cursor: pointer;
            margin-top: 15px;
            transition: 0.3s;
        }

        .btn-submit:hover { background: var(--accent-green); transform: translateY(-2px); }

        .footer { text-align: center; margin-top: 20px; font-size: 0.85rem; color: var(--text-light); }
        .footer a { color: var(--primary-green); text-decoration: none; font-weight: bold; }

        #campos-ajudante {
            transition: all 0.4s ease;
            border-top: 1px solid #eee;
            padding-top: 15px;
            margin-top: 10px;
        }